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

Unified Diff: runtime/vm/assembler_macros_x64.h

Issue 10521004: Eliminate RawObject::class_ field entirely. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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
Index: runtime/vm/assembler_macros_x64.h
diff --git a/runtime/vm/assembler_macros_x64.h b/runtime/vm/assembler_macros_x64.h
index 09c9936653a5ce34a851695c3b0506bfe2700729..dd836c28acc81f71761edbe1fe8e5ee67420f624 100644
--- a/runtime/vm/assembler_macros_x64.h
+++ b/runtime/vm/assembler_macros_x64.h
@@ -25,12 +25,10 @@ class AssemblerMacros : public AllStatic {
public:
// Inlined allocation of an instance of class 'cls', code has no runtime
// calls. Jump to 'failure' if the instance cannot be allocated here.
- // Class must be loaded in 'class_reg'. Allocated instance is returned
- // in 'instance_reg'. Only the class field of the object is initialized.
- // 'class_reg' and 'instance_reg' may not be the same register.
+ // Allocated instance is returned in 'instance_reg'.
+ // Only the tags field of the object is initialized.
static void TryAllocate(Assembler* assembler,
const Class& cls,
- Register class_reg,
Label* failure,
Register instance_reg);

Powered by Google App Engine
This is Rietveld 408576698