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

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

Issue 1413173003: Move error message makers off js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 2 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/js/messages.js ('k') | src/js/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 (function(global, utils) { 5 (function(global, utils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
11 // ------------------------------------------------------------------- 11 // -------------------------------------------------------------------
12 // Imports 12 // Imports
13 13
14 var GetHash; 14 var GetHash;
15 var GlobalArray = global.Array; 15 var GlobalArray = global.Array;
16 var GlobalObject = global.Object; 16 var GlobalObject = global.Object;
17 var InternalArray = utils.InternalArray; 17 var InternalArray = utils.InternalArray;
18 var MakeTypeError;
18 var ObjectFreeze; 19 var ObjectFreeze;
19 var ObjectIsFrozen; 20 var ObjectIsFrozen;
20 21
21 utils.Import(function(from) { 22 utils.Import(function(from) {
22 GetHash = from.GetHash; 23 GetHash = from.GetHash;
24 MakeTypeError = from.MakeTypeError;
23 ObjectFreeze = from.ObjectFreeze; 25 ObjectFreeze = from.ObjectFreeze;
24 ObjectIsFrozen = from.ObjectIsFrozen; 26 ObjectIsFrozen = from.ObjectIsFrozen;
25 }); 27 });
26 28
27 // ------------------------------------------------------------------- 29 // -------------------------------------------------------------------
28 30
29 // Overview: 31 // Overview:
30 // 32 //
31 // This file contains all of the routing and accounting for Object.observe. 33 // This file contains all of the routing and accounting for Object.observe.
32 // User code will interact with these mechanisms via the Object.observe APIs 34 // User code will interact with these mechanisms via the Object.observe APIs
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 712
711 utils.Export(function(to) { 713 utils.Export(function(to) {
712 to.ObserveArrayMethods = ObserveArrayMethods; 714 to.ObserveArrayMethods = ObserveArrayMethods;
713 to.ObserveBeginPerformSplice = BeginPerformSplice; 715 to.ObserveBeginPerformSplice = BeginPerformSplice;
714 to.ObserveEndPerformSplice = EndPerformSplice; 716 to.ObserveEndPerformSplice = EndPerformSplice;
715 to.ObserveEnqueueSpliceRecord = EnqueueSpliceRecord; 717 to.ObserveEnqueueSpliceRecord = EnqueueSpliceRecord;
716 to.ObserveObjectMethods = ObserveObjectMethods; 718 to.ObserveObjectMethods = ObserveObjectMethods;
717 }); 719 });
718 720
719 }) 721 })
OLDNEW
« no previous file with comments | « src/js/messages.js ('k') | src/js/prologue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698