Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 116816c8727db889a0559ccf18db632aed8d8168..08a23d6c62ccb8d18d85da6af6ca540479a76393 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -74,9 +74,8 @@ struct Register { |
// rsp - stack pointer |
// rbp - frame pointer |
// r10 - fixed scratch register |
- // r12 - smi constant register |
// r13 - root register |
- static const int kMaxNumAllocatableRegisters = 11; |
+ static const int kMaxNumAllocatableRegisters = 12; |
static int NumAllocatableRegisters() { |
return kMaxNumAllocatableRegisters; |
} |
@@ -104,6 +103,7 @@ struct Register { |
"r8", |
"r9", |
"r11", |
+ "r12", |
"r14", |
"r15" |
}; |