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

Unified Diff: test/cctest/compiler/test-run-bytecode-graph-builder.cc

Issue 1468003002: [Interpreter] Add support for cast operators to bytecode graph builder and (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed review comments. 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
Index: test/cctest/compiler/test-run-bytecode-graph-builder.cc
diff --git a/test/cctest/compiler/test-run-bytecode-graph-builder.cc b/test/cctest/compiler/test-run-bytecode-graph-builder.cc
index c47db851d28ad059e849fa9f25b81327e4c30852..0c72cceeb66f6cca30fafa22ace912455799f2ca 100644
--- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc
+++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc
@@ -650,6 +650,16 @@ TEST(BytecodeGraphBuilderGlobals) {
}
+TEST(BytecodeGraphBuilderCast) {
+ // TODO(mythria): tests for ToBoolean, ToObject, ToName, ToNumber.
+ // They need other unimplemented features to test.
+ // ToBoolean -> If
+ // ToObject -> ForIn
+ // ToNumber -> Inc/Dec
+ // ToName -> CreateObjectLiteral
+}
+
+
TEST(BytecodeGraphBuilderLogicalNot) {
HandleAndZoneScope scope;
Isolate* isolate = scope.main_isolate();

Powered by Google App Engine
This is Rietveld 408576698