| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index 07177a277a091b40671e1d9acfab32a55d32cc7f..b3446b6cb74af9f105a1223a561ea93ff6dfa02a 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1681,10 +1681,9 @@ Handle<Code> StringAddStub::GenerateCode() {
|
| return DoGenerateCode(this);
|
| }
|
|
|
| -
|
| template <>
|
| -HValue* CodeStubGraphBuilder<ToBooleanStub>::BuildCodeInitializedStub() {
|
| - ToBooleanStub* stub = casted_stub();
|
| +HValue* CodeStubGraphBuilder<ToBooleanICStub>::BuildCodeInitializedStub() {
|
| + ToBooleanICStub* stub = casted_stub();
|
| IfBuilder if_true(this);
|
| if_true.If<HBranch>(GetParameter(0), stub->types());
|
| if_true.Then();
|
| @@ -1694,11 +1693,7 @@ HValue* CodeStubGraphBuilder<ToBooleanStub>::BuildCodeInitializedStub() {
|
| return graph()->GetConstantFalse();
|
| }
|
|
|
| -
|
| -Handle<Code> ToBooleanStub::GenerateCode() {
|
| - return DoGenerateCode(this);
|
| -}
|
| -
|
| +Handle<Code> ToBooleanICStub::GenerateCode() { return DoGenerateCode(this); }
|
|
|
| template <>
|
| HValue* CodeStubGraphBuilder<StoreGlobalStub>::BuildCodeInitializedStub() {
|
|
|