Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index ab26d745bfc4528cbc64ed3d6dbee528332114e8..0b7bdc0972b8f851e0d33d626177b532723c49b3 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -93,8 +93,8 @@ struct Register { |
// rbp - frame pointer |
// rsi - context register |
// r10 - fixed scratch register |
+ // r12 - smi constant register |
// r13 - root register |
- // r15 - smi constant register |
static const int kNumRegisters = 16; |
static const int kNumAllocatableRegisters = 10; |
@@ -120,7 +120,7 @@ struct Register { |
"r9", |
"r11", |
"r14", |
- "r12" |
+ "r15" |
}; |
return names[index]; |
} |