| Index: test/cctest/compiler/test-run-intrinsics.cc
|
| diff --git a/test/cctest/compiler/test-run-intrinsics.cc b/test/cctest/compiler/test-run-intrinsics.cc
|
| index 411d63da2de6d8cac14b0eb947889b8fbe11c4e8..7fc5cc9758a773abd14da9690d7e225635aab9be 100644
|
| --- a/test/cctest/compiler/test-run-intrinsics.cc
|
| +++ b/test/cctest/compiler/test-run-intrinsics.cc
|
| @@ -63,7 +63,7 @@ TEST(IncrementStatsCounter) {
|
| reinterpret_cast<v8::Isolate*>(CcTest::InitIsolateOnce())
|
| ->SetCounterFunction(LookupCounter);
|
| FunctionTester T(
|
| - "(function() { %_IncrementStatsCounter(\"" COUNTER_NAME "\"); })", flags);
|
| + "(function() { %_IncrementStatsCounter('" COUNTER_NAME "'); })", flags);
|
| StatsCounter counter(T.main_isolate(), COUNTER_NAME);
|
| if (!counter.Enabled()) return;
|
|
|
| @@ -235,6 +235,18 @@ TEST(OneByteSeqStringSetChar) {
|
| }
|
|
|
|
|
| +TEST(NewConsString) {
|
| + FLAG_turbo_deoptimization = true;
|
| + FunctionTester T(
|
| + "(function() { "
|
| + " return %_NewConsString(14, true, 'abcdefghi', 'jklmn');"
|
| + " })",
|
| + flags);
|
| +
|
| + T.CheckCall(T.Val("abcdefghijklmn"));
|
| +}
|
| +
|
| +
|
| TEST(SetValueOf) {
|
| FLAG_turbo_deoptimization = true;
|
| FunctionTester T("(function(a,b) { return %_SetValueOf(a,b); })", flags);
|
|
|