Chromium Code Reviews| 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 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 229 static ContextualMode GetContextualMode(ExtraICState state) { | 229 static ContextualMode GetContextualMode(ExtraICState state) { |
| 230 return LoadICState(state).contextual_mode(); | 230 return LoadICState(state).contextual_mode(); |
| 231 } | 231 } |
| 232 | 232 |
| 233 private: | 233 private: |
| 234 class ContextualModeBits : public BitField<ContextualMode, 0, 1> {}; | 234 class ContextualModeBits : public BitField<ContextualMode, 0, 1> {}; |
| 235 STATIC_ASSERT(static_cast<int>(NOT_CONTEXTUAL) == 0); | 235 STATIC_ASSERT(static_cast<int>(NOT_CONTEXTUAL) == 0); |
| 236 | 236 |
| 237 const ExtraICState state_; | 237 const ExtraICState state_; |
| 238 }; | 238 }; |
| 239 | |
|
Jakob Kummerow
2014/12/11 09:52:42
nit: no need to add these empty lines
| |
| 240 | |
| 239 } | 241 } |
| 240 } | 242 } |
| 241 | 243 |
| 242 #endif // V8_IC_STATE_H_ | 244 #endif // V8_IC_STATE_H_ |
| OLD | NEW |