Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 0c5d481f5a7f91dfbbc39a1133e9beedfa82d40a..6d332b709125868a76d698cc0e3f665205401d98 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -1240,7 +1240,7 @@ static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, |
// Set up the roots register. |
ExternalReference roots_address = ExternalReference::roots_address(); |
- __ movq(r13, roots_address); |
+ __ movq(kRootRegister, roots_address); |
// Current stack contents: |
// [rsp + 2 * kPointerSize ... ]: Internal frame |