| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index 1774ce26d0dcd4d91ee511916980054d9c3ed772..705e5725e3198a6b05361ca71c741ad5c81694f3 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -1138,28 +1138,6 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info,
|
| - bool pretenure) {
|
| - // Use the fast case closure allocation code that allocates in new
|
| - // space for nested functions that don't need literals cloning. If
|
| - // we're running with the --always-opt or the --prepare-always-opt
|
| - // flag, we need to use the runtime function so that the new function
|
| - // we are creating here gets a chance to have its code optimized and
|
| - // doesn't just get a copy of the existing unoptimized code.
|
| - if (!FLAG_always_opt && !FLAG_prepare_always_opt && !pretenure &&
|
| - scope()->is_function_scope() && info->num_literals() == 0) {
|
| - FastNewClosureStub stub(isolate(), info->language_mode(), info->kind());
|
| - __ mov(r5, Operand(info));
|
| - __ CallStub(&stub);
|
| - } else {
|
| - __ Push(info);
|
| - __ CallRuntime(pretenure ? Runtime::kNewClosure_Tenured
|
| - : Runtime::kNewClosure);
|
| - }
|
| - context()->Plug(r3);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitSetHomeObject(Expression* initializer, int offset,
|
| FeedbackVectorSlot slot) {
|
| DCHECK(NeedsHomeObject(initializer));
|
|
|