| Index: src/debug/liveedit.h
|
| diff --git a/src/debug/liveedit.h b/src/debug/liveedit.h
|
| index 2034dcb026e19e082ae5f90dc6a0eb09c77fe922..3999e9792172ec7c1fc490491a0fd49380d9e137 100644
|
| --- a/src/debug/liveedit.h
|
| +++ b/src/debug/liveedit.h
|
| @@ -96,6 +96,7 @@ class LiveEdit : AllStatic {
|
| // (i.e. is a String), also creates a copy of the script with its original
|
| // source and sends notification to debugger.
|
| static Handle<Object> ChangeScriptSource(Handle<Script> original_script,
|
| + int max_function_literal_id,
|
| Handle<String> new_source,
|
| Handle<Object> old_script_name);
|
|
|
| @@ -278,7 +279,7 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> {
|
|
|
| void SetInitialProperties(Handle<String> name, int start_position,
|
| int end_position, int param_num, int literal_count,
|
| - int parent_index);
|
| + int parent_index, int function_literal_id);
|
|
|
| void SetFunctionScopeInfo(Handle<Object> scope_info_array) {
|
| this->SetField(kFunctionScopeInfoOffset_, scope_info_array);
|
| @@ -311,7 +312,8 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> {
|
| static const int kParentIndexOffset_ = 5;
|
| static const int kSharedFunctionInfoOffset_ = 6;
|
| static const int kLiteralNumOffset_ = 7;
|
| - static const int kSize_ = 8;
|
| + static const int kFunctionLiteralIdOffset_ = 8;
|
| + static const int kSize_ = 9;
|
|
|
| friend class JSArrayBasedStruct<FunctionInfoWrapper>;
|
| };
|
|
|