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

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

Issue 1155703006: Revert of Embedded constant pools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months 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
« no previous file with comments | « src/ic/ic-inl.h ('k') | src/ic/ic-state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
11 namespace internal { 11 namespace internal {
12 12
13 13
14 const int kMaxKeyedPolymorphism = 4; 14 const int kMaxKeyedPolymorphism = 4;
15 15
16 16
17 class ICUtility : public AllStatic { 17 class ICUtility : public AllStatic {
18 public: 18 public:
19 // Clear the inline cache to initial state. 19 // Clear the inline cache to initial state.
20 static void Clear(Isolate* isolate, Address address, Address constant_pool); 20 static void Clear(Isolate* isolate, Address address,
21 ConstantPoolArray* constant_pool);
21 }; 22 };
22 23
23 24
24 class CallICState final BASE_EMBEDDED { 25 class CallICState final BASE_EMBEDDED {
25 public: 26 public:
26 explicit CallICState(ExtraICState extra_ic_state); 27 explicit CallICState(ExtraICState extra_ic_state);
27 28
28 enum CallType { METHOD, FUNCTION }; 29 enum CallType { METHOD, FUNCTION };
29 30
30 CallICState(int argc, CallType call_type) 31 CallICState(int argc, CallType call_type)
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 static const ExtraICState kStrictModeState = STRICT 251 static const ExtraICState kStrictModeState = STRICT
251 << LanguageModeState::kShift; 252 << LanguageModeState::kShift;
252 253
253 private: 254 private:
254 const ExtraICState state_; 255 const ExtraICState state_;
255 }; 256 };
256 } 257 }
257 } 258 }
258 259
259 #endif // V8_IC_STATE_H_ 260 #endif // V8_IC_STATE_H_
OLDNEW
« no previous file with comments | « src/ic/ic-inl.h ('k') | src/ic/ic-state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698