Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: src/debug/mirrors.js

Issue 2449883002: Revert of [modules] Add partial support for debug-scopes. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | src/objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2012 the V8 project authors. All rights reserved. 1 // Copyright 2006-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
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // NOTE: these constants should be backward-compatible, so 250 // NOTE: these constants should be backward-compatible, so
251 // add new ones to the end of this list. 251 // add new ones to the end of this list.
252 var ScopeType = { Global: 0, 252 var ScopeType = { Global: 0,
253 Local: 1, 253 Local: 1,
254 With: 2, 254 With: 2,
255 Closure: 3, 255 Closure: 3,
256 Catch: 4, 256 Catch: 4,
257 Block: 5, 257 Block: 5,
258 Script: 6, 258 Script: 6,
259 Eval: 7, 259 Eval: 7,
260 Module: 8,
261 }; 260 };
262 261
263 /** 262 /**
264 * Base class for all mirror objects. 263 * Base class for all mirror objects.
265 * @param {string} type The type of the mirror 264 * @param {string} type The type of the mirror
266 * @constructor 265 * @constructor
267 */ 266 */
268 function Mirror(type) { 267 function Mirror(type) {
269 this.type_ = type; 268 this.type_ = type;
270 } 269 }
(...skipping 2815 matching lines...) Expand 10 before | Expand all | Expand 10 after
3086 // Functions needed by the debugger runtime. 3085 // Functions needed by the debugger runtime.
3087 utils.InstallFunctions(utils, DONT_ENUM, [ 3086 utils.InstallFunctions(utils, DONT_ENUM, [
3088 "ClearMirrorCache", ClearMirrorCache 3087 "ClearMirrorCache", ClearMirrorCache
3089 ]); 3088 ]);
3090 3089
3091 // Export to debug.js 3090 // Export to debug.js
3092 utils.Export(function(to) { 3091 utils.Export(function(to) {
3093 to.MirrorType = MirrorType; 3092 to.MirrorType = MirrorType;
3094 }); 3093 });
3095 }) 3094 })
OLDNEW
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698