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

Unified Diff: runtime/vm/deopt_instructions.h

Issue 10919008: Unbox phis that were proven to be of type Double. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address Srdjan's comments Created 8 years, 4 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/compiler.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 7250902383f932c5946755bfc96225f9756cd094..40fc623d3d3d9e6a83f222877e13ad4da39dd925 100644
--- a/runtime/vm/deopt_instructions.h
+++ b/runtime/vm/deopt_instructions.h
@@ -47,6 +47,10 @@ class DeoptimizationContext : public ValueObject {
return registers_copy_[reg];
}
+ double XmmRegisterValue(XmmRegister reg) const {
+ return xmm_registers_copy_[reg];
+ }
+
Isolate* isolate() const { return isolate_; }
intptr_t from_frame_size() const { return from_frame_size_; }
@@ -58,6 +62,7 @@ class DeoptimizationContext : public ValueObject {
intptr_t* from_frame_;
intptr_t from_frame_size_;
intptr_t* registers_copy_;
+ double* xmm_registers_copy_;
const intptr_t num_args_;
Isolate* isolate_;
@@ -86,7 +91,9 @@ class DeoptInstr : public ZoneAllocated {
kSetRetAddress,
kCopyConstant,
kCopyRegister,
+ kCopyXmmRegister,
kCopyStackSlot,
+ kCopyDoubleStackSlot,
kSetPcMarker,
kSetCallerFp,
kSetCallerPc,
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698