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

Unified Diff: runtime/vm/flow_graph_compiler_mips.cc

Issue 311963002: In class Function replace current code field with current instruction field, that way we save one l… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
Index: runtime/vm/flow_graph_compiler_mips.cc
===================================================================
--- runtime/vm/flow_graph_compiler_mips.cc (revision 36916)
+++ runtime/vm/flow_graph_compiler_mips.cc (working copy)
@@ -1323,8 +1323,7 @@
__ addu(T1, T2, T1);
__ lw(T0, FieldAddress(T1, base + kWordSize));
- __ lw(T1, FieldAddress(T0, Function::code_offset()));
- __ lw(T1, FieldAddress(T1, Code::instructions_offset()));
+ __ lw(T1, FieldAddress(T0, Function::instructions_offset()));
__ LoadObject(S5, ic_data);
__ LoadObject(S4, arguments_descriptor);
__ AddImmediate(T1, Instructions::HeaderSize() - kHeapObjectTag);

Powered by Google App Engine
This is Rietveld 408576698