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

Unified Diff: src/harmony-object-observe.js

Issue 1257063003: Add a --harmony-object-observe runtime flag (on by default) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move some initialization back to the snapshot Created 5 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
« no previous file with comments | « src/flag-definitions.h ('k') | src/object-observe.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-object-observe.js
diff --git a/src/harmony-concat-spreadable.js b/src/harmony-object-observe.js
similarity index 58%
copy from src/harmony-concat-spreadable.js
copy to src/harmony-object-observe.js
index 362701c12304d8f66d7b9dc1515369e0bf868fc5..44006cd2e928e6eb62a3cdf65b95136a64dc68cb 100644
--- a/src/harmony-concat-spreadable.js
+++ b/src/harmony-object-observe.js
@@ -4,13 +4,11 @@
(function(global, utils) {
-'use strict';
+"use strict";
%CheckIsBootstrapping();
-utils.InstallConstants(global.Symbol, [
- // TODO(littledan): Move to symbol.js when shipping
- "isConcatSpreadable", symbolIsConcatSpreadable
-]);
+utils.InstallFunctions(global.Object, DONT_ENUM, $observeObjectMethods);
+utils.InstallFunctions(global.Array, DONT_ENUM, $observeArrayMethods);
})
« no previous file with comments | « src/flag-definitions.h ('k') | src/object-observe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698