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

Unified Diff: vm/stub_code_x64.cc

Issue 10827249: - Register canonical names for internal VM classes and get rid of the method GetSingletonClassName (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 | « vm/stub_code_ia32.cc ('k') | vm/symbols.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/stub_code_x64.cc
===================================================================
--- vm/stub_code_x64.cc (revision 10528)
+++ vm/stub_code_x64.cc (working copy)
@@ -288,6 +288,9 @@
Label loop, next_iteration;
// Get functions_cache, since it is allocated lazily it maybe null.
__ movq(RAX, FieldAddress(RAX, Class::functions_cache_offset()));
+ __ cmpq(RAX, raw_null);
+ __ j(EQUAL, &not_found, Assembler::kNearJump);
+
// Iterate and search for identical name.
__ leaq(R12, FieldAddress(RAX, Array::data_offset()));
« no previous file with comments | « vm/stub_code_ia32.cc ('k') | vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698