| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index 77cb92900c4e2e021e8e7d5488c3e1a38ce232f8..b235436eaebd59a434e47ef4ba195927955b542e 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -422,9 +422,7 @@ Node* JSGenericLowering::LowerJSLoadNamed(Node* node) {
|
|
|
|
|
| Node* JSGenericLowering::LowerJSStoreProperty(Node* node) {
|
| - // TODO(mstarzinger): The strict_mode needs to be carried along in the
|
| - // operator so that graphs are fully compositional for inlining.
|
| - StrictMode strict_mode = info()->strict_mode();
|
| + StrictMode strict_mode = OpParameter<StrictMode>(node);
|
| KeyedStoreICStubShim stub(isolate(), strict_mode);
|
| ReplaceWithICStubCall(node, &stub);
|
| return node;
|
| @@ -432,12 +430,9 @@ Node* JSGenericLowering::LowerJSStoreProperty(Node* node) {
|
|
|
|
|
| Node* JSGenericLowering::LowerJSStoreNamed(Node* node) {
|
| - PrintableUnique<Name> key = OpParameter<PrintableUnique<Name> >(node);
|
| - // TODO(mstarzinger): The strict_mode needs to be carried along in the
|
| - // operator so that graphs are fully compositional for inlining.
|
| - StrictMode strict_mode = info()->strict_mode();
|
| - StoreICStubShim stub(isolate(), strict_mode);
|
| - PatchInsertInput(node, 1, jsgraph()->HeapConstant(key));
|
| + StoreNamedParameters params = OpParameter<StoreNamedParameters>(node);
|
| + StoreICStubShim stub(isolate(), params.strict_mode);
|
| + PatchInsertInput(node, 1, jsgraph()->HeapConstant(params.name));
|
| ReplaceWithICStubCall(node, &stub);
|
| return node;
|
| }
|
|
|