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

Unified Diff: src/globals.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: 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/globals.h
diff --git a/src/globals.h b/src/globals.h
index cc31be148751020bde24818b425ea3fb99097a22..7e3e925493adb22e25ad197d968f954dd51fa1da 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -756,6 +756,12 @@ enum MinusZeroMode {
FAIL_ON_MINUS_ZERO
};
+enum FunctionKind {
+ kNormalFunction,
+ kGeneratorFunction,
+ kArrowFunction,
+ kConciseMethod
+};
} } // namespace v8::internal
namespace i = v8::internal;
« src/ast.h ('K') | « src/full-codegen.cc ('k') | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698