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

Unified Diff: src/objects.h

Issue 1407633002: [es6] parse arrow ConciseBody with accept_IN flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/ast.h ('k') | src/objects.cc » ('j') | src/parser.cc » ('J')
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 100da7d766e86c8f57b7712b6216d0b72fc39dfa..788cac9c135ce6f4e53e087ba679e45dfe7201c2 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6710,6 +6710,10 @@ class SharedFunctionInfo: public HeapObject {
// Indicates that the the shared function info has never been compiled before.
DECL_BOOLEAN_ACCESSORS(never_compiled)
+ // Indicates (for non-eager compilation) that a function's body can be parsed
+ // accepting [In] grammar production variants.
+ DECL_BOOLEAN_ACCESSORS(accept_IN)
+
inline FunctionKind kind();
inline void set_kind(FunctionKind kind);
@@ -6983,6 +6987,7 @@ class SharedFunctionInfo: public HeapObject {
kIsAsmFunction,
kDeserialized,
kNeverCompiled,
+ kAcceptIn,
kCompilerHintsCount // Pseudo entry
};
// Add hints for other modes when they're added.
« no previous file with comments | « src/ast.h ('k') | src/objects.cc » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698