| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index 6adb62fc166b3880ad364d9225920e457d2a2918..5f062d9649a6586aa003d603b9fbe774b4b51914 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -5261,11 +5261,10 @@ void HOptimizedGraphBuilder::BuildForInBody(ForInStatement* stmt,
|
| }
|
| set_current_block(if_slow);
|
| {
|
| - ForInFilterStub stub(isolate());
|
| + Callable callable = CodeFactory::ForInFilter(isolate());
|
| HValue* values[] = {context(), key, enumerable};
|
| - HConstant* stub_value = Add<HConstant>(stub.GetCode());
|
| - Push(Add<HCallWithDescriptor>(stub_value, 0,
|
| - stub.GetCallInterfaceDescriptor(),
|
| + HConstant* stub_value = Add<HConstant>(callable.code());
|
| + Push(Add<HCallWithDescriptor>(stub_value, 0, callable.descriptor(),
|
| ArrayVector(values)));
|
| Add<HSimulate>(stmt->FilterId());
|
| FinishCurrentBlock(New<HCompareObjectEqAndBranch>(
|
|
|