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

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

Issue 1435423002: [Interpreter] Add New, CallRuntime and CallJSRuntime support to BytecodeGraphBuilder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_tf_globals
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « test/cctest/compiler/test-run-bytecode-graph-builder.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <iostream> 5 #include <iostream>
6 6
7 #include "src/compiler/bytecode-graph-builder.h" 7 #include "src/compiler/bytecode-graph-builder.h"
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-visualizer.h" 9 #include "src/compiler/graph-visualizer.h"
10 #include "src/compiler/instruction.h" 10 #include "src/compiler/instruction.h"
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 Matcher<Node*> value_matcher = IsNumberConstant(321); 592 Matcher<Node*> value_matcher = IsNumberConstant(321);
593 Matcher<Node*> feedback_vector_matcher = IsFeedbackVector(start, start); 593 Matcher<Node*> feedback_vector_matcher = IsFeedbackVector(start, start);
594 Matcher<Node*> store_global_matcher = IsJSStoreGlobal( 594 Matcher<Node*> store_global_matcher = IsJSStoreGlobal(
595 name, value_matcher, feedback_vector_matcher, start, start); 595 name, value_matcher, feedback_vector_matcher, start, start);
596 596
597 EXPECT_THAT(ret, IsReturn(_, store_global_matcher, _)); 597 EXPECT_THAT(ret, IsReturn(_, store_global_matcher, _));
598 } 598 }
599 } 599 }
600 } 600 }
601 601
602
603 // TODO(rmcilroy): Add CallRuntime, CallJSRuntime and New tests.
604
602 } // namespace compiler 605 } // namespace compiler
603 } // namespace internal 606 } // namespace internal
604 } // namespace v8 607 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-bytecode-graph-builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698