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 (function(global, utils) { | 5 (function(global, utils) { |
6 | 6 |
7 "use strict"; | 7 "use strict"; |
8 | 8 |
9 %CheckIsBootstrapping(); | 9 %CheckIsBootstrapping(); |
10 | 10 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 DONT_ENUM | READ_ONLY); | 169 DONT_ENUM | READ_ONLY); |
170 | 170 |
171 // Set up the non-enumerable functions on the WeakSet prototype object. | 171 // Set up the non-enumerable functions on the WeakSet prototype object. |
172 utils.InstallFunctions(GlobalWeakSet.prototype, DONT_ENUM, [ | 172 utils.InstallFunctions(GlobalWeakSet.prototype, DONT_ENUM, [ |
173 "add", WeakSetAdd, | 173 "add", WeakSetAdd, |
174 "has", WeakSetHas, | 174 "has", WeakSetHas, |
175 "delete", WeakSetDelete | 175 "delete", WeakSetDelete |
176 ]); | 176 ]); |
177 | 177 |
178 }) | 178 }) |
OLD | NEW |