| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 var $mapEntries; | 5 var $mapEntries; |
| 6 var $mapIteratorNext; | 6 var $mapIteratorNext; |
| 7 var $setIteratorNext; | 7 var $setIteratorNext; |
| 8 var $setValues; | 8 var $setValues; |
| 9 | 9 |
| 10 (function(global, shared, exports) { | 10 (function(global, utils) { |
| 11 | 11 |
| 12 "use strict"; | 12 "use strict"; |
| 13 | 13 |
| 14 %CheckIsBootstrapping(); | 14 %CheckIsBootstrapping(); |
| 15 | 15 |
| 16 var GlobalMap = global.Map; | 16 var GlobalMap = global.Map; |
| 17 var GlobalSet = global.Set; | 17 var GlobalSet = global.Set; |
| 18 | 18 |
| 19 // ------------------------------------------------------------------- | 19 // ------------------------------------------------------------------- |
| 20 | 20 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 'keys', MapKeys, | 165 'keys', MapKeys, |
| 166 'values', MapValues | 166 'values', MapValues |
| 167 ]); | 167 ]); |
| 168 | 168 |
| 169 %AddNamedProperty(GlobalMap.prototype, symbolIterator, MapEntries, DONT_ENUM); | 169 %AddNamedProperty(GlobalMap.prototype, symbolIterator, MapEntries, DONT_ENUM); |
| 170 | 170 |
| 171 $mapEntries = MapEntries; | 171 $mapEntries = MapEntries; |
| 172 $mapIteratorNext = MapIteratorNextJS; | 172 $mapIteratorNext = MapIteratorNextJS; |
| 173 | 173 |
| 174 }) | 174 }) |
| OLD | NEW |