Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: src/liveedit.h

Issue 247373002: CallICStub with a "never patch" approach until customization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/ia32/code-stubs-ia32.cc ('K') | « src/ic.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/liveedit.h
diff --git a/src/liveedit.h b/src/liveedit.h
index 4833f0f3777361890c4e6d0a6658b67cd3abd6a6..b74ee1940e1e14dc708c92dc30fed6948748ad24 100644
--- a/src/liveedit.h
+++ b/src/liveedit.h
@@ -244,6 +244,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,
@@ -265,6 +266,8 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> {
Handle<Code> GetFunctionCode();
+ Handle<FixedArray> GetFeedbackVector();
+
Handle<Object> GetCodeScopeInfo();
int GetStartPosition() {
@@ -273,6 +276,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;
@@ -284,7 +291,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>;
};
« src/ia32/code-stubs-ia32.cc ('K') | « src/ic.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698