| 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/ast/ast.h" | 7 #include "src/ast/ast.h" |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/compilation-info.h" | 9 #include "src/compilation-info.h" |
| 10 #include "src/compiler/compiler-source-position-table.h" | 10 #include "src/compiler/compiler-source-position-table.h" |
| 11 #include "src/compiler/linkage.h" | 11 #include "src/compiler/linkage.h" |
| 12 #include "src/compiler/operator-properties.h" | 12 #include "src/compiler/operator-properties.h" |
| 13 #include "src/compiler/simplified-operator.h" | 13 #include "src/compiler/simplified-operator.h" |
| 14 #include "src/interpreter/bytecodes.h" | 14 #include "src/interpreter/bytecodes.h" |
| 15 #include "src/objects-inl.h" | 15 #include "src/objects-inl.h" |
| 16 #include "src/objects/literal-objects.h" |
| 16 | 17 |
| 17 namespace v8 { | 18 namespace v8 { |
| 18 namespace internal { | 19 namespace internal { |
| 19 namespace compiler { | 20 namespace compiler { |
| 20 | 21 |
| 21 // The abstract execution environment simulates the content of the interpreter | 22 // The abstract execution environment simulates the content of the interpreter |
| 22 // register file. The environment performs SSA-renaming of all tracked nodes at | 23 // register file. The environment performs SSA-renaming of all tracked nodes at |
| 23 // split and merge points in the control flow. | 24 // split and merge points in the control flow. |
| 24 class BytecodeGraphBuilder::Environment : public ZoneObject { | 25 class BytecodeGraphBuilder::Environment : public ZoneObject { |
| 25 public: | 26 public: |
| (...skipping 2274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2300 it->source_position().ScriptOffset(), start_position_.InliningId())); | 2301 it->source_position().ScriptOffset(), start_position_.InliningId())); |
| 2301 it->Advance(); | 2302 it->Advance(); |
| 2302 } else { | 2303 } else { |
| 2303 DCHECK_GT(it->code_offset(), offset); | 2304 DCHECK_GT(it->code_offset(), offset); |
| 2304 } | 2305 } |
| 2305 } | 2306 } |
| 2306 | 2307 |
| 2307 } // namespace compiler | 2308 } // namespace compiler |
| 2308 } // namespace internal | 2309 } // namespace internal |
| 2309 } // namespace v8 | 2310 } // namespace v8 |
| OLD | NEW |