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

Side by Side Diff: src/js/harmony-atomics.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/harmony-array-includes.js ('k') | src/js/harmony-reflect.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 GlobalObject = global.Object; 14 var GlobalObject = global.Object;
15 var MakeTypeError;
15 var MaxSimple; 16 var MaxSimple;
16 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); 17 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol");
17 18
18 utils.Import(function(from) { 19 utils.Import(function(from) {
20 MakeTypeError = from.MakeTypeError;
19 MaxSimple = from.MaxSimple; 21 MaxSimple = from.MaxSimple;
20 }); 22 });
21 23
22 // ------------------------------------------------------------------- 24 // -------------------------------------------------------------------
23 25
24 26
25 function CheckSharedIntegerTypedArray(ia) { 27 function CheckSharedIntegerTypedArray(ia) {
26 if (!%IsSharedIntegerTypedArray(ia)) { 28 if (!%IsSharedIntegerTypedArray(ia)) {
27 throw MakeTypeError(kNotIntegerSharedTypedArray, ia); 29 throw MakeTypeError(kNotIntegerSharedTypedArray, ia);
28 } 30 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 "or", AtomicsOrJS, 206 "or", AtomicsOrJS,
205 "xor", AtomicsXorJS, 207 "xor", AtomicsXorJS,
206 "exchange", AtomicsExchangeJS, 208 "exchange", AtomicsExchangeJS,
207 "isLockFree", AtomicsIsLockFreeJS, 209 "isLockFree", AtomicsIsLockFreeJS,
208 "futexWait", AtomicsFutexWaitJS, 210 "futexWait", AtomicsFutexWaitJS,
209 "futexWake", AtomicsFutexWakeJS, 211 "futexWake", AtomicsFutexWakeJS,
210 "futexWakeOrRequeue", AtomicsFutexWakeOrRequeueJS, 212 "futexWakeOrRequeue", AtomicsFutexWakeOrRequeueJS,
211 ]); 213 ]);
212 214
213 }) 215 })
OLDNEW
« no previous file with comments | « src/js/harmony-array-includes.js ('k') | src/js/harmony-reflect.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698