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

Unified Diff: runtime/vm/stub_code_mips_test.cc

Issue 678763004: Make CTX allocatable by the register allocator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: incorporated latest comments Created 6 years, 2 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/stub_code_mips_test.cc
===================================================================
--- runtime/vm/stub_code_mips_test.cc (revision 41393)
+++ runtime/vm/stub_code_mips_test.cc (working copy)
@@ -44,9 +44,7 @@
const int argc = 2;
const Smi& smi1 = Smi::ZoneHandle(Smi::New(value1));
const Smi& smi2 = Smi::ZoneHandle(Smi::New(value2));
- const Context& context = Context::ZoneHandle(Context::New(0, Heap::kOld));
__ EnterDartFrame(0);
- __ LoadObject(CTX, context);
__ PushObject(Object::null_object()); // Push Null object for return value.
__ PushObject(smi1); // Push argument 1 smi1.
__ PushObject(smi2); // Push argument 2 smi2.

Powered by Google App Engine
This is Rietveld 408576698