Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 4210) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -667,14 +667,12 @@ |
Comment cmnt(masm_, "[ FunctionLiteral"); |
// Build the function boilerplate and instantiate it. |
- Handle<JSFunction> boilerplate = |
- Compiler::BuildBoilerplate(expr, script(), this); |
+ Handle<SharedFunctionInfo> function_info = |
+ Compiler::BuildFunctionInfo(expr, script(), this); |
if (HasStackOverflow()) return; |
- ASSERT(boilerplate->IsBoilerplate()); |
- |
// Create a new closure. |
- __ mov(r0, Operand(boilerplate)); |
+ __ mov(r0, Operand(function_info)); |
__ stm(db_w, sp, cp.bit() | r0.bit()); |
__ CallRuntime(Runtime::kNewClosure, 2); |
Apply(context_, r0); |