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

Unified Diff: runtime/vm/debugger.cc

Issue 868453002: Rename is_visible to is_reflectable; use is_debuggable instead of is_reflectable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/debugger.cc
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
index b23640b88bf3c98ccce5628ccb13de74d085bf50..c7a45745ffe2c3565153c296704df7408f7c236d 100644
--- a/runtime/vm/debugger.cc
+++ b/runtime/vm/debugger.cc
@@ -905,7 +905,7 @@ void ActivationFrame::PrintToJSONObject(JSONObject* jsobj) {
void DebuggerStackTrace::AddActivation(ActivationFrame* frame) {
- if (FLAG_show_invisible_frames || frame->function().is_visible()) {
+ if (FLAG_show_invisible_frames || frame->function().is_stacktrace_visible()) {
Ivan Posva 2015/01/23 19:37:07 Shouldn't we just use is_debuggable() here instead
rmacnak 2015/01/23 21:16:17 Yeah, flattened these out.
trace_.Add(frame);
}
}
@@ -1323,7 +1323,7 @@ DebuggerStackTrace* Debugger::StackTraceFrom(const Stacktrace& ex_trace) {
// pre-allocated trace (such as a stack overflow) or (b) because a stack has
// fewer frames that the pre-allocated trace (such as memory exhaustion with
// a shallow stack).
- if (!function.IsNull() && function.is_visible()) {
+ if (!function.IsNull() && function.is_stacktrace_visible()) {
code = ex_trace.CodeAtFrame(i);
ASSERT(function.raw() == code.function());
uword pc = code.EntryPoint() + Smi::Value(ex_trace.PcOffsetAtFrame(i));
« no previous file with comments | « runtime/lib/stacktrace.cc ('k') | runtime/vm/exceptions.cc » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698