| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index b39fdee2c354329e673eadbb273aacf24e8e0aab..f90b800dbc28a328bd09e41ea167c2f7b2db38e4 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1457,9 +1457,9 @@ HValue* CodeStubGraphBuilder<BinaryOpICStub>::BuildCodeInitializedStub() {
|
| HValue* left = GetParameter(BinaryOpICStub::kLeft);
|
| HValue* right = GetParameter(BinaryOpICStub::kRight);
|
|
|
| - Type* left_type = state.GetLeftType(zone());
|
| - Type* right_type = state.GetRightType(zone());
|
| - Type* result_type = state.GetResultType(zone());
|
| + Type* left_type = state.GetLeftType();
|
| + Type* right_type = state.GetRightType();
|
| + Type* result_type = state.GetResultType();
|
|
|
| DCHECK(!left_type->Is(Type::None()) && !right_type->Is(Type::None()) &&
|
| (state.HasSideEffects() || !result_type->Is(Type::None())));
|
| @@ -1538,9 +1538,9 @@ HValue* CodeStubGraphBuilder<BinaryOpWithAllocationSiteStub>::BuildCodeStub() {
|
| HValue* left = GetParameter(BinaryOpWithAllocationSiteStub::kLeft);
|
| HValue* right = GetParameter(BinaryOpWithAllocationSiteStub::kRight);
|
|
|
| - Type* left_type = state.GetLeftType(zone());
|
| - Type* right_type = state.GetRightType(zone());
|
| - Type* result_type = state.GetResultType(zone());
|
| + Type* left_type = state.GetLeftType();
|
| + Type* right_type = state.GetRightType();
|
| + Type* result_type = state.GetResultType();
|
| HAllocationMode allocation_mode(allocation_site);
|
|
|
| return BuildBinaryOperation(state.op(), left, right, left_type, right_type,
|
|
|