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

Side by Side Diff: src/object-observe.js

Issue 1143993003: Use shared container to manage imports/exports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed test for no-snap Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « src/messages.js ('k') | src/prologue.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var $observeNotifyChange; 5 var $observeNotifyChange;
6 var $observeEnqueueSpliceRecord; 6 var $observeEnqueueSpliceRecord;
7 var $observeBeginPerformSplice; 7 var $observeBeginPerformSplice;
8 var $observeEndPerformSplice; 8 var $observeEndPerformSplice;
9 var $observeNativeObjectObserve; 9 var $observeNativeObjectObserve;
10 var $observeNativeObjectGetNotifier; 10 var $observeNativeObjectGetNotifier;
11 var $observeNativeObjectNotifierPerformChange; 11 var $observeNativeObjectNotifierPerformChange;
12 12
13 (function(global, shared, exports) { 13 (function(global, utils) {
14 14
15 "use strict"; 15 "use strict";
16 16
17 %CheckIsBootstrapping(); 17 %CheckIsBootstrapping();
18 18
19 // ------------------------------------------------------------------- 19 // -------------------------------------------------------------------
20 // Imports 20 // Imports
21 21
22 var GlobalArray = global.Array; 22 var GlobalArray = global.Array;
23 var GlobalObject = global.Object; 23 var GlobalObject = global.Object;
24 var InternalArray = shared.InternalArray; 24 var InternalArray = utils.InternalArray;
25 25
26 // ------------------------------------------------------------------- 26 // -------------------------------------------------------------------
27 27
28 // Overview: 28 // Overview:
29 // 29 //
30 // This file contains all of the routing and accounting for Object.observe. 30 // This file contains all of the routing and accounting for Object.observe.
31 // User code will interact with these mechanisms via the Object.observe APIs 31 // User code will interact with these mechanisms via the Object.observe APIs
32 // and, as a side effect of mutation objects which are observed. The V8 runtime 32 // and, as a side effect of mutation objects which are observed. The V8 runtime
33 // (both C++ and JS) will interact with these mechanisms primarily by enqueuing 33 // (both C++ and JS) will interact with these mechanisms primarily by enqueuing
34 // proper change records for objects which were mutated. The Object.observe 34 // proper change records for objects which were mutated. The Object.observe
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 682
683 $observeNotifyChange = NotifyChange; 683 $observeNotifyChange = NotifyChange;
684 $observeEnqueueSpliceRecord = EnqueueSpliceRecord; 684 $observeEnqueueSpliceRecord = EnqueueSpliceRecord;
685 $observeBeginPerformSplice = BeginPerformSplice; 685 $observeBeginPerformSplice = BeginPerformSplice;
686 $observeEndPerformSplice = EndPerformSplice; 686 $observeEndPerformSplice = EndPerformSplice;
687 $observeNativeObjectObserve = NativeObjectObserve; 687 $observeNativeObjectObserve = NativeObjectObserve;
688 $observeNativeObjectGetNotifier = NativeObjectGetNotifier; 688 $observeNativeObjectGetNotifier = NativeObjectGetNotifier;
689 $observeNativeObjectNotifierPerformChange = NativeObjectNotifierPerformChange; 689 $observeNativeObjectNotifierPerformChange = NativeObjectNotifierPerformChange;
690 690
691 }) 691 })
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/prologue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698