| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index eeeef2c9f4ca2445c53a699d6c7ee28bfc61204d..4573da151279d68dab655dbf0cbd587a40c7c892 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -62,7 +62,8 @@
|
| HContext* context() { return context_; }
|
| Isolate* isolate() { return info_->isolate(); }
|
|
|
| - HLoadNamedField* BuildLoadNamedField(HValue* object, FieldIndex index);
|
| + HLoadNamedField* BuildLoadNamedField(HValue* object,
|
| + FieldIndex index);
|
| void BuildStoreNamedField(HValue* object, HValue* value, FieldIndex index,
|
| Representation representation,
|
| bool transition_to_field);
|
| @@ -1900,8 +1901,7 @@
|
|
|
| HValue* hash = BuildElementIndexHash(key);
|
|
|
| - return BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash,
|
| - casted_stub()->language_mode());
|
| + return BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash);
|
| }
|
|
|
|
|
| @@ -2015,6 +2015,7 @@
|
| HValue* CodeStubGraphBuilder<KeyedLoadGenericStub>::BuildCodeStub() {
|
| HValue* receiver = GetParameter(LoadDescriptor::kReceiverIndex);
|
| HValue* key = GetParameter(LoadDescriptor::kNameIndex);
|
| +
|
| // Split into a smi/integer case and unique string case.
|
| HIfContinuation index_name_split_continuation(graph()->CreateBasicBlock(),
|
| graph()->CreateBasicBlock());
|
| @@ -2058,8 +2059,7 @@
|
|
|
| HValue* hash = BuildElementIndexHash(key);
|
|
|
| - Push(BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash,
|
| - casted_stub()->language_mode()));
|
| + Push(BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash));
|
| }
|
| kind_if.Else();
|
|
|
| @@ -2137,8 +2137,10 @@
|
|
|
| hash = AddUncasted<HShr>(hash, Add<HConstant>(Name::kHashShift));
|
|
|
| - HValue* value = BuildUncheckedDictionaryElementLoad(
|
| - receiver, properties, key, hash, casted_stub()->language_mode());
|
| + HValue* value = BuildUncheckedDictionaryElementLoad(receiver,
|
| + properties,
|
| + key,
|
| + hash);
|
| Push(value);
|
| }
|
| if_dict_properties.Else();
|
| @@ -2213,11 +2215,10 @@
|
| inline_or_runtime.Else();
|
| {
|
| // KeyedLookupCache miss; call runtime.
|
| - Add<HPushArguments>(receiver, key,
|
| - Add<HConstant>(casted_stub()->language_mode()));
|
| + Add<HPushArguments>(receiver, key);
|
| Push(Add<HCallRuntime>(
|
| isolate()->factory()->empty_string(),
|
| - Runtime::FunctionForId(Runtime::kKeyedGetProperty), 3));
|
| + Runtime::FunctionForId(Runtime::kKeyedGetProperty), 2));
|
| }
|
| inline_or_runtime.End();
|
| }
|
|
|