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

Unified Diff: runtime/vm/deopt_instructions.cc

Issue 13818006: Unboxed load/store indexed of Float32x4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | runtime/vm/flow_graph_compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/deopt_instructions.cc
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc
index ba19d96b0930afa8aefea555a0172f7fec9121e6..4a21a63cbaf4d9397a1af433cd7e3d5ca7adaf54 100644
--- a/runtime/vm/deopt_instructions.cc
+++ b/runtime/vm/deopt_instructions.cc
@@ -859,9 +859,13 @@ void DeoptInfoBuilder::AddCopy(Value* value,
} else if (from_loc.IsFpuRegister()) {
if (value->definition()->representation() == kUnboxedDouble) {
deopt_instr = new DeoptFpuRegisterInstr(from_loc.fpu_reg());
- } else {
- ASSERT(value->definition()->representation() == kUnboxedMint);
+ } else if (value->definition()->representation() == kUnboxedMint) {
deopt_instr = new DeoptInt64FpuRegisterInstr(from_loc.fpu_reg());
+ } else if (value->definition()->representation() == kUnboxedFloat32x4) {
+ deopt_instr = new DeoptFloat32x4FpuRegisterInstr(from_loc.fpu_reg());
+ } else {
+ ASSERT(value->definition()->representation() == kUnboxedUint32x4);
+ deopt_instr = new DeoptUint32x4FpuRegisterInstr(from_loc.fpu_reg());
}
} else if (from_loc.IsStackSlot()) {
ASSERT(value->definition()->representation() == kTagged);
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698