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

Unified Diff: src/harmony-concat-spreadable.js

Issue 1226063002: Guard @@isConcatSpreadable behind a flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tested against Chrome and fixes the bug Created 5 years, 5 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/harmony-array.js ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-concat-spreadable.js
diff --git a/src/harmony-concat-spreadable.js b/src/harmony-concat-spreadable.js
new file mode 100644
index 0000000000000000000000000000000000000000..c42e0dfdc2d95b7a63ffdee8a601efcf29d9a502
--- /dev/null
+++ b/src/harmony-concat-spreadable.js
@@ -0,0 +1,16 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+(function(global, utils) {
+
+'use strict';
+
+%CheckIsBootstrapping();
+
+utils.InstallConstants(global.Symbol, [
+ // TODO(dslomov, caitp): Move to symbol.js when shipping
adamk 2015/07/08 21:10:34 Maybe change this TODO's attribution while you're
+ "isConcatSpreadable", symbolIsConcatSpreadable
+]);
+
+})
« no previous file with comments | « src/harmony-array.js ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698