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_CONSTANT_ARRAY_BUILDER_H_ | 5 #ifndef V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ |
6 #define V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ | 6 #define V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ |
7 | 7 |
8 #include "src/identity-map.h" | 8 #include "src/identity-map.h" |
9 #include "src/interpreter/bytecodes.h" | 9 #include "src/interpreter/bytecodes.h" |
10 #include "src/zone-containers.h" | 10 #include "src/zone/zone-containers.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 class Isolate; | 15 class Isolate; |
16 | 16 |
17 namespace interpreter { | 17 namespace interpreter { |
18 | 18 |
19 // A helper class for constructing constant arrays for the | 19 // A helper class for constructing constant arrays for the |
20 // interpreter. Each instance of this class is intended to be used to | 20 // interpreter. Each instance of this class is intended to be used to |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 ZoneMap<Smi*, index_t> smi_map_; | 112 ZoneMap<Smi*, index_t> smi_map_; |
113 ZoneVector<std::pair<Smi*, index_t>> smi_pairs_; | 113 ZoneVector<std::pair<Smi*, index_t>> smi_pairs_; |
114 Handle<Object> the_hole_value_; | 114 Handle<Object> the_hole_value_; |
115 }; | 115 }; |
116 | 116 |
117 } // namespace interpreter | 117 } // namespace interpreter |
118 } // namespace internal | 118 } // namespace internal |
119 } // namespace v8 | 119 } // namespace v8 |
120 | 120 |
121 #endif // V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ | 121 #endif // V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_ |
OLD | NEW |