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 // ------------------------------------------------------------------- | 5 // ------------------------------------------------------------------- |
6 | 6 |
7 (function(global, utils) { | 7 (function(global, utils) { |
8 | 8 |
9 %CheckIsBootstrapping(); | 9 %CheckIsBootstrapping(); |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 var Float32x4ToString; | 27 var Float32x4ToString; |
28 var formattedStackTraceSymbol = | 28 var formattedStackTraceSymbol = |
29 utils.ImportNow("formatted_stack_trace_symbol"); | 29 utils.ImportNow("formatted_stack_trace_symbol"); |
30 var GlobalObject = global.Object; | 30 var GlobalObject = global.Object; |
31 var Int16x8ToString; | 31 var Int16x8ToString; |
32 var Int32x4ToString; | 32 var Int32x4ToString; |
33 var Int8x16ToString; | 33 var Int8x16ToString; |
34 var InternalArray = utils.InternalArray; | 34 var InternalArray = utils.InternalArray; |
35 var internalErrorSymbol = utils.ImportNow("internal_error_symbol"); | 35 var internalErrorSymbol = utils.ImportNow("internal_error_symbol"); |
36 var ObjectDefineProperty; | 36 var ObjectDefineProperty; |
| 37 var ObjectHasOwnProperty; |
37 var ObjectToString = utils.ImportNow("object_to_string"); | 38 var ObjectToString = utils.ImportNow("object_to_string"); |
38 var Script = utils.ImportNow("Script"); | 39 var Script = utils.ImportNow("Script"); |
39 var stackTraceSymbol = utils.ImportNow("stack_trace_symbol"); | 40 var stackTraceSymbol = utils.ImportNow("stack_trace_symbol"); |
40 var StringCharAt; | 41 var StringCharAt; |
41 var StringIndexOf; | 42 var StringIndexOf; |
42 var StringSubstring; | 43 var StringSubstring; |
43 var SymbolToString; | 44 var SymbolToString; |
44 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); | 45 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
45 var Uint16x8ToString; | 46 var Uint16x8ToString; |
46 var Uint32x4ToString; | 47 var Uint32x4ToString; |
47 var Uint8x16ToString; | 48 var Uint8x16ToString; |
48 | 49 |
49 utils.Import(function(from) { | 50 utils.Import(function(from) { |
50 ArrayJoin = from.ArrayJoin; | 51 ArrayJoin = from.ArrayJoin; |
51 Bool16x8ToString = from.Bool16x8ToString; | 52 Bool16x8ToString = from.Bool16x8ToString; |
52 Bool32x4ToString = from.Bool32x4ToString; | 53 Bool32x4ToString = from.Bool32x4ToString; |
53 Bool8x16ToString = from.Bool8x16ToString; | 54 Bool8x16ToString = from.Bool8x16ToString; |
54 Float32x4ToString = from.Float32x4ToString; | 55 Float32x4ToString = from.Float32x4ToString; |
55 Int16x8ToString = from.Int16x8ToString; | 56 Int16x8ToString = from.Int16x8ToString; |
56 Int32x4ToString = from.Int32x4ToString; | 57 Int32x4ToString = from.Int32x4ToString; |
57 Int8x16ToString = from.Int8x16ToString; | 58 Int8x16ToString = from.Int8x16ToString; |
58 ObjectDefineProperty = from.ObjectDefineProperty; | 59 ObjectDefineProperty = from.ObjectDefineProperty; |
| 60 ObjectHasOwnProperty = from.ObjectHasOwnProperty; |
59 StringCharAt = from.StringCharAt; | 61 StringCharAt = from.StringCharAt; |
60 StringIndexOf = from.StringIndexOf; | 62 StringIndexOf = from.StringIndexOf; |
61 StringSubstring = from.StringSubstring; | 63 StringSubstring = from.StringSubstring; |
62 SymbolToString = from.SymbolToString; | 64 SymbolToString = from.SymbolToString; |
63 Uint16x8ToString = from.Uint16x8ToString; | 65 Uint16x8ToString = from.Uint16x8ToString; |
64 Uint32x4ToString = from.Uint32x4ToString; | 66 Uint32x4ToString = from.Uint32x4ToString; |
65 Uint8x16ToString = from.Uint8x16ToString; | 67 Uint8x16ToString = from.Uint8x16ToString; |
66 }); | 68 }); |
67 | 69 |
68 utils.ImportFromExperimental(function(from) { | 70 utils.ImportFromExperimental(function(from) { |
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 utils.Export(function(to) { | 1007 utils.Export(function(to) { |
1006 to.ErrorToString = ErrorToString; | 1008 to.ErrorToString = ErrorToString; |
1007 to.MakeError = MakeError; | 1009 to.MakeError = MakeError; |
1008 to.MakeRangeError = MakeRangeError; | 1010 to.MakeRangeError = MakeRangeError; |
1009 to.MakeSyntaxError = MakeSyntaxError; | 1011 to.MakeSyntaxError = MakeSyntaxError; |
1010 to.MakeTypeError = MakeTypeError; | 1012 to.MakeTypeError = MakeTypeError; |
1011 to.MakeURIError = MakeURIError; | 1013 to.MakeURIError = MakeURIError; |
1012 }); | 1014 }); |
1013 | 1015 |
1014 }); | 1016 }); |
OLD | NEW |