Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: test/unittests/compiler/bytecode-graph-builder-unittest.cc

Issue 1467473002: Install ConstructNonConstructable as construct stub for non-constructables. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/regress/regress-inline-arrow-as-construct.js ('k') | test/webkit/class-syntax-call.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/compiler/bytecode-graph-builder-unittest.cc
diff --git a/test/unittests/compiler/bytecode-graph-builder-unittest.cc b/test/unittests/compiler/bytecode-graph-builder-unittest.cc
index 3135db022939b822b0331cfbac78b2b22942cc5c..ebb0b2c393b6df9ef3161a915537cca57ec861f0 100644
--- a/test/unittests/compiler/bytecode-graph-builder-unittest.cc
+++ b/test/unittests/compiler/bytecode-graph-builder-unittest.cc
@@ -78,7 +78,7 @@ Graph* BytecodeGraphBuilderTest::GetCompletedGraph(
Handle<String> name = factory()->NewStringFromStaticChars("test");
Handle<String> script = factory()->NewStringFromStaticChars("test() {}");
Handle<SharedFunctionInfo> shared_info =
- factory()->NewSharedFunctionInfo(name, MaybeHandle<Code>());
+ factory()->NewSharedFunctionInfo(name, MaybeHandle<Code>(), true);
shared_info->set_script(*factory()->NewScript(script));
if (!feedback_vector.is_null()) {
shared_info->set_feedback_vector(*feedback_vector.ToHandleChecked());
« no previous file with comments | « test/mjsunit/regress/regress-inline-arrow-as-construct.js ('k') | test/webkit/class-syntax-call.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698