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

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: rebased the patch and removed unused definitions of matcher classes in unittests 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 c753914920333701bcbae1c3a2a119de7b3357e1..e60afdfdf4418ce6ac6f5c09392e930f8012a24a 100644
--- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc
+++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc
@@ -706,6 +706,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