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