Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1290)

Unified Diff: runtime/vm/deopt_instructions.h

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed comments Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/deferred_objects.cc ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/deopt_instructions.h
diff --git a/runtime/vm/deopt_instructions.h b/runtime/vm/deopt_instructions.h
index 188e95cfaa933c1de6b74e3817e627e2407ec07c..cf357d03cea2228509dd16395fc417569a92cdbb 100644
--- a/runtime/vm/deopt_instructions.h
+++ b/runtime/vm/deopt_instructions.h
@@ -34,7 +34,8 @@ class DeoptContext {
const Code& code,
DestFrameOptions dest_options,
fpu_register_t* fpu_registers,
- intptr_t* cpu_registers);
+ intptr_t* cpu_registers,
+ bool is_lazy_deopt);
virtual ~DeoptContext();
// Returns the offset of the dest fp from the dest sp. Used in
@@ -94,6 +95,8 @@ class DeoptContext {
RawCode* code() const { return code_; }
+ bool is_lazy_deopt() const { return is_lazy_deopt_; }
+
ICData::DeoptReasonId deopt_reason() const { return deopt_reason_; }
bool HasDeoptFlag(ICData::DeoptFlags flag) {
return (deopt_flags_ & flag) != 0;
@@ -228,6 +231,8 @@ class DeoptContext {
intptr_t deferred_objects_count_;
DeferredObject** deferred_objects_;
+ const bool is_lazy_deopt_;
+
DISALLOW_COPY_AND_ASSIGN(DeoptContext);
};
« no previous file with comments | « runtime/vm/deferred_objects.cc ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698