Chromium Code Reviews

Unified Diff: src/objects.h

Issue 1155503002: [turbofan] Prepare mechanism to enable TF on language subset. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« src/compiler.cc ('K') | « src/flag-definitions.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 94c04c68eae9e739067e7c684a7ddd7b555c6a05..ac88ec8ee13d4f8b51b9557da6804803a555a5ad 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7135,6 +7135,9 @@ class SharedFunctionInfo: public HeapObject {
// Is this a function or top-level/eval code.
DECL_BOOLEAN_ACCESSORS(is_function)
+ // Indicates that code for this function cannot be compiled with Crankshaft.
+ DECL_BOOLEAN_ACCESSORS(dont_crankshaft)
+
// Indicates that code for this function cannot be cached.
DECL_BOOLEAN_ACCESSORS(dont_cache)
@@ -7399,6 +7402,7 @@ class SharedFunctionInfo: public HeapObject {
kIsAnonymous,
kNameShouldPrintAsAnonymous,
kIsFunction,
+ kDontCrankshaft,
kDontCache,
kDontFlush,
kIsArrow,
« src/compiler.cc ('K') | « src/flag-definitions.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine