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

Unified Diff: runtime/vm/assembler_x64.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 | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_x64.h
diff --git a/runtime/vm/assembler_x64.h b/runtime/vm/assembler_x64.h
index 66dc20c3e8f177aafb66eeb7d1161de48018a637..b26e5ea9947a50db3bfc9794ec3dec4b569aa878 100644
--- a/runtime/vm/assembler_x64.h
+++ b/runtime/vm/assembler_x64.h
@@ -519,6 +519,17 @@ class Assembler : public ValueObject {
void CallRuntime(const RuntimeEntry& entry);
/*
+ * Loading and comparing classes of objects.
+ */
+ void LoadClassId(Register result, Register object);
+
+ void LoadClassById(Register result, Register class_id);
+
+ void LoadClass(Register result, Register object);
+
+ void CompareClassId(Register object, intptr_t class_id);
+
+ /*
* Misc. functionality.
*/
void SmiTag(Register reg) {
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698