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 "src/bit-vector.h" | 5 #include "src/bit-vector.h" |
6 #include "src/compiler/escape-analysis.h" | 6 #include "src/compiler/escape-analysis.h" |
7 #include "src/compiler/escape-analysis-reducer.h" | 7 #include "src/compiler/escape-analysis-reducer.h" |
8 #include "src/compiler/graph-visualizer.h" | 8 #include "src/compiler/graph-visualizer.h" |
9 #include "src/compiler/js-graph.h" | 9 #include "src/compiler/js-graph.h" |
10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
11 #include "src/compiler/simplified-operator.h" | 11 #include "src/compiler/simplified-operator.h" |
12 #include "src/types-inl.h" | 12 #include "src/types.h" |
13 #include "src/zone-containers.h" | 13 #include "src/zone-containers.h" |
14 #include "test/unittests/compiler/graph-unittest.h" | 14 #include "test/unittests/compiler/graph-unittest.h" |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
18 namespace compiler { | 18 namespace compiler { |
19 | 19 |
20 class EscapeAnalysisTest : public GraphTest { | 20 class EscapeAnalysisTest : public GraphTest { |
21 public: | 21 public: |
22 EscapeAnalysisTest() | 22 EscapeAnalysisTest() |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 ASSERT_EQ(object1, NodeProperties::GetValueInput(object_state, 0)); | 503 ASSERT_EQ(object1, NodeProperties::GetValueInput(object_state, 0)); |
504 ASSERT_EQ(object_state, NodeProperties::GetValueInput(object_state, 1)); | 504 ASSERT_EQ(object_state, NodeProperties::GetValueInput(object_state, 1)); |
505 | 505 |
506 Node* object_state2 = NodeProperties::GetValueInput(state_values1, 0); | 506 Node* object_state2 = NodeProperties::GetValueInput(state_values1, 0); |
507 ASSERT_EQ(object_state, object_state2); | 507 ASSERT_EQ(object_state, object_state2); |
508 } | 508 } |
509 | 509 |
510 } // namespace compiler | 510 } // namespace compiler |
511 } // namespace internal | 511 } // namespace internal |
512 } // namespace v8 | 512 } // namespace v8 |
OLD | NEW |