OLD | NEW |
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 Loading... |
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 |
OLD | NEW |