Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 2e1510897a9b481c8160cc0ac83005f5affd978b..99196da425442eefd18fb735e54a97f554848e22 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -3235,7 +3235,7 @@ void SubStringStub::Generate(MacroAssembler* masm) { |
// Just jump to runtime to create the sub string. |
__ bind(&runtime); |
- __ TailCallRuntime(Runtime::kSubString, 3, 1); |
+ __ TailCallRuntime(Runtime::kSubStringRT, 3, 1); |
__ bind(&single_char); |
// rax: string |
@@ -3472,7 +3472,7 @@ void StringCompareStub::Generate(MacroAssembler* masm) { |
// Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater) |
// tagged as a small integer. |
__ bind(&runtime); |
- __ TailCallRuntime(Runtime::kStringCompare, 2, 1); |
+ __ TailCallRuntime(Runtime::kStringCompareRT, 2, 1); |
} |
@@ -3770,7 +3770,7 @@ void CompareICStub::GenerateStrings(MacroAssembler* masm) { |
if (equality) { |
__ TailCallRuntime(Runtime::kStringEquals, 2, 1); |
} else { |
- __ TailCallRuntime(Runtime::kStringCompare, 2, 1); |
+ __ TailCallRuntime(Runtime::kStringCompareRT, 2, 1); |
} |
__ bind(&miss); |