| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index dd62dcad9e665a3ac777b225988ab1df858c3053..6272492c2483f9c8ba4f179cb012123ea3e0a01b 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -5260,11 +5260,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>(
|
|
|