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

Unified Diff: vm/stub_code_ia32.cc

Issue 11519006: Add read only handles for the following predefined symbols (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years 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
« vm/ast.h ('K') | « vm/scopes.cc ('k') | vm/stub_code_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/stub_code_ia32.cc
===================================================================
--- vm/stub_code_ia32.cc (revision 15918)
+++ vm/stub_code_ia32.cc (working copy)
@@ -2107,13 +2107,12 @@
__ Bind(&update_ic_data);
// ECX: ICData
- const String& equal_name = String::ZoneHandle(Symbols::EqualOperator());
__ movl(EAX, Address(ESP, 1 * kWordSize));
__ movl(EDI, Address(ESP, 2 * kWordSize));
AssemblerMacros::EnterStubFrame(assembler);
__ pushl(EDI); // arg 0
__ pushl(EAX); // arg 1
- __ PushObject(equal_name); // Target's name.
+ __ PushObject(Symbols::EqualOperatorHandle()); // Target's name.
__ pushl(ECX); // ICData
__ CallRuntime(kUpdateICDataTwoArgsRuntimeEntry);
__ Drop(4);
« vm/ast.h ('K') | « vm/scopes.cc ('k') | vm/stub_code_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698