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

Unified Diff: runtime/vm/assembler_ia32.h

Issue 10447064: In generated code for ia32 don't load object's class directly from class_ field. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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') | runtime/vm/code_generator_ia32.cc » ('J')
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 1cb69eccc3ae2796b2e5192d6cefa27f87cd2fac..8bcb37342e9de3d01a734fb74628e2746248f363 100644
--- a/runtime/vm/assembler_ia32.h
+++ b/runtime/vm/assembler_ia32.h
@@ -529,6 +529,17 @@ class Assembler : public ValueObject {
void CallRuntime(const RuntimeEntry& entry);
/*
+ * Loading and comparing classes of objects
+ */
+ void LoadClassOfObject(Register result, Register object, Register scratch);
+
+ void LoadClassIndexOfObject(Register result, Register object);
+
+ void CompareClassOfObject(Register object,
+ const Class& clazz,
+ Register scratch);
+
+ /*
* Misc. functionality
*/
void SmiTag(Register reg) {
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | runtime/vm/code_generator_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698