| Index: src/handles.cc
|
| ===================================================================
|
| --- src/handles.cc (revision 3788)
|
| +++ src/handles.cc (working copy)
|
| @@ -686,7 +686,7 @@
|
|
|
| bool CompileLazyShared(Handle<SharedFunctionInfo> shared,
|
| ClearExceptionFlag flag) {
|
| - CompilationInfo info(shared, Handle<Object>::null(), 0);
|
| + CompilationInfo info(shared);
|
| return CompileLazyHelper(&info, flag);
|
| }
|
|
|
| @@ -694,8 +694,7 @@
|
| bool CompileLazy(Handle<JSFunction> function,
|
| Handle<Object> receiver,
|
| ClearExceptionFlag flag) {
|
| - Handle<SharedFunctionInfo> shared(function->shared());
|
| - CompilationInfo info(shared, receiver, 0);
|
| + CompilationInfo info(function, 0, receiver);
|
| bool result = CompileLazyHelper(&info, flag);
|
| LOG(FunctionCreateEvent(*function));
|
| return result;
|
| @@ -705,8 +704,7 @@
|
| bool CompileLazyInLoop(Handle<JSFunction> function,
|
| Handle<Object> receiver,
|
| ClearExceptionFlag flag) {
|
| - Handle<SharedFunctionInfo> shared(function->shared());
|
| - CompilationInfo info(shared, receiver, 1);
|
| + CompilationInfo info(function, 1, receiver);
|
| bool result = CompileLazyHelper(&info, flag);
|
| LOG(FunctionCreateEvent(*function));
|
| return result;
|
|
|