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

Unified Diff: test/unittests/interpreter/bytecode-array-builder-unittest.cc

Issue 1472323002: [es6] Correct parsing of regular expression literal flags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix oversight in interpreter 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/messages.js ('k') | test/webkit/fast/regex/toString-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
index acc7393a4f02b2324ef2359ed61d7725ad67ac45..1e4eb460b4832e0eafdd664cd1907634800d4cfb 100644
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
@@ -101,7 +101,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
.CreateArguments(CreateArgumentsType::kUnmappedArguments);
// Emit literal creation operations
- builder.CreateRegExpLiteral(0, reg)
+ builder.CreateRegExpLiteral(0, 0)
.CreateArrayLiteral(0, 0)
.CreateObjectLiteral(0, 0);
« no previous file with comments | « test/mjsunit/messages.js ('k') | test/webkit/fast/regex/toString-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698