| Index: src/crankshaft/hydrogen-instructions.cc
|
| diff --git a/src/crankshaft/hydrogen-instructions.cc b/src/crankshaft/hydrogen-instructions.cc
|
| index 328b71618fa6fedfb7204ef3037dca30882d15e7..3c3ae355ae5fc1f4b22c83ff38647ea95af8608c 100644
|
| --- a/src/crankshaft/hydrogen-instructions.cc
|
| +++ b/src/crankshaft/hydrogen-instructions.cc
|
| @@ -831,7 +831,6 @@ bool HInstruction::CanDeoptimize() {
|
| case HValue::kBitwise:
|
| case HValue::kBoundsCheck:
|
| case HValue::kBranch:
|
| - case HValue::kCallJSFunction:
|
| case HValue::kCallRuntime:
|
| case HValue::kCallWithDescriptor:
|
| case HValue::kChange:
|
| @@ -906,28 +905,6 @@ std::ostream& HUnaryCall::PrintDataTo(std::ostream& os) const { // NOLINT
|
| }
|
|
|
|
|
| -std::ostream& HCallJSFunction::PrintDataTo(std::ostream& os) const { // NOLINT
|
| - return os << NameOf(function()) << " #" << argument_count();
|
| -}
|
| -
|
| -
|
| -HCallJSFunction* HCallJSFunction::New(Isolate* isolate, Zone* zone,
|
| - HValue* context, HValue* function,
|
| - int argument_count) {
|
| - bool has_stack_check = false;
|
| - if (function->IsConstant()) {
|
| - HConstant* fun_const = HConstant::cast(function);
|
| - Handle<JSFunction> jsfun =
|
| - Handle<JSFunction>::cast(fun_const->handle(isolate));
|
| - has_stack_check = !jsfun.is_null() &&
|
| - (jsfun->code()->kind() == Code::FUNCTION ||
|
| - jsfun->code()->kind() == Code::OPTIMIZED_FUNCTION);
|
| - }
|
| -
|
| - return new (zone) HCallJSFunction(function, argument_count, has_stack_check);
|
| -}
|
| -
|
| -
|
| std::ostream& HBinaryCall::PrintDataTo(std::ostream& os) const { // NOLINT
|
| return os << NameOf(first()) << " " << NameOf(second()) << " #"
|
| << argument_count();
|
|
|