mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 12:30:03 +00:00
Make dart2js only run with 64 bit ints, not the larger ints from the vm.
Change-Id: I03887a0af963f1a8f68acff0428635fc130687f5 Reviewed-on: https://dart-review.googlesource.com/57041 Commit-Queue: Emily Fortuna <efortuna@google.com> Reviewed-by: Stephen Adams <sra@google.com>
This commit is contained in:
parent
3b6caa3517
commit
e7bad54986
|
@ -41,7 +41,6 @@ case $0 in
|
|||
EXTRA_VM_OPTIONS+=('--checked')
|
||||
;;
|
||||
esac
|
||||
EXTRA_VM_OPTIONS+=('--no_limit_ints_to_64_bits')
|
||||
|
||||
# We allow extra vm options to be passed in through an environment variable.
|
||||
if [[ $DART_VM_OPTIONS ]]; then
|
||||
|
|
|
@ -20,7 +20,7 @@ IF %SDK_DIR:~-1%==\ set SDK_DIR=%SDK_DIR:~0,-1%
|
|||
set DART=%BIN_DIR%\dart
|
||||
|
||||
set EXTRA_OPTIONS=
|
||||
set EXTRA_VM_OPTIONS=--no_limit_ints_to_64_bits
|
||||
set EXTRA_VM_OPTIONS=
|
||||
|
||||
if _%DART2JS_DEVELOPER_MODE%_ == _1_ (
|
||||
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% --checked
|
||||
|
|
|
@ -48,7 +48,6 @@ case $0 in
|
|||
EXTRA_VM_OPTIONS+=('--checked')
|
||||
;;
|
||||
esac
|
||||
EXTRA_VM_OPTIONS+=('--no_limit_ints_to_64_bits')
|
||||
|
||||
# We allow extra vm options to be passed in through an environment variable.
|
||||
if [[ $DART_VM_OPTIONS ]]; then
|
||||
|
|
|
@ -21,7 +21,7 @@ set DART=%BIN_DIR%\dart
|
|||
set SNAPSHOT=%BIN_DIR%\snapshots\dart2js.dart.snapshot
|
||||
|
||||
set EXTRA_OPTIONS=
|
||||
set EXTRA_VM_OPTIONS=--no_limit_ints_to_64_bits
|
||||
set EXTRA_VM_OPTIONS=
|
||||
|
||||
if _%DART2JS_DEVELOPER_MODE%_ == _1_ (
|
||||
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% --checked
|
||||
|
|
|
@ -7001,9 +7001,12 @@ Language/Expressions/Assignment/no_such_method_t08: RuntimeError
|
|||
Language/Expressions/Assignment/no_such_method_t09: RuntimeError
|
||||
Language/Expressions/Constants/bitwise_operators_t05: MissingCompileTimeError
|
||||
Language/Expressions/Constants/depending_on_itself_t03: Crash
|
||||
Language/Expressions/Constants/exception_t01: MissingCompileTimeError
|
||||
Language/Expressions/Constants/exception_t02: MissingCompileTimeError
|
||||
Language/Expressions/Constants/exception_t01: MissingCompileTimeError # Larger than 64 bit int
|
||||
Language/Expressions/Constants/exception_t02: Pass
|
||||
Language/Expressions/Constants/literal_number_t01: CompileTimeError # Larger than 64 bit int
|
||||
Language/Expressions/Constants/logical_expression_t04: MissingCompileTimeError
|
||||
Language/Expressions/Constants/math_operators_t01: CompileTimeError # Larger than 64 bit int
|
||||
Language/Expressions/Constants/math_operators_t06: CompileTimeError # Larger than 64 bit int
|
||||
Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t04: Crash
|
||||
Language/Expressions/Instance_Creation/Const/exception_t01: MissingCompileTimeError
|
||||
Language/Expressions/Method_Invocation/Ordinary_Invocation/evaluation_t08: RuntimeError
|
||||
|
@ -7011,6 +7014,8 @@ Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_memb
|
|||
Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t05: RuntimeError
|
||||
Language/Expressions/Method_Invocation/Super_Invocation/invocation_t02: Crash
|
||||
Language/Expressions/Null/instance_of_class_null_t01: RuntimeError
|
||||
Language/Expressions/Numbers/static_type_of_int_t01: CompileTimeError # Larger than 64 bit int
|
||||
Language/Expressions/Numbers/syntax_t10: CompileTimeError # Larger than 64 bit int
|
||||
Language/Expressions/This/placement_t04: Crash
|
||||
Language/Functions/External_Functions/not_connected_to_a_body_t01: RuntimeError
|
||||
Language/Functions/Formal_Parameters/Optional_Formals/default_value_t01: MissingCompileTimeError
|
||||
|
@ -7047,6 +7052,30 @@ Language/Types/Type_Void/syntax_t09: MissingCompileTimeError
|
|||
LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-color_t01: Pass, RuntimeError
|
||||
LayoutTests/fast/canvas/rgba-parsing_t01: Pass, RuntimeError
|
||||
LibTest/core/Invocation/namedArguments_A01_t01: RuntimeError
|
||||
LibTest/core/double/isInfinite_A01_t03: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/abs_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/ceilToDouble_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/ceil_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/floorToDouble_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/floor_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/isInfinite_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/isNaN_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/isNegative_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_GE_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_LE_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_division_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_multiplication_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_remainder_A01_t02: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_subtraction_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_truncating_division_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/operator_unary_minus_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/parse_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/remainder_A01_t02: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/roundToDouble_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/round_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/toInt_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/truncateToDouble_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/core/int/truncate_A01_t01: CompileTimeError # Larger than 64 bit int
|
||||
LibTest/html/Document/dispatchEvent_A01_t01: Crash
|
||||
LibTest/html/Document/on_A01_t01: Crash
|
||||
LibTest/html/Document/on_A01_t02: Crash
|
||||
|
@ -7076,6 +7105,7 @@ LibTest/html/Window/postMessage_A01_t02: Crash
|
|||
LibTest/html/Window/requestFileSystem_A01_t01: Crash
|
||||
LibTest/html/Window/requestFileSystem_A01_t02: Crash
|
||||
LibTest/html/Window/requestFileSystem_A02_t01: Crash
|
||||
LibTest/math/pow_A10_t01: CompileTimeError # Larger than 64 bit int
|
||||
WebPlatformTest/html/semantics/embedded-content/the-audio-element/audio_constructor_t01: RuntimeError
|
||||
|
||||
[ $compiler == dart2js && $fasta && $host_checked ]
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
// VMOptions= --no_limit_ints_to_64_bits
|
||||
import 'package:expect/expect.dart';
|
||||
import 'package:compiler/src/js/js.dart' as jsAst;
|
||||
import 'package:compiler/src/js/js.dart' show js;
|
||||
|
@ -107,7 +106,7 @@ void main() {
|
|||
// Good hex constants.
|
||||
testExpression('var x = 0xff');
|
||||
testExpression('var x = 0xff + 0xff');
|
||||
testExpression('var x = 0xaF + 0x0123456789abcdefABCDEF');
|
||||
testExpression('var x = 0xaF + 0x0123456789abcdefA');
|
||||
// All sorts of keywords are allowed as property names in ES5.
|
||||
testExpression('x.new = 0');
|
||||
testExpression('x.delete = 0');
|
||||
|
|
|
@ -128,7 +128,9 @@ mirror_enqueuer_regression_test: Pass
|
|||
closure_capture2_test: RuntimeError
|
||||
closure_type_reflection2_test: RuntimeError
|
||||
closure_type_reflection_test: RuntimeError
|
||||
constant_javascript_semantics_test/01: MissingCompileTimeError
|
||||
constant_javascript_semantics_test/03: CompileTimeError
|
||||
constant_javascript_semantics_test/04: CompileTimeError
|
||||
constant_javascript_semantics_test/none: CompileTimeError
|
||||
deferred/deferred_mirrors1_test: SkipByDesign
|
||||
deferred/deferred_mirrors2_test: RuntimeError
|
||||
deferred/reflect_multiple_annotations_test: RuntimeError
|
||||
|
@ -164,6 +166,7 @@ private_symbol_literal_test/05: MissingCompileTimeError
|
|||
private_symbol_literal_test/06: MissingCompileTimeError
|
||||
reflect_native_types_test: RuntimeError
|
||||
regress/4562_test/none: CompileTimeError
|
||||
round_constant_folding_test: CompileTimeError
|
||||
type_constant_switch_test/01: MissingCompileTimeError
|
||||
|
||||
[ $compiler == dart2js && $fasta && $minified ]
|
||||
|
|
|
@ -109,6 +109,25 @@ core_runtime_types_test: Pass, Fail # Issue 27913
|
|||
package_resource_test: RuntimeError # Issue 26842
|
||||
|
||||
[ $compiler == dart2js && $checked && $fasta ]
|
||||
big_integer_arith_vm_test/add: CompileTimeError
|
||||
big_integer_arith_vm_test/div: CompileTimeError
|
||||
big_integer_arith_vm_test/gcd: CompileTimeError
|
||||
big_integer_arith_vm_test/mod: CompileTimeError
|
||||
big_integer_arith_vm_test/modInv: CompileTimeError
|
||||
big_integer_arith_vm_test/modPow: CompileTimeError
|
||||
big_integer_arith_vm_test/mul: CompileTimeError
|
||||
big_integer_arith_vm_test/negate: CompileTimeError
|
||||
big_integer_arith_vm_test/none: CompileTimeError
|
||||
big_integer_arith_vm_test/overflow: CompileTimeError
|
||||
big_integer_arith_vm_test/shift: CompileTimeError
|
||||
big_integer_arith_vm_test/sub: CompileTimeError
|
||||
big_integer_arith_vm_test/trunDiv: CompileTimeError
|
||||
bit_twiddling_bigint_test: CompileTimeError
|
||||
bit_twiddling_test: CompileTimeError
|
||||
double_ceil_test: CompileTimeError
|
||||
double_floor_test: CompileTimeError
|
||||
double_round_test: CompileTimeError
|
||||
double_truncate_test: CompileTimeError
|
||||
from_environment_const_type_test/02: MissingCompileTimeError
|
||||
from_environment_const_type_test/03: MissingCompileTimeError
|
||||
from_environment_const_type_test/04: MissingCompileTimeError
|
||||
|
@ -127,60 +146,166 @@ from_environment_const_type_undefined_test/04: MissingCompileTimeError
|
|||
from_environment_const_type_undefined_test/06: MissingCompileTimeError
|
||||
from_environment_const_type_undefined_test/07: MissingCompileTimeError
|
||||
from_environment_const_type_undefined_test/08: MissingCompileTimeError
|
||||
int_ceil_test: CompileTimeError
|
||||
int_ceil_to_double_test: CompileTimeError
|
||||
int_floor_test: CompileTimeError
|
||||
int_floor_to_double_test: CompileTimeError
|
||||
int_from_environment_test: CompileTimeError
|
||||
int_modulo_arith_test/bignum: CompileTimeError
|
||||
int_modulo_arith_test/modPow: CompileTimeError
|
||||
int_modulo_arith_test/none: CompileTimeError
|
||||
int_parse_radix_test/02: CompileTimeError
|
||||
int_round_test: CompileTimeError
|
||||
int_round_to_double_test: CompileTimeError
|
||||
int_to_int_test: CompileTimeError
|
||||
int_truncate_test: CompileTimeError
|
||||
int_truncate_to_double_test: CompileTimeError
|
||||
integer_to_radix_string_test: CompileTimeError
|
||||
integer_to_string_test/01: CompileTimeError
|
||||
num_parse_test/01: CompileTimeError
|
||||
num_parse_test/none: CompileTimeError
|
||||
num_sign_test: CompileTimeError
|
||||
regress_r21715_test: CompileTimeError
|
||||
|
||||
[ $compiler == dart2js && $fast_startup ]
|
||||
apply3_test: Fail # mirrors not supported
|
||||
|
||||
[ $compiler == dart2js && $fasta ]
|
||||
apply3_test: RuntimeError # mirrors not supported
|
||||
big_integer_arith_vm_test/add: RuntimeError
|
||||
big_integer_arith_vm_test/div: RuntimeError
|
||||
big_integer_arith_vm_test/gcd: RuntimeError
|
||||
big_integer_arith_vm_test/mod: RuntimeError
|
||||
big_integer_arith_vm_test/modInv: RuntimeError
|
||||
big_integer_arith_vm_test/modPow: RuntimeError
|
||||
big_integer_arith_vm_test/mul: RuntimeError
|
||||
big_integer_arith_vm_test/negate: RuntimeError
|
||||
big_integer_arith_vm_test/none: RuntimeError
|
||||
big_integer_arith_vm_test/overflow: RuntimeError
|
||||
big_integer_arith_vm_test/shift: RuntimeError
|
||||
big_integer_arith_vm_test/sub: RuntimeError
|
||||
big_integer_arith_vm_test/trunDiv: RuntimeError
|
||||
big_integer_arith_vm_test/add: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/div: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/gcd: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/mod: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/modInv: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/modPow: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/mul: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/negate: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/none: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/overflow: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/shift: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/sub: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_arith_vm_test/trunDiv: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
big_integer_parsed_arith_vm_test: RuntimeError
|
||||
big_integer_parsed_div_rem_vm_test: RuntimeError
|
||||
big_integer_parsed_mul_div_vm_test: RuntimeError
|
||||
bit_twiddling_bigint_test: RuntimeError
|
||||
bit_twiddling_bigint_test: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
bit_twiddling_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
compare_to2_test: RuntimeError
|
||||
double_ceil_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
double_floor_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
double_ceil_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
double_floor_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
double_parse_test/01: RuntimeError
|
||||
double_round_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
double_truncate_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
double_round_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
double_truncate_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
hash_set_test/01: RuntimeError
|
||||
int_ceil_to_double_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
int_floor_to_double_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
int_from_environment_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
int_modulo_arith_test/bignum: RuntimeError
|
||||
int_modulo_arith_test/modPow: RuntimeError
|
||||
int_ceil_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_ceil_to_double_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_floor_test: CompileTimeError #Large integer literal. Not representable in JS.
|
||||
int_floor_to_double_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_from_environment_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_modulo_arith_test/bignum: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_modulo_arith_test/modPow: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_modulo_arith_test/none: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_parse_radix_test/01: RuntimeError
|
||||
int_parse_radix_test/02: RuntimeError
|
||||
int_round_to_double_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
int_truncate_to_double_test: RuntimeError # Large integer literal. Not representable in JS.
|
||||
integer_to_radix_string_test: RuntimeError
|
||||
integer_to_string_test/01: RuntimeError
|
||||
int_parse_radix_test/02: CompileTimeError
|
||||
int_round_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_round_to_double_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_to_int_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_truncate_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
int_truncate_to_double_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
integer_to_radix_string_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
integer_to_string_test/01: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
iterable_return_type_test/02: RuntimeError
|
||||
nan_infinity_test/01: RuntimeError
|
||||
num_parse_test/01: RuntimeError # Large integer literal. Not representable in JS.
|
||||
num_parse_test/none: RuntimeError # Large integer literal. Not representable in JS.
|
||||
regress_r21715_test: RuntimeError
|
||||
num_parse_test/01: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
num_parse_test/none: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
num_sign_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
regress_r21715_test: CompileTimeError # Large integer literal. Not representable in JS.
|
||||
string_base_vm_test: RuntimeError
|
||||
symbol_reserved_word_test/03: RuntimeError
|
||||
|
||||
[ $compiler == dart2js && $fasta && $host_checked ]
|
||||
apply3_test: RuntimeError
|
||||
big_integer_arith_vm_test/add: CompileTimeError
|
||||
big_integer_arith_vm_test/div: CompileTimeError
|
||||
big_integer_arith_vm_test/gcd: CompileTimeError
|
||||
big_integer_arith_vm_test/mod: CompileTimeError
|
||||
big_integer_arith_vm_test/modInv: CompileTimeError
|
||||
big_integer_arith_vm_test/modPow: CompileTimeError
|
||||
big_integer_arith_vm_test/mul: CompileTimeError
|
||||
big_integer_arith_vm_test/negate: CompileTimeError
|
||||
big_integer_arith_vm_test/none: CompileTimeError
|
||||
big_integer_arith_vm_test/overflow: CompileTimeError
|
||||
big_integer_arith_vm_test/shift: CompileTimeError
|
||||
big_integer_arith_vm_test/sub: CompileTimeError
|
||||
big_integer_arith_vm_test/trunDiv: CompileTimeError
|
||||
bit_twiddling_bigint_test: CompileTimeError
|
||||
bit_twiddling_test: CompileTimeError
|
||||
double_ceil_test: CompileTimeError
|
||||
double_floor_test: CompileTimeError
|
||||
double_round_test: CompileTimeError
|
||||
double_truncate_test: CompileTimeError
|
||||
int_ceil_test: CompileTimeError
|
||||
int_ceil_to_double_test: CompileTimeError
|
||||
int_floor_test: CompileTimeError
|
||||
int_floor_to_double_test: CompileTimeError
|
||||
int_from_environment_test: CompileTimeError
|
||||
int_modulo_arith_test/bignum: CompileTimeError
|
||||
int_modulo_arith_test/modPow: CompileTimeError
|
||||
int_modulo_arith_test/none: CompileTimeError
|
||||
int_parse_radix_test/02: CompileTimeError
|
||||
int_round_test: CompileTimeError
|
||||
int_round_to_double_test: CompileTimeError
|
||||
int_to_int_test: CompileTimeError
|
||||
int_truncate_test: CompileTimeError
|
||||
int_truncate_to_double_test: CompileTimeError
|
||||
integer_to_radix_string_test: CompileTimeError
|
||||
integer_to_string_test/01: CompileTimeError
|
||||
num_parse_test/01: CompileTimeError
|
||||
num_parse_test/none: CompileTimeError
|
||||
num_sign_test: CompileTimeError
|
||||
regress_r21715_test: CompileTimeError
|
||||
|
||||
[ $compiler == dart2js && $fasta && $minified ]
|
||||
apply3_test: RuntimeError
|
||||
big_integer_arith_vm_test/add: CompileTimeError
|
||||
big_integer_arith_vm_test/div: CompileTimeError
|
||||
big_integer_arith_vm_test/gcd: CompileTimeError
|
||||
big_integer_arith_vm_test/mod: CompileTimeError
|
||||
big_integer_arith_vm_test/modInv: CompileTimeError
|
||||
big_integer_arith_vm_test/modPow: CompileTimeError
|
||||
big_integer_arith_vm_test/mul: CompileTimeError
|
||||
big_integer_arith_vm_test/negate: CompileTimeError
|
||||
big_integer_arith_vm_test/none: CompileTimeError
|
||||
big_integer_arith_vm_test/overflow: CompileTimeError
|
||||
big_integer_arith_vm_test/shift: CompileTimeError
|
||||
big_integer_arith_vm_test/sub: CompileTimeError
|
||||
big_integer_arith_vm_test/trunDiv: CompileTimeError
|
||||
bit_twiddling_bigint_test: CompileTimeError
|
||||
bit_twiddling_test: CompileTimeError
|
||||
double_ceil_test: CompileTimeError
|
||||
double_floor_test: CompileTimeError
|
||||
double_round_test: CompileTimeError
|
||||
double_truncate_test: CompileTimeError
|
||||
int_ceil_test: CompileTimeError
|
||||
int_ceil_to_double_test: CompileTimeError
|
||||
int_floor_test: CompileTimeError
|
||||
int_floor_to_double_test: CompileTimeError
|
||||
int_from_environment_test: CompileTimeError
|
||||
int_modulo_arith_test/bignum: CompileTimeError
|
||||
int_modulo_arith_test/modPow: CompileTimeError
|
||||
int_modulo_arith_test/none: CompileTimeError
|
||||
int_parse_radix_test/02: CompileTimeError
|
||||
int_round_test: CompileTimeError
|
||||
int_round_to_double_test: CompileTimeError
|
||||
int_to_int_test: CompileTimeError
|
||||
int_truncate_test: CompileTimeError
|
||||
int_truncate_to_double_test: CompileTimeError
|
||||
integer_to_radix_string_test: CompileTimeError
|
||||
integer_to_string_test/01: CompileTimeError
|
||||
num_parse_test/01: CompileTimeError
|
||||
num_parse_test/none: CompileTimeError
|
||||
num_sign_test: CompileTimeError
|
||||
regress_r21715_test: CompileTimeError
|
||||
symbol_operator_test/03: RuntimeError # Issue 27394
|
||||
symbol_operator_test/none: RuntimeError
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ library_env_test/has_no_io_support: RuntimeError, OK # dart2js supports io when
|
|||
config_import_corelib_test: RuntimeError, OK # all dart:* are supported when using '--categories=all'.
|
||||
|
||||
[ $compiler == dart2js && $checked && $fasta ]
|
||||
arithmetic_test: CompileTimeError
|
||||
assertion_initializer_const_function_test/01: RuntimeError
|
||||
assertion_initializer_test: RuntimeError
|
||||
assign_static_type_test/01: Fail
|
||||
|
@ -137,6 +138,7 @@ deferred_constraints_constants_test/reference_after_load: Crash # Unsupported op
|
|||
deferred_constraints_type_annotation_test/type_annotation1: Fail # Missing dynamic type error
|
||||
deferred_constraints_type_annotation_test/type_annotation_generic1: Fail # Missing dynamic type error
|
||||
deferred_constraints_type_annotation_test/type_annotation_generic4: Fail # Missing dynamic type error
|
||||
deopt_inlined_function_lazy_test: CompileTimeError
|
||||
factory_redirection_test/08: Fail
|
||||
factory_redirection_test/09: Fail
|
||||
factory_redirection_test/10: Fail
|
||||
|
@ -146,6 +148,8 @@ factory_redirection_test/14: Fail
|
|||
generalized_void_syntax_test: RuntimeError
|
||||
generic_functions_test: RuntimeError
|
||||
generic_methods_test: RuntimeError
|
||||
guess_cid_test: CompileTimeError
|
||||
int2_test: CompileTimeError
|
||||
internal_library_test/02: Crash # NoSuchMethodError: Class 'DillLibraryBuilder' has no instance getter 'mixinApplicationClasses'.
|
||||
list_literal1_test/01: MissingCompileTimeError
|
||||
malbounded_instantiation_test/01: RuntimeError # Issue 12702
|
||||
|
@ -160,6 +164,8 @@ malbounded_type_test_test/04: Fail # Issue 14121
|
|||
malformed2_test/00: RuntimeError
|
||||
malformed2_test/01: MissingCompileTimeError
|
||||
map_literal1_test/01: MissingCompileTimeError
|
||||
mint_compares_test: CompileTimeError
|
||||
number_identity_test: CompileTimeError
|
||||
redirecting_factory_infinite_steps_test/01: Fail
|
||||
redirecting_factory_malbounded_test/01: Fail
|
||||
regress_26133_test: RuntimeError # Issue 26429
|
||||
|
@ -280,6 +286,7 @@ super_getter_setter_test: Fail # mirrors not supported
|
|||
vm/reflect_core_vm_test: Fail # mirrors not supported
|
||||
|
||||
[ $compiler == dart2js && $fasta ]
|
||||
arithmetic_test: CompileTimeError # Int larger than 64 bits
|
||||
async_star_cancel_while_paused_test: RuntimeError
|
||||
bad_override_test/03: MissingCompileTimeError
|
||||
bad_override_test/04: MissingCompileTimeError
|
||||
|
@ -327,6 +334,7 @@ deferred_inheritance_constraints_test/mixin: MissingCompileTimeError
|
|||
deferred_load_library_wrong_args_test/01: MissingRuntimeError
|
||||
deferred_not_loaded_check_test: RuntimeError
|
||||
deferred_redirecting_factory_test: RuntimeError
|
||||
deopt_inlined_function_lazy_test: CompileTimeError # Int larger than 64 bits.
|
||||
double_int_to_string_test: RuntimeError
|
||||
duplicate_export_negative_test: Fail
|
||||
duplicate_implements_test/01: MissingCompileTimeError
|
||||
|
@ -361,10 +369,13 @@ getter_override2_test/02: MissingCompileTimeError
|
|||
getter_override_test/00: MissingCompileTimeError
|
||||
getter_override_test/01: MissingCompileTimeError
|
||||
getter_override_test/02: MissingCompileTimeError
|
||||
guess_cid_test: CompileTimeError # Int larger than 64 bits
|
||||
identical_closure2_test: RuntimeError
|
||||
if_null_assignment_behavior_test/14: RuntimeError
|
||||
infinity_test: RuntimeError
|
||||
instance_creation_in_function_annotation_test: RuntimeError
|
||||
int2_test: CompileTimeError # Int larger than 64 bits
|
||||
int_round_test: CompileTimeError # Int larger than 64 bits
|
||||
integer_division_by_zero_test: RuntimeError
|
||||
internal_library_test/02: Crash # type 'DillLibraryBuilder' is not a subtype of type 'SourceLibraryBuilder<KernelTypeBuilder, Library>' of 'value' where
|
||||
invocation_mirror2_test: RuntimeError # mirrors not supported
|
||||
|
@ -385,6 +396,7 @@ method_override7_test/02: MissingCompileTimeError
|
|||
method_override8_test/00: MissingCompileTimeError
|
||||
method_override8_test/01: MissingCompileTimeError
|
||||
mint_arithmetic_test: RuntimeError
|
||||
mint_compares_test: CompileTimeError # Int larger than 64 bits
|
||||
mixin_forwarding_constructor4_test/01: MissingCompileTimeError
|
||||
mixin_forwarding_constructor4_test/02: MissingCompileTimeError
|
||||
mixin_forwarding_constructor4_test/03: MissingCompileTimeError
|
||||
|
@ -498,6 +510,7 @@ no_main_test/01: CompileTimeError
|
|||
no_such_method_test: RuntimeError
|
||||
null_test/none: RuntimeError
|
||||
number_identity2_test: RuntimeError
|
||||
number_identity_test: CompileTimeError # Int larger than 64 bits
|
||||
numbers_test: RuntimeError
|
||||
overridden_no_such_method_test: RuntimeError
|
||||
override_field_method1_negative_test: Fail
|
||||
|
@ -553,21 +566,33 @@ type_literal_prefix_call_test/00: RuntimeError
|
|||
type_variable_conflict2_test/02: MissingCompileTimeError
|
||||
|
||||
[ $compiler == dart2js && $fasta && $host_checked ]
|
||||
arithmetic_test: CompileTimeError
|
||||
async_test/setter1: Crash # 'file:*/pkg/compiler/lib/src/kernel/element_map_impl.dart': Failed assertion: line 939 pos 18: 'asyncMarker == AsyncMarker.SYNC': is not true.
|
||||
closure_self_reference_test: Crash # 'file:*/pkg/compiler/lib/src/ssa/nodes.dart': Failed assertion: line 641 pos 12: 'isClosed()': is not true.
|
||||
deopt_inlined_function_lazy_test: CompileTimeError
|
||||
generic_methods_type_expression_test/01: Crash # 'file:*/pkg/compiler/lib/src/ssa/builder_kernel.dart': Failed assertion: line 1728 pos 16: 'type is MethodTypeVariableType': is not true.
|
||||
generic_methods_type_expression_test/03: Crash # 'file:*/pkg/compiler/lib/src/ssa/builder_kernel.dart': Failed assertion: line 1728 pos 16: 'type is MethodTypeVariableType': is not true.
|
||||
generic_methods_type_expression_test/none: Crash # 'file:*/pkg/compiler/lib/src/ssa/builder_kernel.dart': Failed assertion: line 1728 pos 16: 'type is MethodTypeVariableType': is not true.
|
||||
guess_cid_test: CompileTimeError
|
||||
int2_test: CompileTimeError
|
||||
invocation_mirror_test: Crash # 'file:*/pkg/compiler/lib/src/ssa/builder_kernel.dart': Failed assertion: line 3014 pos 14: 'arguments.named.isEmpty': is not true.
|
||||
mint_compares_test: CompileTimeError
|
||||
number_identity_test: CompileTimeError
|
||||
sync_generator2_test/41: Crash # 'file:*/pkg/compiler/lib/src/kernel/element_map_impl.dart': Failed assertion: line 939 pos 18: 'asyncMarker == AsyncMarker.SYNC': is not true.
|
||||
sync_generator2_test/52: Crash # 'file:*/pkg/compiler/lib/src/kernel/element_map_impl.dart': Failed assertion: line 939 pos 18: 'asyncMarker == AsyncMarker.SYNC': is not true.
|
||||
syntax_test/21: Crash # 'file:*/pkg/compiler/lib/src/kernel/env.dart': Failed assertion: line 322 pos 16: '!name.contains('#')': is not true.
|
||||
syntax_test/22: Crash # 'file:*/pkg/compiler/lib/src/kernel/env.dart': Failed assertion: line 322 pos 16: '!name.contains('#')': is not true.
|
||||
|
||||
[ $compiler == dart2js && $fasta && $minified ]
|
||||
arithmetic_test: CompileTimeError
|
||||
deferred_load_library_wrong_args_test/01: Crash # NoSuchMethodError: The getter 'closureClassEntity' was called on null.
|
||||
deferred_redirecting_factory_test: Crash # NoSuchMethodError: The getter 'closureClassEntity' was called on null.
|
||||
deopt_inlined_function_lazy_test: CompileTimeError
|
||||
guess_cid_test: CompileTimeError
|
||||
int2_test: CompileTimeError
|
||||
internal_library_test/02: Crash # NoSuchMethodError: Class 'DillLibraryBuilder' has no instance getter 'mixinApplicationClasses'.
|
||||
mint_compares_test: CompileTimeError
|
||||
number_identity_test: CompileTimeError
|
||||
stacktrace_rethrow_error_test/none: RuntimeError # Issue 12698
|
||||
stacktrace_rethrow_error_test/withtraceparameter: RuntimeError # Issue 12698
|
||||
stacktrace_rethrow_nonerror_test: RuntimeError # Issue 12698
|
||||
|
|
|
@ -657,12 +657,10 @@ instance_creation_in_function_annotation_test: RuntimeError
|
|||
instantiate_tearoff_of_call_test: CompileTimeError
|
||||
int64_literal_test/01: RuntimeError
|
||||
int64_literal_test/02: RuntimeError
|
||||
int64_literal_test/03: MissingCompileTimeError
|
||||
int64_literal_test/04: RuntimeError
|
||||
int64_literal_test/05: RuntimeError
|
||||
int64_literal_test/10: RuntimeError
|
||||
int64_literal_test/20: RuntimeError
|
||||
int64_literal_test/30: MissingCompileTimeError
|
||||
int64_literal_test/40: RuntimeError
|
||||
int64_literal_test/none: RuntimeError
|
||||
integer_division_by_zero_test: RuntimeError # Issue 8301
|
||||
|
@ -1055,12 +1053,10 @@ instance_creation_in_function_annotation_test: RuntimeError
|
|||
instantiate_tearoff_of_call_test: CompileTimeError
|
||||
int64_literal_test/01: RuntimeError
|
||||
int64_literal_test/02: RuntimeError
|
||||
int64_literal_test/03: MissingCompileTimeError
|
||||
int64_literal_test/04: RuntimeError
|
||||
int64_literal_test/05: RuntimeError
|
||||
int64_literal_test/10: RuntimeError
|
||||
int64_literal_test/20: RuntimeError
|
||||
int64_literal_test/30: MissingCompileTimeError
|
||||
int64_literal_test/40: RuntimeError
|
||||
int64_literal_test/none: RuntimeError
|
||||
integer_division_by_zero_test: RuntimeError # Issue 8301
|
||||
|
@ -1591,12 +1587,10 @@ instance_creation_in_function_annotation_test: RuntimeError
|
|||
instantiate_tearoff_of_call_test: CompileTimeError
|
||||
int64_literal_test/01: RuntimeError
|
||||
int64_literal_test/02: RuntimeError
|
||||
int64_literal_test/03: MissingCompileTimeError
|
||||
int64_literal_test/04: RuntimeError
|
||||
int64_literal_test/05: RuntimeError
|
||||
int64_literal_test/10: RuntimeError
|
||||
int64_literal_test/20: RuntimeError
|
||||
int64_literal_test/30: MissingCompileTimeError
|
||||
int64_literal_test/40: RuntimeError
|
||||
int64_literal_test/none: RuntimeError
|
||||
integer_division_by_zero_test: RuntimeError # Issue 8301
|
||||
|
|
|
@ -19,7 +19,7 @@ async/async_await_sync_completer_test: RuntimeError # sync-async is on by defaul
|
|||
async/schedule_microtask6_test: RuntimeError # global error handling is not supported. Issue 5958
|
||||
convert/base64_test/01: Fail, OK # Uses bit-wise operations to detect invalid values. Some large invalid values accepted by dart2js.
|
||||
convert/chunked_conversion_utf88_test: Slow, Pass
|
||||
convert/utf82_test: RuntimeError # Large integer literal. Not valid in dart2.
|
||||
convert/utf82_test: CompileTimeError # Large integer literal. Not valid in dart2.
|
||||
convert/utf85_test: Slow, Pass
|
||||
developer/timeline_test: Skip # Not supported
|
||||
math/double_pow_test: RuntimeError
|
||||
|
|
|
@ -63,7 +63,7 @@ application_snapshot("dart2js") {
|
|||
"$root_out_dir/dart2js_platform_strong.dill",
|
||||
"$root_out_dir/dart2js_outline_strong.dill",
|
||||
]
|
||||
vm_args = [ "--no_limit_ints_to_64_bits" ]
|
||||
vm_args = []
|
||||
main_dart = "$target_gen_dir/dart2js.dart"
|
||||
training_args = [
|
||||
"--packages=" + rebase_path("../../.packages"),
|
||||
|
|
Loading…
Reference in a new issue