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

Unified Diff: src/ic/ic.h

Issue 1921963005: Version 5.1.281.19 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.1
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8-version.h ('k') | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.h
diff --git a/src/ic/ic.h b/src/ic/ic.h
index 4f07e867d1518298a465e35992f26bafd5eef4b1..8bd2f447b8b5543c7aed6ca46c3bcf8e92e098e6 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -112,7 +112,7 @@ class IC {
}
// Configure for most states.
- void ConfigureVectorState(IC::State new_state);
+ void ConfigureVectorState(IC::State new_state, Handle<Object> key);
// Configure the vector for MONOMORPHIC.
void ConfigureVectorState(Handle<Name> name, Handle<Map> map,
Handle<Code> handler);
@@ -296,10 +296,6 @@ class CallIC : public IC {
class LoadIC : public IC {
public:
- static ExtraICState ComputeExtraICState(TypeofMode typeof_mode) {
- return LoadICState(typeof_mode).GetExtraICState();
- }
-
TypeofMode typeof_mode() const {
return LoadICState::GetTypeofMode(extra_ic_state());
}
@@ -364,20 +360,6 @@ class LoadIC : public IC {
class KeyedLoadIC : public LoadIC {
public:
- // ExtraICState bits (building on IC)
- class IcCheckTypeField
- : public BitField<IcCheckType, LoadICState::kNextBitFieldOffset, 1> {};
-
- static ExtraICState ComputeExtraICState(TypeofMode typeof_mode,
- IcCheckType key_type) {
- return LoadICState(typeof_mode).GetExtraICState() |
- IcCheckTypeField::encode(key_type);
- }
-
- static IcCheckType GetKeyType(ExtraICState extra_state) {
- return IcCheckTypeField::decode(extra_state);
- }
-
KeyedLoadIC(FrameDepth depth, Isolate* isolate,
KeyedLoadICNexus* nexus = NULL)
: LoadIC(depth, isolate, nexus) {
« no previous file with comments | « include/v8-version.h ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698