| 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 #ifndef V8_INTERPRETER_BYTECODE_LABEL_H_ | 5 #ifndef V8_INTERPRETER_BYTECODE_LABEL_H_ |
| 6 #define V8_INTERPRETER_BYTECODE_LABEL_H_ | 6 #define V8_INTERPRETER_BYTECODE_LABEL_H_ |
| 7 | 7 |
| 8 #include "src/zone-containers.h" | 8 #include "src/zone/zone-containers.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| 11 namespace internal { | 11 namespace internal { |
| 12 namespace interpreter { | 12 namespace interpreter { |
| 13 | 13 |
| 14 class BytecodeArrayBuilder; | 14 class BytecodeArrayBuilder; |
| 15 | 15 |
| 16 // A label representing a branch target in a bytecode array. When a | 16 // A label representing a branch target in a bytecode array. When a |
| 17 // label is bound, it represents a known position in the bytecode | 17 // label is bound, it represents a known position in the bytecode |
| 18 // array. For labels that are forward references there can be at most | 18 // array. For labels that are forward references there can be at most |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 ZoneVector<BytecodeLabel> labels_; | 78 ZoneVector<BytecodeLabel> labels_; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(BytecodeLabels); | 80 DISALLOW_COPY_AND_ASSIGN(BytecodeLabels); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace interpreter | 83 } // namespace interpreter |
| 84 } // namespace internal | 84 } // namespace internal |
| 85 } // namespace v8 | 85 } // namespace v8 |
| 86 | 86 |
| 87 #endif // V8_INTERPRETER_BYTECODE_LABEL_H_ | 87 #endif // V8_INTERPRETER_BYTECODE_LABEL_H_ |
| OLD | NEW |