OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_IC_STATE_H_ | 5 #ifndef V8_IC_STATE_H_ |
6 #define V8_IC_STATE_H_ | 6 #define V8_IC_STATE_H_ |
7 | 7 |
8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" |
| 9 #include "src/parsing/token.h" |
9 | 10 |
10 namespace v8 { | 11 namespace v8 { |
11 namespace internal { | 12 namespace internal { |
12 | 13 |
13 | 14 |
14 const int kMaxKeyedPolymorphism = 4; | 15 const int kMaxKeyedPolymorphism = 4; |
15 | 16 |
16 | 17 |
17 class ICUtility : public AllStatic { | 18 class ICUtility : public AllStatic { |
18 public: | 19 public: |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 << LanguageModeState::kShift; | 267 << LanguageModeState::kShift; |
267 | 268 |
268 private: | 269 private: |
269 const ExtraICState state_; | 270 const ExtraICState state_; |
270 }; | 271 }; |
271 | 272 |
272 } // namespace internal | 273 } // namespace internal |
273 } // namespace v8 | 274 } // namespace v8 |
274 | 275 |
275 #endif // V8_IC_STATE_H_ | 276 #endif // V8_IC_STATE_H_ |
OLD | NEW |