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

Unified Diff: runtime/vm/stub_code_ia32.cc

Issue 678993004: Remove dead code from InvokeDartCode stub. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_ia32.cc
===================================================================
--- runtime/vm/stub_code_ia32.cc (revision 41310)
+++ runtime/vm/stub_code_ia32.cc (working copy)
@@ -879,10 +879,6 @@
// Call the dart code entrypoint.
__ call(Address(EBP, kEntryPointOffset));
- // Reread the Context pointer.
- __ movl(CTX, Address(EBP, kNewContextOffset));
- __ movl(CTX, Address(CTX, VMHandles::kOffsetOfRawPtrInHandle));
-
// Reread the arguments descriptor array to obtain the number of passed
// arguments.
__ movl(EDX, Address(EBP, kArgumentsDescOffset));
@@ -891,7 +887,7 @@
// Get rid of arguments pushed on the stack.
__ leal(ESP, Address(ESP, EDX, TIMES_2, 0)); // EDX is a Smi.
- // Load Isolate pointer into CTX. Drop Context.
+ // Load Isolate pointer into CTX.
__ LoadIsolate(CTX);
// Restore the saved Context pointer into the Isolate structure.
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698