Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: src/ic/ic-state.h

Issue 755513003: Hydrogen: fix keyed loads with string keys (Closed) Base URL: gh:v8/v8@master
Patch Set: fixes Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698