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

Unified Diff: runtime/vm/assembler_macros_ia32.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
« no previous file with comments | « no previous file | runtime/vm/assembler_macros_ia32.cc » ('j') | runtime/vm/freelist.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_macros_ia32.h
diff --git a/runtime/vm/assembler_macros_ia32.h b/runtime/vm/assembler_macros_ia32.h
index 96eff195005912419bfb5e0978073c6ae3af91ce..17afcffc3dceacc3d2b550f189e6f6f6f4c051d9 100644
--- a/runtime/vm/assembler_macros_ia32.h
+++ b/runtime/vm/assembler_macros_ia32.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);
« no previous file with comments | « no previous file | runtime/vm/assembler_macros_ia32.cc » ('j') | runtime/vm/freelist.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698