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

Unified Diff: src/compiler.h

Issue 993473002: [turbofan] Add support for inlining of builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/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 2f1d3335e5f9985e0304860283d62731e5b9acfa..d4657055cc55cd60949557f790b90539e54c1634 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -167,7 +167,8 @@ class CompilationInfo {
kDisableFutureOptimization = 1 << 20,
kModule = 1 << 21,
kToplevel = 1 << 22,
- kSplittingEnabled = 1 << 23
+ kSplittingEnabled = 1 << 23,
+ kBuiltinInliningEnabled = 1 << 24
};
CompilationInfo(Handle<JSFunction> closure, Zone* zone);
@@ -294,6 +295,12 @@ class CompilationInfo {
bool is_inlining_enabled() const { return GetFlag(kInliningEnabled); }
+ void MarkAsBuiltinInliningEnabled() { SetFlag(kBuiltinInliningEnabled); }
+
+ bool is_builtin_inlining_enabled() const {
+ return GetFlag(kBuiltinInliningEnabled);
+ }
+
void MarkAsTypingEnabled() { SetFlag(kTypingEnabled); }
bool is_typing_enabled() const { return GetFlag(kTypingEnabled); }
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698