Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index 6fb756f5cad9808b248800d11dc7ba42858666df..2ce182b76e4ede86d11ca9df82399eff333f8492 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -296,19 +296,14 @@ class CallIC : public IC { |
class LoadIC : public IC { |
public: |
- static ExtraICState ComputeExtraICState(TypeofMode typeof_mode, |
- LanguageMode language_mode) { |
- return LoadICState(typeof_mode, language_mode).GetExtraICState(); |
+ static ExtraICState ComputeExtraICState(TypeofMode typeof_mode) { |
+ return LoadICState(typeof_mode).GetExtraICState(); |
} |
TypeofMode typeof_mode() const { |
return LoadICState::GetTypeofMode(extra_ic_state()); |
} |
- LanguageMode language_mode() const { |
- return LoadICState::GetLanguageMode(extra_ic_state()); |
- } |
- |
LoadIC(FrameDepth depth, Isolate* isolate, FeedbackNexus* nexus = NULL) |
: IC(depth, isolate, nexus) { |
DCHECK(nexus != NULL); |
@@ -323,9 +318,8 @@ class LoadIC : public IC { |
static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } |
static void GenerateMiss(MacroAssembler* masm); |
- static void GenerateRuntimeGetProperty(MacroAssembler* masm, |
- LanguageMode language_mode); |
- static void GenerateNormal(MacroAssembler* masm, LanguageMode language_mode); |
+ static void GenerateRuntimeGetProperty(MacroAssembler* masm); |
+ static void GenerateNormal(MacroAssembler* masm); |
static Handle<Code> initialize_stub(Isolate* isolate, |
ExtraICState extra_state); |
@@ -342,14 +336,10 @@ class LoadIC : public IC { |
Handle<Code> slow_stub() const { |
if (kind() == Code::LOAD_IC) { |
- return is_strong(language_mode()) |
- ? isolate()->builtins()->LoadIC_Slow_Strong() |
- : isolate()->builtins()->LoadIC_Slow(); |
+ return isolate()->builtins()->LoadIC_Slow(); |
} else { |
DCHECK_EQ(Code::KEYED_LOAD_IC, kind()); |
- return is_strong(language_mode()) |
- ? isolate()->builtins()->KeyedLoadIC_Slow_Strong() |
- : isolate()->builtins()->KeyedLoadIC_Slow(); |
+ return isolate()->builtins()->KeyedLoadIC_Slow(); |
} |
} |
@@ -379,9 +369,8 @@ class KeyedLoadIC : public LoadIC { |
: public BitField<IcCheckType, LoadICState::kNextBitFieldOffset, 1> {}; |
static ExtraICState ComputeExtraICState(TypeofMode typeof_mode, |
- LanguageMode language_mode, |
IcCheckType key_type) { |
- return LoadICState(typeof_mode, language_mode).GetExtraICState() | |
+ return LoadICState(typeof_mode).GetExtraICState() | |
IcCheckTypeField::encode(key_type); |
} |
@@ -401,11 +390,9 @@ class KeyedLoadIC : public LoadIC { |
// Code generator routines. |
static void GenerateMiss(MacroAssembler* masm); |
- static void GenerateRuntimeGetProperty(MacroAssembler* masm, |
- LanguageMode language_mode); |
+ static void GenerateRuntimeGetProperty(MacroAssembler* masm); |
static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } |
- static void GenerateMegamorphic(MacroAssembler* masm, |
- LanguageMode language_mode); |
+ static void GenerateMegamorphic(MacroAssembler* masm); |
// Bit mask to be tested against bit field for the cases when |
// generic stub should go into slow case. |