Index: test/cctest/test-deoptimization.cc |
diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc |
index 620f6fe1a776fecca30ce948412b23a521ce37e2..dfc27548b5ab47068987de21f4b2f8d6e1afe24f 100644 |
--- a/test/cctest/test-deoptimization.cc |
+++ b/test/cctest/test-deoptimization.cc |
@@ -376,8 +376,8 @@ TEST(DeoptimizeBinaryOperationADDString) { |
CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); |
v8::Handle<v8::Value> result = env->Global()->Get(v8_str("result")); |
CHECK(result->IsString()); |
- v8::String::AsciiValue ascii(result); |
- CHECK_EQ("a+an X", *ascii); |
+ v8::String::Utf8Value utf8(result); |
+ CHECK_EQ("a+an X", *utf8); |
CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); |
} |