diff options
author | Trevor Norris <trev.norris@gmail.com> | 2013-05-22 12:56:12 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2013-05-22 13:13:11 -0700 |
commit | 506fc4de1e820d97b637f6e01dda2ab97667efa7 (patch) | |
tree | e2f2fec2085f6c1a603b79be4e63e765292cca52 /deps/v8/test/cctest/test-deoptimization.cc | |
parent | 52adc0d96309f9e04cbb220d63206e32b8309081 (diff) | |
download | node-new-506fc4de1e820d97b637f6e01dda2ab97667efa7.tar.gz |
v8: upgrade to v3.19.3
Diffstat (limited to 'deps/v8/test/cctest/test-deoptimization.cc')
-rw-r--r-- | deps/v8/test/cctest/test-deoptimization.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/test-deoptimization.cc b/deps/v8/test/cctest/test-deoptimization.cc index 620f6fe1a7..dfc27548b5 100644 --- a/deps/v8/test/cctest/test-deoptimization.cc +++ b/deps/v8/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())); } |