Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 3fa66b856a83ed95dc47830c7f25aee095d81fc7..a5f9eeec764f70de8ee6833ef06726874f3df945 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -301,7 +301,7 @@ void JSGenericLowering::LowerJSToString(Node* node) { |
void JSGenericLowering::LowerJSToName(Node* node) { |
- ReplaceWithBuiltinCall(node, Context::TO_NAME_BUILTIN_INDEX, 1); |
+ ReplaceWithRuntimeCall(node, Runtime::kToName); |
} |