Add a --harmony-object-observe runtime flag (on by default)
authoradamk <adamk@chromium.org>
Tue, 4 Aug 2015 20:52:42 +0000 (13:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 4 Aug 2015 20:53:32 +0000 (20:53 +0000)
commit2e4efcfac243268177dc34f4805cd2739d84dbd5
treef5edec7beb540624735a2715386ce58d4a713105
parent890c4d9dc62ef6970d7ba73b13453375a739a416
Add a --harmony-object-observe runtime flag (on by default)

To avoid tanking context startup performance, only the actual installation of the
JS-exposed API is flag-guarded. The remainder of the implementation still
resides in the snapshot.

Review URL: https://codereview.chromium.org/1257063003

Cr-Commit-Position: refs/heads/master@{#30017}
20 files changed:
BUILD.gn
src/bootstrapper.cc
src/flag-definitions.h
src/harmony-object-observe.js [new file with mode: 0644]
src/object-observe.js
test/mjsunit/array-push7.js
test/mjsunit/es6/debug-stepin-microtasks.js
test/mjsunit/es6/microtask-delivery.js
test/mjsunit/es6/regress/regress-3750.js
test/mjsunit/es7/object-observe-debug-event.js
test/mjsunit/es7/object-observe-runtime.js
test/mjsunit/es7/object-observe.js
test/mjsunit/harmony/regress/regress-405844.js
test/mjsunit/harmony/regress/regress-observe-empty-double-array.js
test/mjsunit/migrations.js
test/mjsunit/regress/regress-3315.js
test/mjsunit/regress/regress-356589.js
test/mjsunit/regress/regress-417709a.js
test/mjsunit/regress/regress-observe-map-cache.js
tools/gyp/v8.gyp