Chromium Code Reviews| 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 "use strict"; | 6 "use strict"; |
| 7 | 7 |
| 8 %CheckIsBootstrapping(); | 8 %CheckIsBootstrapping(); |
| 9 | 9 |
| 10 // ------------------------------------------------------------------- | 10 // ------------------------------------------------------------------- |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 478 "map_has", MapHas, | 478 "map_has", MapHas, |
| 479 "map_delete", MapDelete, | 479 "map_delete", MapDelete, |
| 480 "set_add", SetAdd, | 480 "set_add", SetAdd, |
| 481 "set_has", SetHas, | 481 "set_has", SetHas, |
| 482 "set_delete", SetDelete, | 482 "set_delete", SetDelete, |
| 483 ]); | 483 ]); |
| 484 | 484 |
| 485 utils.Export(function(to) { | 485 utils.Export(function(to) { |
| 486 to.GetExistingHash = GetExistingHash; | 486 to.GetExistingHash = GetExistingHash; |
| 487 to.GetHash = GetHash; | 487 to.GetHash = GetHash; |
| 488 to.SetAdd = SetAdd; | |
|
jgruber
2016/09/12 13:22:00
This may not be necessary (see comments at import
Dan Ehrenberg
2016/09/12 22:49:25
This is a common pattern, see ArrayToString, MapEn
jgruber
2016/09/13 08:27:16
Acknowledged.
| |
| 489 to.SetHas = SetHas; | |
| 488 }); | 490 }); |
| 489 | 491 |
| 490 }) | 492 }) |
| OLD | NEW |