Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index e3ab7c2def309358cfcc126a9128c897645f507a..3c054cd49a0d11aec75c2a49e545cad922ceb7ea 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -7961,7 +7961,7 @@ bool CodeGenerator::HasValidEntryRegisters() { |
&& (allocator()->count(r9) == (frame()->is_used(r9) ? 1 : 0)) |
&& (allocator()->count(r11) == (frame()->is_used(r11) ? 1 : 0)) |
&& (allocator()->count(r14) == (frame()->is_used(r14) ? 1 : 0)) |
- && (allocator()->count(r12) == (frame()->is_used(r12) ? 1 : 0)); |
+ && (allocator()->count(r15) == (frame()->is_used(r15) ? 1 : 0)); |
} |
#endif |