OLD | NEW |
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 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 toStringTagSymbol, "SharedArrayBuffer", DONT_ENUM | READ_ONLY); | 48 toStringTagSymbol, "SharedArrayBuffer", DONT_ENUM | READ_ONLY); |
49 | 49 |
50 utils.InstallGetter(GlobalSharedArrayBuffer.prototype, "byteLength", | 50 utils.InstallGetter(GlobalSharedArrayBuffer.prototype, "byteLength", |
51 SharedArrayBufferGetByteLen); | 51 SharedArrayBufferGetByteLen); |
52 | 52 |
53 utils.InstallFunctions(GlobalSharedArrayBuffer, DONT_ENUM, [ | 53 utils.InstallFunctions(GlobalSharedArrayBuffer, DONT_ENUM, [ |
54 "isView", SharedArrayBufferIsViewJS | 54 "isView", SharedArrayBufferIsViewJS |
55 ]); | 55 ]); |
56 | 56 |
57 }) | 57 }) |
OLD | NEW |