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

Side by Side Diff: pkg/dartino_compiler/lib/back_trace.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 months 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
OLDNEW
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 part of fletch.debug_state; 5 part of dartino.debug_state;
6 6
7 class BackTraceFrame { 7 class BackTraceFrame {
8 final FletchFunction function; 8 final DartinoFunction function;
9 final int bytecodePointer; 9 final int bytecodePointer;
10 final IncrementalCompiler compiler; 10 final IncrementalCompiler compiler;
11 final DebugState debugState; 11 final DebugState debugState;
12 12
13 BackTraceFrame(this.function, this.bytecodePointer, this.compiler, 13 BackTraceFrame(this.function, this.bytecodePointer, this.compiler,
14 this.debugState); 14 this.debugState);
15 15
16 bool get inPlatformLibrary => function.element.library.isPlatformLibrary; 16 bool get inPlatformLibrary => function.element.library.isPlatformLibrary;
17 17
18 bool get isInternal => function.isInternal || inPlatformLibrary; 18 bool get isInternal => function.isInternal || inPlatformLibrary;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 if (visibleStackFrame == null) return null; 203 if (visibleStackFrame == null) return null;
204 return visibleStackFrame.scopeInfo(); 204 return visibleStackFrame.scopeInfo();
205 } 205 }
206 206
207 ScopeInfo get scopeInfoForCurrentFrame => scopeInfo(debugState.currentFrame); 207 ScopeInfo get scopeInfoForCurrentFrame => scopeInfo(debugState.currentFrame);
208 208
209 int stepBytecodePointer(SourceLocation location) { 209 int stepBytecodePointer(SourceLocation location) {
210 return frames[0].stepBytecodePointer(location); 210 return frames[0].stepBytecodePointer(location);
211 } 211 }
212 } 212 }
OLDNEW
« no previous file with comments | « pkg/dartino_compiler/bin/decode_ticksamples.dart ('k') | pkg/dartino_compiler/lib/bytecodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698