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

Unified Diff: src/compiler.h

Issue 1312713004: Remove CompilationInfo::MayUseThis() and replace it with what we really want to know: MustReplaceUn… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « src/arm64/lithium-codegen-arm64.cc ('k') | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 66b8274f8bf6f1b1b16acbf215369bd5a4142dbb..1b17befca070fc90852fa1065e5d8bb932dfd9a3 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -152,7 +152,6 @@ class CompilationInfo {
Handle<JSFunction> closure() const;
FunctionLiteral* literal() const;
Scope* scope() const;
- bool MayUseThis() const;
Handle<Context> context() const;
Handle<SharedFunctionInfo> shared_info() const;
bool has_shared_info() const;
@@ -320,6 +319,8 @@ class CompilationInfo {
}
bool ShouldEnsureSpaceForLazyDeopt() { return !IsStub(); }
+ bool MustReplaceUndefinedReceiverWithGlobalProxy();
+
// Determines whether or not to insert a self-optimization header.
bool ShouldSelfOptimize();
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698