Index: src/liveedit.h |
diff --git a/src/liveedit.h b/src/liveedit.h |
index 68589417d8eadb826c583b496fde6517a4d2d1f2..5be63ac0a12618039fc1b2a68544a78481c064d8 100644 |
--- a/src/liveedit.h |
+++ b/src/liveedit.h |
@@ -218,6 +218,7 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> { |
int end_position, |
int param_num, |
int literal_count, |
+ int slot_count, |
int parent_index); |
void SetFunctionCode(Handle<Code> function_code, |
@@ -239,6 +240,8 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> { |
Handle<Code> GetFunctionCode(); |
+ Handle<FixedArray> GetFeedbackVector(); |
+ |
Handle<Object> GetCodeScopeInfo(); |
int GetStartPosition() { |
@@ -247,6 +250,10 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> { |
int GetEndPosition() { return this->GetSmiValueField(kEndPositionOffset_); } |
+ int GetSlotCount() { |
+ return this->GetSmiValueField(kSlotNumOffset_); |
+ } |
+ |
private: |
static const int kFunctionNameOffset_ = 0; |
static const int kStartPositionOffset_ = 1; |
@@ -258,7 +265,8 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> { |
static const int kParentIndexOffset_ = 7; |
static const int kSharedFunctionInfoOffset_ = 8; |
static const int kLiteralNumOffset_ = 9; |
- static const int kSize_ = 10; |
+ static const int kSlotNumOffset_ = 10; |
+ static const int kSize_ = 11; |
friend class JSArrayBasedStruct<FunctionInfoWrapper>; |
}; |