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

Unified Diff: src/debug/liveedit.h

Issue 2218873002: [liveedit] deal with FCG and bytecode... at the same time. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | src/debug/liveedit.cc » ('j') | src/debug/liveedit.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/liveedit.h
diff --git a/src/debug/liveedit.h b/src/debug/liveedit.h
index ec0f6dfcdeef667b167041ab0d27b4447b553d30..119c518521df6b1b634f33ceb24f680a939aeb1f 100644
--- a/src/debug/liveedit.h
+++ b/src/debug/liveedit.h
@@ -295,15 +295,14 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> {
int end_position, int param_num, int literal_count,
int parent_index);
- void SetFunctionCode(Handle<AbstractCode> function_code,
- Handle<HeapObject> code_scope_info);
-
void SetFunctionScopeInfo(Handle<Object> scope_info_array) {
this->SetField(kFunctionScopeInfoOffset_, scope_info_array);
}
void SetSharedFunctionInfo(Handle<SharedFunctionInfo> info);
+ Handle<SharedFunctionInfo> GetSharedFunctionInfo();
+
int GetLiteralCount() {
return this->GetSmiValueField(kLiteralNumOffset_);
}
@@ -312,12 +311,6 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> {
return this->GetSmiValueField(kParentIndexOffset_);
}
- Handle<AbstractCode> GetFunctionCode();
-
- MaybeHandle<TypeFeedbackMetadata> GetFeedbackMetadata();
-
- Handle<Object> GetCodeScopeInfo();
-
int GetStartPosition() {
return this->GetSmiValueField(kStartPositionOffset_);
}
@@ -329,13 +322,11 @@ class FunctionInfoWrapper : public JSArrayBasedStruct<FunctionInfoWrapper> {
static const int kStartPositionOffset_ = 1;
static const int kEndPositionOffset_ = 2;
static const int kParamNumOffset_ = 3;
- static const int kCodeOffset_ = 4;
- static const int kCodeScopeInfoOffset_ = 5;
- static const int kFunctionScopeInfoOffset_ = 6;
- static const int kParentIndexOffset_ = 7;
- static const int kSharedFunctionInfoOffset_ = 8;
- static const int kLiteralNumOffset_ = 9;
- static const int kSize_ = 10;
+ static const int kFunctionScopeInfoOffset_ = 4;
+ static const int kParentIndexOffset_ = 5;
+ static const int kSharedFunctionInfoOffset_ = 6;
+ static const int kLiteralNumOffset_ = 7;
+ static const int kSize_ = 8;
friend class JSArrayBasedStruct<FunctionInfoWrapper>;
};
« no previous file with comments | « no previous file | src/debug/liveedit.cc » ('j') | src/debug/liveedit.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698