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

Unified Diff: src/code-stubs.cc

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/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index b190321cd180fb972dc04e60d57623592ffa8a7d..adf0d543ae4a822853a8c6089933dd9d2dfeefdd 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -884,7 +884,7 @@ void NumberToStringStub::InstallDescriptors(Isolate* isolate) {
void FastNewClosureStub::InstallDescriptors(Isolate* isolate) {
- FastNewClosureStub stub(isolate, STRICT, false);
+ FastNewClosureStub stub(isolate, STRICT, FunctionKind::kNormalFunction);
InstallDescriptor(isolate, &stub);
}

Powered by Google App Engine
This is Rietveld 408576698