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

Unified Diff: src/ast.h

Issue 1183733006: Keep a canonical list of shared function infos. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 5 years, 6 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 | « src/arm64/full-codegen-arm64.cc ('k') | src/ast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index 8eae849358dd5de1c3d168b0cd8d9b42baf38454..c6f7dbd107182e461a83340d44e5b9d348c1117a 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -2518,8 +2518,6 @@ class FunctionLiteral final : public Expression {
bool AllowsLazyCompilation();
bool AllowsLazyCompilationWithoutContext();
- void InitializeSharedInfo(Handle<Code> code);
-
Handle<String> debug_name() const {
if (raw_name_ != NULL && !raw_name_->IsEmpty()) {
return raw_name_->string();
@@ -2554,9 +2552,6 @@ class FunctionLiteral final : public Expression {
inferred_name_ = Handle<String>();
}
- // shared_info may be null if it's not cached in full code.
- Handle<SharedFunctionInfo> shared_info() { return shared_info_; }
-
bool pretenure() { return Pretenure::decode(bitfield_); }
void set_pretenure() { bitfield_ |= Pretenure::encode(true); }
@@ -2638,7 +2633,6 @@ class FunctionLiteral final : public Expression {
private:
const AstRawString* raw_name_;
Handle<String> name_;
- Handle<SharedFunctionInfo> shared_info_;
Scope* scope_;
ZoneList<Statement*>* body_;
const AstString* raw_inferred_name_;
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698