OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_COMPILER_JS_OPERATOR_H_ | 5 #ifndef V8_COMPILER_JS_OPERATOR_H_ |
6 #define V8_COMPILER_JS_OPERATOR_H_ | 6 #define V8_COMPILER_JS_OPERATOR_H_ |
7 | 7 |
8 #include "src/runtime/runtime.h" | 8 #include "src/runtime/runtime.h" |
9 #include "src/unique.h" | 9 #include "src/unique.h" |
10 | 10 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 : name_(name), | 270 : name_(name), |
271 feedback_(feedback), | 271 feedback_(feedback), |
272 typeof_mode_(typeof_mode), | 272 typeof_mode_(typeof_mode), |
273 slot_index_(slot_index) {} | 273 slot_index_(slot_index) {} |
274 | 274 |
275 const Unique<Name>& name() const { return name_; } | 275 const Unique<Name>& name() const { return name_; } |
276 TypeofMode typeof_mode() const { return typeof_mode_; } | 276 TypeofMode typeof_mode() const { return typeof_mode_; } |
277 | 277 |
278 const VectorSlotPair& feedback() const { return feedback_; } | 278 const VectorSlotPair& feedback() const { return feedback_; } |
279 | 279 |
280 const int slot_index() const { return slot_index_; } | 280 int slot_index() const { return slot_index_; } |
281 | 281 |
282 private: | 282 private: |
283 const Unique<Name> name_; | 283 const Unique<Name> name_; |
284 const VectorSlotPair feedback_; | 284 const VectorSlotPair feedback_; |
285 const TypeofMode typeof_mode_; | 285 const TypeofMode typeof_mode_; |
286 const int slot_index_; | 286 const int slot_index_; |
287 }; | 287 }; |
288 | 288 |
289 bool operator==(LoadGlobalParameters const&, LoadGlobalParameters const&); | 289 bool operator==(LoadGlobalParameters const&, LoadGlobalParameters const&); |
290 bool operator!=(LoadGlobalParameters const&, LoadGlobalParameters const&); | 290 bool operator!=(LoadGlobalParameters const&, LoadGlobalParameters const&); |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 Zone* const zone_; | 547 Zone* const zone_; |
548 | 548 |
549 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 549 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
550 }; | 550 }; |
551 | 551 |
552 } // namespace compiler | 552 } // namespace compiler |
553 } // namespace internal | 553 } // namespace internal |
554 } // namespace v8 | 554 } // namespace v8 |
555 | 555 |
556 #endif // V8_COMPILER_JS_OPERATOR_H_ | 556 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |