Skip to content

Commit 7d64093

Browse files
alexmarkovCommit Queue
authored andcommitted
[vm,dyn_modules] Skip vm/cc tests which are not relevant to bytecode
TEST=ci Change-Id: I573d9266583e61114fd7b9df806e51fec8e03e51 Cq-Include-Trybots: luci.dart.try:vm-aot-dyn-linux-debug-x64-try,vm-aot-dyn-linux-product-x64-try,vm-dyn-linux-debug-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/442281 Commit-Queue: Alexander Markov <[email protected]> Reviewed-by: Tess Strickland <[email protected]>
1 parent 859f6b3 commit 7d64093

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

runtime/tests/vm/vm.status

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,37 @@ dart/isolates/many_isolates_blocked_at_sleep_test: Skip # App snapshot creation
6666
dart/snapshot_version_test: RuntimeError
6767

6868
[ $compiler == dart2bytecode ]
69+
cc/AllocationSinking_*: SkipByDesign # Building flow graph is not supported from bytecode.
70+
cc/BCE*: SkipByDesign # Building flow graph is not supported from bytecode.
71+
cc/BasicInduction*: SkipByDesign # Building flow graph is not supported from bytecode.
72+
cc/BoundsCheckElimination_*: SkipByDesign # Building flow graph is not supported from bytecode.
73+
cc/ChainInduction: SkipByDesign # Building flow graph is not supported from bytecode.
74+
cc/CheckStackOverflowElimination_NoInterruptsPragma: SkipByDesign # Building flow graph is not supported from bytecode.
75+
cc/CompileFunction*: SkipByDesign # JIT compilation is not supported from bytecode.
76+
cc/ConstantFold_bitLength: SkipByDesign # Building flow graph is not supported from bytecode.
77+
cc/DelayAllocations_*: SkipByDesign # Building flow graph is not supported from bytecode.
78+
cc/DeoptimizeFramesWhenSettingBreakpoint: SkipByDesign # JIT compilation is not supported from bytecode.
79+
cc/DerivedInduction: SkipByDesign # Building flow graph is not supported from bytecode.
80+
cc/Ffi_StructSinking: SkipByDesign # Building flow graph is not supported from bytecode.
81+
cc/FlowGraph_PhiUnboxingHeuristic_*: SkipByDesign # Building flow graph is not supported from bytecode.
82+
cc/IRTest_*: SkipByDesign # Building flow graph is not supported from bytecode.
83+
cc/Inliner_*: SkipByDesign # Building flow graph is not supported from bytecode.
84+
cc/IsolateReload_EnumWithSet: SkipByDesign # Bytecode doesn't support KernelProgramInfo.
85+
cc/IsolateReload_RegressB179030011: SkipByDesign # Bytecode doesn't support concatenated kernel programs.
86+
cc/LICM_Deopt_*: SkipByDesign # JIT compilation is not supported from bytecode.
87+
cc/LoadOptimizer_Redundant*: SkipByDesign # Building flow graph is not supported from bytecode.
88+
cc/NonStrictCondition*: SkipByDesign # Building flow graph is not supported from bytecode.
89+
cc/NotEqualCondition*: SkipByDesign # Building flow graph is not supported from bytecode.
90+
cc/OptimizeCompileFunctionOnHelperThread: SkipByDesign # JIT compilation is not supported from bytecode.
91+
cc/PeriodicAndDerived: SkipByDesign # Building flow graph is not supported from bytecode.
92+
cc/RangeAnalysis_*: SkipByDesign # Building flow graph is not supported from bytecode.
93+
cc/SecondExit*: SkipByDesign # Building flow graph is not supported from bytecode.
94+
cc/StackMapGC: SkipByDesign # JIT compilation is not supported from bytecode.
95+
cc/StreamingFlowGraphBuilder_*: SkipByDesign # Building flow graph is not supported from bytecode.
96+
cc/TryCatchOptimizer_DeadParameterElimination_*: SkipByDesign # Building flow graph is not supported from bytecode.
97+
cc/TwoWayInduction: SkipByDesign # Building flow graph is not supported from bytecode.
98+
cc/TypePropagator_*: SkipByDesign # Building flow graph is not supported from bytecode.
99+
cc/WrapAroundAndDerived: SkipByDesign # Building flow graph is not supported from bytecode.
69100
dart/regress_52703_test: Pass, Slow
70101

71102
[ $compiler == dartk ]

runtime/vm/compiler/jit/compiler.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ static ObjectPtr CompileFunctionHelper(const Function& function,
652652

653653
ASSERT(!FLAG_precompiled_mode);
654654
ASSERT(!optimized || function.WasCompiled() || function.ForceOptimize());
655+
ASSERT(!function.is_declared_in_bytecode());
655656
LongJumpScope jump(thread);
656657
if (DART_SETJMP(*jump.Set()) == 0) {
657658
StackZone stack_zone(thread);

0 commit comments

Comments
 (0)