dart-sdk/runtime/vm/compiler/backend
Alexander Aprelev dabfda5770 Revert "[vm/compiler] Check def/use relation for PushArguments in environment."
This reverts commit 88e94994b1 as it breaks flutter:

```
[ +192 ms] executing: $FH/engine/src/out/ios_profile_arm/clang_x64/gen_snapshot --causal_async_stacks
--deterministic --snapshot_kind=app-aot-elf --elf=build/aot/app.so --strip --no-sim-use-hardfp
--no-use-integer-division build/aot/app.dill
[+12798 ms] ===== CRASH =====
[   +1 ms] si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x28
[        ] version=2.6.0-dev.0.0.flutter-88e94994b1 (Wed Sep 11 12:00:07 2019 +0000) on "macos_simarm"
[        ] thread=775, isolate=isolate(0x7fe116011200)
[        ]   pc 0x000000010afd1970 fp 0x00007ffee4e6cc30

dart::AotCallSpecializer::TryExpandCallThroughGetter(dart::Class const&, dart::InstanceCallInstr*)
[        ]   pc 0x000000010afd0ee0 fp 0x00007ffee4e6ccf0
dart::AotCallSpecializer::VisitInstanceCall(dart::InstanceCallInstr*)
[        ]   pc 0x000000010b047199 fp 0x00007ffee4e6cd30 dart::FlowGraphVisitor::VisitBlocks()
[        ]   pc 0x000000010b0f9e32 fp 0x00007ffee4e6cd50
dart::CompilerPass_ApplyICData::DoBody(dart::CompilerPassState*) const
[        ]   pc 0x000000010b0f8d84 fp 0x00007ffee4e6cde0 dart::CompilerPass::Run(dart::CompilerPassState*) const
[        ]   pc 0x000000010b0f8fc1 fp 0x00007ffee4e6ce00
dart::CompilerPass::RunInliningPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)
[        ]   pc 0x000000010b0a3280 fp 0x00007ffee4e6d2f0 dart::CallSiteInliner::TryInlining(dart::Function const&,
dart::Array const&, dart::InlinedCallData*, bool)
[        ]   pc 0x000000010b0af278 fp 0x00007ffee4e6d3d0 dart::CallSiteInliner::InlineStaticCalls()
[        ]   pc 0x000000010b0aa115 fp 0x00007ffee4e6d4e0 dart::CallSiteInliner::InlineCalls()
[        ]   pc 0x000000010b0a9d01 fp 0x00007ffee4e6d5d0 dart::FlowGraphInliner::Inline()
[        ]   pc 0x000000010b0f9fdf fp 0x00007ffee4e6d640
dart::CompilerPass_Inlining::DoBody(dart::CompilerPassState*) const
[        ]   pc 0x000000010b0f8d84 fp 0x00007ffee4e6d6d0 dart::CompilerPass::Run(dart::CompilerPassState*) const
[        ]   pc 0x000000010b0f9271 fp 0x00007ffee4e6d700
dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)
[        ]   pc 0x000000010afde14e fp 0x00007ffee4e6dd00
dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)
[        ]   pc 0x000000010afdf725 fp 0x00007ffee4e6ded0 dart::PrecompileFunctionHelper(dart::Precompiler*,
dart::CompilationPipeline*, dart::Function const&, bool)
[        ]   pc 0x000000010afdb95c fp 0x00007ffee4e6df80 dart::Precompiler::CompileFunction(dart::Precompiler*,
dart::Thread*, dart::Zone*, dart::Function const&)
[        ]   pc 0x000000010afda83d fp 0x00007ffee4e6dfe0 dart::Precompiler::ProcessFunction(dart::Function const&)
[        ]   pc 0x000000010afd7294 fp 0x00007ffee4e6e010 dart::Precompiler::Iterate()
[        ]   pc 0x000000010afd5274 fp 0x00007ffee4e6e1c0 dart::Precompiler::DoCompileAll()
[        ]   pc 0x000000010afd4ddc fp 0x00007ffee4e6e570 dart::Precompiler::CompileAll()
[        ]   pc 0x000000010b200102 fp 0x00007ffee4e6e630 Dart_Precompile
[        ]   pc 0x000000010ad939cc fp 0x00007ffee4e6e7d0 dart::bin::main(int, char**)
[        ]   pc 0x00007fff5ae163d5 fp 0x00007ffee4e6e7e0 start
[        ] -- End of DumpStackTrace
[   +1 ms] Dart snapshot generator failed with exit code -6
```
Change-Id: I609493026eeed1fbe68adc9aa52a5b872d08bca0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116888
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2019-09-12 01:03:36 +00:00
..
bce_test.cc [vm/compiler] Improve range analysis over MOD 2019-08-14 17:44:09 +00:00
block_builder.h [vm] Support for simarm_x64 2019-06-21 04:00:35 +00:00
block_scheduler.cc [vm/compiler] Make BlockScheduler AllStatic. 2019-08-14 10:52:14 +00:00
block_scheduler.h [vm/compiler] Make BlockScheduler AllStatic. 2019-08-14 10:52:14 +00:00
branch_optimizer.cc [dart/vm] Fix dominance violation 2019-08-01 15:54:33 +00:00
branch_optimizer.h [VM] Introduce function and osr entrypoints to the VM's IR 2018-10-15 13:02:51 +00:00
code_statistics.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
code_statistics.h [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
compile_type.h [vm/compiler] Move more common code into type propagator 2019-08-08 19:05:09 +00:00
constant_propagator.cc [vm/compiler] Don't propagate non-constants as constants. 2019-09-11 11:19:57 +00:00
constant_propagator.h [vm] Very basic store barrier elimination. 2018-07-17 22:59:28 +00:00
flow_graph.cc [vm] Remove dead --load_deferred_eagerly and dependent code tracking for library prefixes. 2019-09-06 23:37:33 +00:00
flow_graph.h [vm] Remove dead --load_deferred_eagerly and dependent code tracking for library prefixes. 2019-09-06 23:37:33 +00:00
flow_graph_checker.cc Revert "[vm/compiler] Check def/use relation for PushArguments in environment." 2019-09-12 01:03:36 +00:00
flow_graph_checker.h [vm/ffi] Don't make force-optimized code masquerade as unoptimized code. 2019-06-24 15:25:53 +00:00
flow_graph_compiler.cc Revert Reland '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' as it breaks flutter profile execution on ios 32-bit platform. 2019-09-12 00:10:09 +00:00
flow_graph_compiler.h Revert Reland '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' as it breaks flutter profile execution on ios 32-bit platform. 2019-09-12 00:10:09 +00:00
flow_graph_compiler_arm.cc [vm, compiler] Consistently use CallTargets instead of ICData or MegamorphicCache. 2019-09-04 18:49:40 +00:00
flow_graph_compiler_arm64.cc [vm, compiler] Consistently use CallTargets instead of ICData or MegamorphicCache. 2019-09-04 18:49:40 +00:00
flow_graph_compiler_dbc.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
flow_graph_compiler_ia32.cc [vm, compiler] Consistently use CallTargets instead of ICData or MegamorphicCache. 2019-09-04 18:49:40 +00:00
flow_graph_compiler_x64.cc [vm, compiler] Consistently use CallTargets instead of ICData or MegamorphicCache. 2019-09-04 18:49:40 +00:00
il.cc Revert "[vm/compiler] Check def/use relation for PushArguments in environment." 2019-09-12 01:03:36 +00:00
il.h [vm/compiler] Add support for more instructions to deserializer. 2019-09-05 10:36:13 +00:00
il_arm.cc Revert Reland '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' as it breaks flutter profile execution on ios 32-bit platform. 2019-09-12 00:10:09 +00:00
il_arm64.cc Revert Reland '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' as it breaks flutter profile execution on ios 32-bit platform. 2019-09-12 00:10:09 +00:00
il_dbc.cc [vm/compiler] Move more common code into type propagator 2019-08-08 19:05:09 +00:00
il_deserializer.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
il_deserializer.h [vm/compiler] Add support for more instructions to deserializer. 2019-09-05 10:36:13 +00:00
il_ia32.cc Revert Reland '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' as it breaks flutter profile execution on ios 32-bit platform. 2019-09-12 00:10:09 +00:00
il_printer.cc Revert "[vm/compiler] Check def/use relation for PushArguments in environment." 2019-09-12 01:03:36 +00:00
il_printer.h [VM] Introduce function and osr entrypoints to the VM's IR 2018-10-15 13:02:51 +00:00
il_serializer.cc [vm/compiler] Fix use of enum value as bool in serializer. 2019-09-05 14:48:03 +00:00
il_serializer.h [vm/compiler] Add support for more instructions to deserializer. 2019-09-05 10:36:13 +00:00
il_test.cc [vm/compiler] Follow redefinitions in Value::NeedsWriteBarrier() 2019-08-13 16:15:11 +00:00
il_test_helper.cc [vm/compiler] Add the framework for the IL deserializer. 2019-08-26 08:58:23 +00:00
il_test_helper.h [vm] Remove more of the Dart 1 compiler. 2019-06-12 01:00:29 +00:00
il_x64.cc Revert Reland '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' as it breaks flutter profile execution on ios 32-bit platform. 2019-09-12 00:10:09 +00:00
inliner.cc [vm] Remove dead --load_deferred_eagerly and dependent code tracking for library prefixes. 2019-09-06 23:37:33 +00:00
inliner.h Reland "[vm/compiler] Implement new inlining pragmas." 2019-07-30 12:01:06 +00:00
inliner_test.cc [vm/compiler] Fix inliner bug which did not emit an explicit unboxing instruction for the value 2019-07-30 11:51:27 +00:00
linearscan.cc [vm/gardening] clang tidy fixes 2019-09-05 17:00:33 +00:00
linearscan.h [vm] Namespace constants like offsets and sizeofs to use runtime_api.h 2019-06-10 02:55:25 +00:00
locations.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
locations.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
locations_helpers.h [VM] Replace hand-written assembly prologues with IR 2017-12-13 16:04:34 +00:00
locations_helpers_arm.h [VM] Introduce new way to define instruction backends (Reland). 2017-10-06 11:48:02 +00:00
locations_helpers_test.cc [VM] Introduce new way to define instruction backends (Reland). 2017-10-06 11:48:02 +00:00
loops.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
loops.h [vm/compiler] LICM and CSE improvements 2019-02-28 19:29:06 +00:00
loops_test.cc [vm, bytecode] Plumb bytecode mode flags to VM unit tests. 2019-06-26 23:47:07 +00:00
range_analysis.cc [vm] Greatly reduce handle allocation during reload. 2019-08-20 00:49:52 +00:00
range_analysis.h [vm/compiler] Improve range analysis over MOD 2019-08-14 17:44:09 +00:00
range_analysis_test.cc [vm] Namespace constants like offsets and sizeofs to use runtime_api.h 2019-06-10 02:55:25 +00:00
redundancy_elimination.cc [dart/vm] Fix dominance violation 2019-08-01 15:54:33 +00:00
redundancy_elimination.h [vm/compiler] Eliminate dead CatchBlockEntry Parameter-s 2019-03-29 14:15:42 +00:00
redundancy_elimination_test.cc [vm/bytecode] Fix vm/cc/TryCatchOptimizer unit tests 2019-08-16 23:38:40 +00:00
sexpression.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
sexpression.h [vm] Move C-string-based hash maps to hash_map.h. 2019-08-27 09:52:13 +00:00
sexpression_test.cc [vm/compiler] Move S-exp deserialization into sexpression.{cc,h}. 2019-08-05 13:59:22 +00:00
slot.cc [vm/compiler] More work on the IL serializer. 2019-09-05 10:34:43 +00:00
slot.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
slot_test.cc [vm/compiler] Ensure that field is added to guarded fields when Slot::Get uses its guarded properties. 2019-01-07 16:25:02 +00:00
type_propagator.cc [vm/bytecode] Use static types of parameters when compiling from bytecode 2019-09-06 21:04:09 +00:00
type_propagator.h [vm/compiler] LICM and CSE improvements 2019-02-28 19:29:06 +00:00
type_propagator_test.cc [vm] Remove more of the Dart 1 compiler. 2019-06-12 01:00:29 +00:00
typed_data_aot_test.cc [vm/compiler/aot] Fix unboxing of int32/uint32 in typed data specializer 2019-04-08 14:56:00 +00:00