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

Side by Side Diff: src/js/harmony-simd.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-sharedarraybuffer.js ('k') | src/js/harmony-spread.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 GlobalSIMD = global.SIMD; 14 var GlobalSIMD = global.SIMD;
15 var MakeTypeError;
15 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); 16 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol");
16 17
18 utils.Import(function(from) {
19 MakeTypeError = from.MakeTypeError;
20 });
21
22 // -------------------------------------------------------------------
23
17 macro SIMD_FLOAT_TYPES(FUNCTION) 24 macro SIMD_FLOAT_TYPES(FUNCTION)
18 FUNCTION(Float32x4, float32x4, 4) 25 FUNCTION(Float32x4, float32x4, 4)
19 endmacro 26 endmacro
20 27
21 macro SIMD_INT_TYPES(FUNCTION) 28 macro SIMD_INT_TYPES(FUNCTION)
22 FUNCTION(Int32x4, int32x4, 4) 29 FUNCTION(Int32x4, int32x4, 4)
23 FUNCTION(Int16x8, int16x8, 8) 30 FUNCTION(Int16x8, int16x8, 8)
24 FUNCTION(Int8x16, int8x16, 16) 31 FUNCTION(Int8x16, int8x16, 16)
25 endmacro 32 endmacro
26 33
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 to.Bool32x4ToString = Bool32x4ToString; 911 to.Bool32x4ToString = Bool32x4ToString;
905 to.Int16x8ToString = Int16x8ToString; 912 to.Int16x8ToString = Int16x8ToString;
906 to.Uint16x8ToString = Uint16x8ToString; 913 to.Uint16x8ToString = Uint16x8ToString;
907 to.Bool16x8ToString = Bool16x8ToString; 914 to.Bool16x8ToString = Bool16x8ToString;
908 to.Int8x16ToString = Int8x16ToString; 915 to.Int8x16ToString = Int8x16ToString;
909 to.Uint8x16ToString = Uint8x16ToString; 916 to.Uint8x16ToString = Uint8x16ToString;
910 to.Bool8x16ToString = Bool8x16ToString; 917 to.Bool8x16ToString = Bool8x16ToString;
911 }); 918 });
912 919
913 }) 920 })
OLDNEW
« no previous file with comments | « src/js/harmony-sharedarraybuffer.js ('k') | src/js/harmony-spread.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698