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

Side by Side Diff: test/mjsunit/asm/atomics-and.js

Issue 1304163010: Remove harmony-atomics flag and collapse it into sharedarraybuffer flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « test/mjsunit/asm/atomics-add.js ('k') | test/mjsunit/asm/atomics-compareexchange.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 // Flags: --harmony-atomics --harmony-sharedarraybuffer 5 // Flags: --harmony-sharedarraybuffer
6 6
7 function Module(stdlib, foreign, heap) { 7 function Module(stdlib, foreign, heap) {
8 "use asm"; 8 "use asm";
9 var MEM8 = new stdlib.Int8Array(heap); 9 var MEM8 = new stdlib.Int8Array(heap);
10 var MEM16 = new stdlib.Int16Array(heap); 10 var MEM16 = new stdlib.Int16Array(heap);
11 var MEM32 = new stdlib.Int32Array(heap); 11 var MEM32 = new stdlib.Int32Array(heap);
12 var MEMU8 = new stdlib.Uint8Array(heap); 12 var MEMU8 = new stdlib.Uint8Array(heap);
13 var MEMU16 = new stdlib.Uint16Array(heap); 13 var MEMU16 = new stdlib.Uint16Array(heap);
14 var MEMU32 = new stdlib.Uint32Array(heap); 14 var MEMU32 = new stdlib.Uint32Array(heap);
15 var and = stdlib.Atomics.and; 15 var and = stdlib.Atomics.and;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 assertEquals(0, f(-1, 0), name); 85 assertEquals(0, f(-1, 0), name);
86 assertEquals(0, f(ta.length, 0), name); 86 assertEquals(0, f(ta.length, 0), name);
87 } 87 }
88 88
89 testElementType(Int8Array, m.andi8); 89 testElementType(Int8Array, m.andi8);
90 testElementType(Int16Array, m.andi16); 90 testElementType(Int16Array, m.andi16);
91 testElementType(Int32Array, m.andi32); 91 testElementType(Int32Array, m.andi32);
92 testElementType(Uint8Array, m.andu8); 92 testElementType(Uint8Array, m.andu8);
93 testElementType(Uint16Array, m.andu16); 93 testElementType(Uint16Array, m.andu16);
94 testElementType(Uint32Array, m.andu32); 94 testElementType(Uint32Array, m.andu32);
OLDNEW
« no previous file with comments | « test/mjsunit/asm/atomics-add.js ('k') | test/mjsunit/asm/atomics-compareexchange.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698