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

Unified Diff: runtime/vm/assembler_ia32.h

Issue 10458031: In generated code for x64 don't load object's class directly from class_ field. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Eliminate CoreClass helpers on ia32/x64 and use class ids for array classes. Created 8 years, 7 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 | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_ia32.h
diff --git a/runtime/vm/assembler_ia32.h b/runtime/vm/assembler_ia32.h
index 8bcb37342e9de3d01a734fb74628e2746248f363..5c07aabec2c0f9c0ca599c5b688fccac092c5c76 100644
--- a/runtime/vm/assembler_ia32.h
+++ b/runtime/vm/assembler_ia32.h
@@ -529,15 +529,15 @@ class Assembler : public ValueObject {
void CallRuntime(const RuntimeEntry& entry);
/*
- * Loading and comparing classes of objects
+ * Loading and comparing classes of objects.
*/
- void LoadClassOfObject(Register result, Register object, Register scratch);
+ void LoadClassId(Register result, Register object);
- void LoadClassIndexOfObject(Register result, Register object);
+ void LoadClass(Register result, Register object, Register scratch);
- void CompareClassOfObject(Register object,
- const Class& clazz,
- Register scratch);
+ void CompareClassId(Register object,
+ intptr_t class_id,
+ Register scratch);
/*
* Misc. functionality
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698