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 // ---------------------------------------------------------------------------- | 8 // ---------------------------------------------------------------------------- |
9 // Imports | 9 // Imports |
10 | 10 |
11 var FrameMirror = global.FrameMirror; | 11 var FrameMirror = global.FrameMirror; |
12 var GlobalArray = global.Array; | 12 var GlobalArray = global.Array; |
13 var GlobalRegExp = global.RegExp; | 13 var GlobalRegExp = global.RegExp; |
14 var IsNaN = global.isNaN; | 14 var IsNaN = global.isNaN; |
15 var LookupMirror = global.LookupMirror; | |
16 var MakeMirror = global.MakeMirror; | 15 var MakeMirror = global.MakeMirror; |
17 var MathMin = global.Math.min; | 16 var MathMin = global.Math.min; |
18 var Mirror = global.Mirror; | 17 var Mirror = global.Mirror; |
19 var MirrorType; | 18 var MirrorType; |
20 var ParseInt = global.parseInt; | 19 var ParseInt = global.parseInt; |
jgruber
2017/02/02 12:17:16
MirrorType and ParseInt also seem to be unused.
| |
21 var ValueMirror = global.ValueMirror; | 20 var ValueMirror = global.ValueMirror; |
22 | 21 |
23 utils.Import(function(from) { | 22 utils.Import(function(from) { |
24 MirrorType = from.MirrorType; | 23 MirrorType = from.MirrorType; |
25 }); | 24 }); |
26 | 25 |
27 //---------------------------------------------------------------------------- | 26 //---------------------------------------------------------------------------- |
28 | 27 |
29 // Default number of frames to include in the response to backtrace request. | 28 // Default number of frames to include in the response to backtrace request. |
30 var kDefaultBacktraceLength = 10; | 29 var kDefaultBacktraceLength = 10; |
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1028 utils.InstallFunctions(utils, DONT_ENUM, [ | 1027 utils.InstallFunctions(utils, DONT_ENUM, [ |
1029 "MakeExecutionState", MakeExecutionState, | 1028 "MakeExecutionState", MakeExecutionState, |
1030 "MakeExceptionEvent", MakeExceptionEvent, | 1029 "MakeExceptionEvent", MakeExceptionEvent, |
1031 "MakeBreakEvent", MakeBreakEvent, | 1030 "MakeBreakEvent", MakeBreakEvent, |
1032 "MakeCompileEvent", MakeCompileEvent, | 1031 "MakeCompileEvent", MakeCompileEvent, |
1033 "MakeAsyncTaskEvent", MakeAsyncTaskEvent, | 1032 "MakeAsyncTaskEvent", MakeAsyncTaskEvent, |
1034 "IsBreakPointTriggered", IsBreakPointTriggered, | 1033 "IsBreakPointTriggered", IsBreakPointTriggered, |
1035 ]); | 1034 ]); |
1036 | 1035 |
1037 }) | 1036 }) |
OLD | NEW |