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); |