OLD | NEW |
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 "use strict"; | 5 "use strict"; |
6 | 6 |
7 // This file relies on the fact that the following declaration has been made | 7 // This file relies on the fact that the following declaration has been made |
8 // in runtime.js: | 8 // in runtime.js: |
9 // var $Array = global.Array; | 9 // var $Array = global.Array; |
10 | 10 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // Set up the non-enumerable functions on the WeakSet prototype object. | 218 // Set up the non-enumerable functions on the WeakSet prototype object. |
219 InstallFunctions($WeakSet.prototype, DONT_ENUM, $Array( | 219 InstallFunctions($WeakSet.prototype, DONT_ENUM, $Array( |
220 "add", WeakSetAdd, | 220 "add", WeakSetAdd, |
221 "has", WeakSetHas, | 221 "has", WeakSetHas, |
222 "delete", WeakSetDelete, | 222 "delete", WeakSetDelete, |
223 "clear", WeakSetClear | 223 "clear", WeakSetClear |
224 )); | 224 )); |
225 } | 225 } |
226 | 226 |
227 SetUpWeakSet(); | 227 SetUpWeakSet(); |
OLD | NEW |