Fix test-api/ObjectProtoToStringES6

Fixes tree closure caused by r26415

BUG=v8:3502
R=arv@chromium.org
LOG=N

Review URL: https://codereview.chromium.org/869773005

Cr-Commit-Position: refs/heads/master@{#26416}
This commit is contained in:
caitpotter88 2015-02-03 14:18:06 -08:00 committed by Commit bot
parent b5c43674f9
commit 600474ad44

View File

@ -14020,7 +14020,7 @@ TEST(ObjectProtoToStringES6) {
Local<Value> valueNumber = v8_num(123);
Local<v8::Symbol> valueSymbol = v8_symbol("TestSymbol");
Local<v8::Function> valueFunction =
CompileRun("function fn() {}").As<v8::Function>();
CompileRun("(function fn() {})").As<v8::Function>();
Local<v8::Object> valueObject = v8::Object::New(v8::Isolate::GetCurrent());
Local<v8::Primitive> valueNull = v8::Null(v8::Isolate::GetCurrent());
Local<v8::Primitive> valueUndef = v8::Undefined(v8::Isolate::GetCurrent());