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

Unified Diff: test/cctest/interpreter/test-bytecode-generator.cc

Issue 2152853002: [Interpreter] Avoid accessing on-heap literal in VisitLiteral. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: DCHECK to CHECK Created 4 years, 5 months 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/cctest/interpreter/bytecode_expectations/UnaryOperators.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/test-bytecode-generator.cc
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc
index 401ea1411ba52ccde08cd33ca18ea16db4df4b2d..3d2c3608636e98c3eaedf6cf4e9f1442427c5760 100644
--- a/test/cctest/interpreter/test-bytecode-generator.cc
+++ b/test/cctest/interpreter/test-bytecode-generator.cc
@@ -177,6 +177,8 @@ TEST(PrimitiveReturnStatements) {
"return +127;\n",
"return -128;\n",
+
+ "return 2.0;\n",
};
CHECK(CompareTexts(BuildActual(printer, snippets),
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698