Index: src/debug/liveedit.h |
diff --git a/src/debug/liveedit.h b/src/debug/liveedit.h |
index 892c0690e28a7d247f41c1983f5b9e3c4825bcde..922d59598581241eafded54baeb8d4dab6da02ab 100644 |
--- a/src/debug/liveedit.h |
+++ b/src/debug/liveedit.h |
@@ -244,8 +244,8 @@ 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 function_literal_id); |
+ int end_position, int param_num, int parent_index, |
+ int function_literal_id); |
void SetFunctionScopeInfo(Handle<Object> scope_info_array) { |
this->SetField(kFunctionScopeInfoOffset_, scope_info_array); |
@@ -255,10 +255,6 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> { |
Handle<SharedFunctionInfo> GetSharedFunctionInfo(); |
- int GetLiteralCount() { |
- return this->GetSmiValueField(kLiteralNumOffset_); |
- } |
- |
int GetParentIndex() { |
return this->GetSmiValueField(kParentIndexOffset_); |
} |
@@ -277,7 +273,7 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> { |
static const int kFunctionScopeInfoOffset_ = 4; |
static const int kParentIndexOffset_ = 5; |
static const int kSharedFunctionInfoOffset_ = 6; |
- static const int kLiteralNumOffset_ = 7; |
+ static const int kLiteralNumOffset = 7; |
static const int kFunctionLiteralIdOffset_ = 8; |
static const int kSize_ = 9; |