dart-sdk/runtime
Martin Kustermann a791ecc30e [vm/concurrency] Enforce all stub calls have (deopt-id, deopt-env)
To avoid accidental code that calls stubs without emitting proper
(deopt-id, deopt-env) metadata, we enforce that it's always present for
stub calls and add another GenerateNonLazyDeoptableStubCall for cases
where it's intentionally omitted.

The environment has in many cases been still emitted before, due to the
usage of `pending_deoptimization_env` though we make code pass it
explicitly (just as the deopt-id). We may want to consider deprecating
this `pending_deoptimization_env`.

Issue https://github.com/dart-lang/sdk/issues/45213

TEST=Existing test suite.

Change-Id: I93f1d5ba4d74da5f9afa4b526ad57b9d032ca99e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/197164
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2021-05-10 14:55:20 +00:00
..
bin [runtime/signal] Restore signal handlers to previous values. 2021-05-07 16:19:17 +00:00
docs [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
include Rereland "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-14 12:07:18 +00:00
lib Reland "[VM/runtime] Refactor the representation of type parameters in the VM." 2021-05-05 23:43:14 +00:00
observatory Revert "[vm] Enable new kernel AST invocation nodes for the VM" 2021-05-10 12:32:38 +00:00
observatory_2 Revert "[vm] Enable new kernel AST invocation nodes for the VM" 2021-05-10 12:32:38 +00:00
platform Revert "[vm] Switch datastream Write/WriteUnsigned to (S)LEB128." 2021-04-26 07:52:47 +00:00
tests/vm Remove support for ancient multitest marker syntax. 2021-05-06 22:36:04 +00:00
third_party [infra] Update python2 to python3 run_binary_size_analysis script. 2021-04-19 20:14:38 +00:00
tools [runtime/tools] Fix clang-tidy invocation 2021-05-06 09:04:22 +00:00
vm [vm/concurrency] Enforce all stub calls have (deopt-id, deopt-env) 2021-05-10 14:55:20 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm] Build configs for compressed pointers 2021-01-28 23:15:15 +00:00
codereview.settings
configs.gni Reland "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-17 16:12:26 +00:00
CPPLINT.cfg
PRESUBMIT.py [Presubmit] Fixes presubmit for breaking API change. 2020-03-03 13:30:20 +00:00
runtime_args.gni [wasm] Remove deprecated dart_enable_wasm flag. 2021-04-01 22:45:07 +00:00