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