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/compiler/bytecode-graph-builder.h" | 5 #include "src/compiler/bytecode-graph-builder.h" |
6 | 6 |
7 #include "src/compiler/bytecode-branch-analysis.h" | 7 #include "src/compiler/bytecode-branch-analysis.h" |
8 #include "src/compiler/linkage.h" | 8 #include "src/compiler/linkage.h" |
9 #include "src/compiler/operator-properties.h" | 9 #include "src/compiler/operator-properties.h" |
10 #include "src/interpreter/bytecodes.h" | 10 #include "src/interpreter/bytecodes.h" |
| 11 #include "src/objects-inl.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 namespace compiler { | 15 namespace compiler { |
15 | 16 |
16 // The abstract execution environment simulates the content of the interpreter | 17 // The abstract execution environment simulates the content of the interpreter |
17 // register file. The environment performs SSA-renaming of all tracked nodes at | 18 // register file. The environment performs SSA-renaming of all tracked nodes at |
18 // split and merge points in the control flow. | 19 // split and merge points in the control flow. |
19 class BytecodeGraphBuilder::Environment : public ZoneObject { | 20 class BytecodeGraphBuilder::Environment : public ZoneObject { |
20 public: | 21 public: |
(...skipping 1909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1930 // Phi does not exist yet, introduce one. | 1931 // Phi does not exist yet, introduce one. |
1931 value = NewPhi(inputs, value, control); | 1932 value = NewPhi(inputs, value, control); |
1932 value->ReplaceInput(inputs - 1, other); | 1933 value->ReplaceInput(inputs - 1, other); |
1933 } | 1934 } |
1934 return value; | 1935 return value; |
1935 } | 1936 } |
1936 | 1937 |
1937 } // namespace compiler | 1938 } // namespace compiler |
1938 } // namespace internal | 1939 } // namespace internal |
1939 } // namespace v8 | 1940 } // namespace v8 |
OLD | NEW |