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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10701131: Stop passing location argument to run time calls, since it is stored in the pc (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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/intermediate_language_ia32.cc ('k') | runtime/vm/native_entry_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_x64.cc
===================================================================
--- runtime/vm/intermediate_language_x64.cc (revision 9536)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -190,7 +190,6 @@
__ CompareObject(obj, compiler->bool_false());
__ j(EQUAL, &done, Assembler::kNearJump);
- __ pushq(Immediate(Smi::RawValue(token_pos()))); // Source location.
__ pushq(obj); // Push the source object.
compiler->GenerateCallRuntime(cid(),
token_pos(),
@@ -1070,7 +1069,6 @@
// Push the result place holder initialized to NULL.
__ PushObject(Object::ZoneHandle());
- __ pushq(Immediate(Smi::RawValue(token_pos())));
__ PushObject(cls);
__ pushq(type_arguments);
__ pushq(instantiator_type_arguments);
@@ -1078,9 +1076,8 @@
token_pos(),
try_index(),
kAllocateObjectWithBoundsCheckRuntimeEntry);
- // Pop instantiator type arguments, type arguments, class, and
- // source location.
- __ Drop(4);
+ // Pop instantiator type arguments, type arguments, and class.
+ __ Drop(3);
__ popq(result); // Pop new instance.
}
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | runtime/vm/native_entry_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698