| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index 651ce0a0e8902767550da76a0bd97de5e3c8000f..817d8f25d9a7bffa484df9e6434b3a06c094b8fc 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -86,8 +86,8 @@ class CodeStubGraphBuilderBase : public HGraphBuilder {
|
| ArrayContextChecker(HGraphBuilder* builder, HValue* constructor,
|
| HValue* array_function)
|
| : checker_(builder) {
|
| - checker_.If<HCompareObjectEqAndBranch, HValue*>(constructor,
|
| - array_function);
|
| + checker_.If<HCompareObjectAndBranch, HValue*>(constructor,
|
| + array_function);
|
| checker_.Then();
|
| }
|
|
|
| @@ -236,7 +236,7 @@ class CodeStubGraphBuilder: public CodeStubGraphBuilderBase {
|
| // Force a deopt that falls back to the runtime.
|
| HValue* undefined = graph()->GetConstantUndefined();
|
| IfBuilder builder(this);
|
| - builder.IfNot<HCompareObjectEqAndBranch, HValue*>(undefined, undefined);
|
| + builder.IfNot<HCompareObjectAndBranch, HValue*>(undefined, undefined);
|
| builder.Then();
|
| builder.ElseDeopt();
|
| return undefined;
|
| @@ -352,7 +352,7 @@ HValue* CodeStubGraphBuilder<FastCloneShallowArrayStub>::BuildCodeStub() {
|
| NULL,
|
| FAST_ELEMENTS));
|
| IfBuilder checker(this);
|
| - checker.IfNot<HCompareObjectEqAndBranch, HValue*>(allocation_site, undefined);
|
| + checker.IfNot<HCompareObjectAndBranch, HValue*>(allocation_site, undefined);
|
| checker.Then();
|
|
|
| HObjectAccess access = HObjectAccess::ForAllocationSiteTransitionInfo();
|
| @@ -421,7 +421,7 @@ HValue* CodeStubGraphBuilder<FastCloneShallowObjectStub>::BuildCodeStub() {
|
| FAST_ELEMENTS));
|
|
|
| IfBuilder checker(this);
|
| - checker.IfNot<HCompareObjectEqAndBranch, HValue*>(boilerplate, undefined);
|
| + checker.IfNot<HCompareObjectAndBranch, HValue*>(boilerplate, undefined);
|
| checker.And();
|
|
|
| int size = JSObject::kHeaderSize + casted_stub()->length() * kPointerSize;
|
| @@ -897,7 +897,7 @@ HValue* CodeStubGraphBuilder<StoreGlobalStub>::BuildCodeInitializedStub() {
|
|
|
| if (stub->is_constant()) {
|
| IfBuilder builder(this);
|
| - builder.If<HCompareObjectEqAndBranch>(cell_contents, value);
|
| + builder.If<HCompareObjectAndBranch>(cell_contents, value);
|
| builder.Then();
|
| builder.ElseDeopt();
|
| builder.End();
|
| @@ -907,7 +907,7 @@ HValue* CodeStubGraphBuilder<StoreGlobalStub>::BuildCodeInitializedStub() {
|
| // runtime.
|
| IfBuilder builder(this);
|
| HValue* hole_value = Add<HConstant>(hole, Representation::Tagged());
|
| - builder.If<HCompareObjectEqAndBranch>(cell_contents, hole_value);
|
| + builder.If<HCompareObjectAndBranch>(cell_contents, hole_value);
|
| builder.Then();
|
| builder.Deopt();
|
| builder.Else();
|
|
|