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

Unified Diff: src/objects.h

Issue 477263002: ES6: Add support for method shorthand in object literals (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add strict formal param checking Created 6 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 055bfdbe021191eb4e0cfeef8d049eba2fc163e8..a13f355a3ab8912a944b5daf04601b9a844787e6 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7208,6 +7208,9 @@ class SharedFunctionInfo: public HeapObject {
// Indicates that this function is an arrow function.
DECL_BOOLEAN_ACCESSORS(is_arrow)
+ // Indicates that this function is a concise method.
+ DECL_BOOLEAN_ACCESSORS(is_concise_method)
+
// Indicates whether or not the code in the shared function support
// deoptimization.
inline bool has_deoptimization_support();
@@ -7404,6 +7407,7 @@ class SharedFunctionInfo: public HeapObject {
kDontFlush,
kIsGenerator,
kIsArrow,
+ kIsConciseMethod,
kCompilerHintsCount // Pseudo entry
};
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/objects-inl.h » ('j') | src/parser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698