OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 "SetUpLockedPrototype", SetUpLockedPrototype, | 263 "SetUpLockedPrototype", SetUpLockedPrototype, |
264 "PostNatives", PostNatives, | 264 "PostNatives", PostNatives, |
265 "PostExperimentals", PostExperimentals, | 265 "PostExperimentals", PostExperimentals, |
266 "PostDebug", PostDebug, | 266 "PostDebug", PostDebug, |
267 ]); | 267 ]); |
268 | 268 |
269 // TODO(yangguo): run prologue.js before runtime.js | 269 // TODO(yangguo): run prologue.js before runtime.js |
270 ExportToRuntime(function(to) { | 270 ExportToRuntime(function(to) { |
271 to.ToNumber = $toNumber; | 271 to.ToNumber = $toNumber; |
272 to.ToString = $toString; | 272 to.ToString = $toString; |
273 to.ToDetailString = $toDetailString; | |
274 to.ToInteger = $toInteger; | 273 to.ToInteger = $toInteger; |
275 to.ToLength = $toLength; | 274 to.ToLength = $toLength; |
276 }); | 275 }); |
277 | 276 |
278 }) | 277 }) |
OLD | NEW |