Index: test/unittests/compiler/js-type-feedback-unittest.cc |
diff --git a/test/unittests/compiler/js-type-feedback-unittest.cc b/test/unittests/compiler/js-type-feedback-unittest.cc |
index 7737cfeeed72d68cc03350c47aa70113fe3eb1d8..bb257cb0a5f5ee3085f203a2d8e25951e1eb5235 100644 |
--- a/test/unittests/compiler/js-type-feedback-unittest.cc |
+++ b/test/unittests/compiler/js-type-feedback-unittest.cc |
@@ -83,7 +83,7 @@ class JSTypeFeedbackTest : public TypedGraphTest { |
Node* context = UndefinedConstant(); |
Unique<Name> name = Unique<Name>::CreateUninitialized( |
- isolate()->factory()->NewStringFromAsciiChecked(string)); |
+ isolate()->factory()->InternalizeUtf8String(string)); |
const Operator* op = javascript()->LoadNamed(name, feedback); |
Node* load = graph()->NewNode(op, global, vector, context); |
if (mode == JSTypeFeedbackSpecializer::kDeoptimizationEnabled) { |