| 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() { | 10 (function(global, shared, exports) { |
| 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 GlobalObject = global.Object; | 17 var GlobalObject = global.Object; |
| 18 var GlobalSet = global.Set; | 18 var GlobalSet = global.Set; |
| 19 | 19 |
| 20 // ------------------------------------------------------------------- | 20 // ------------------------------------------------------------------- |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 'entries', MapEntries, | 181 'entries', MapEntries, |
| 182 'keys', MapKeys, | 182 'keys', MapKeys, |
| 183 'values', MapValues | 183 'values', MapValues |
| 184 ]); | 184 ]); |
| 185 | 185 |
| 186 %AddNamedProperty(GlobalMap.prototype, symbolIterator, MapEntries, DONT_ENUM); | 186 %AddNamedProperty(GlobalMap.prototype, symbolIterator, MapEntries, DONT_ENUM); |
| 187 | 187 |
| 188 $mapEntries = MapEntries; | 188 $mapEntries = MapEntries; |
| 189 $mapIteratorNext = MapIteratorNextJS; | 189 $mapIteratorNext = MapIteratorNextJS; |
| 190 | 190 |
| 191 })(); | 191 }) |
| OLD | NEW |