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

Unified Diff: runtime/vm/debugger_api_impl.cc

Issue 15772005: - Add different types for persistent and weak persistent handles (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_api_impl.cc
===================================================================
--- runtime/vm/debugger_api_impl.cc (revision 23307)
+++ runtime/vm/debugger_api_impl.cc (working copy)
@@ -78,7 +78,7 @@
CHECK_NOT_NULL(length);
CHECK_AND_CAST(DebuggerStackTrace, stack_trace, trace);
*length = stack_trace->Length();
- return Api::True(isolate);
+ return Api::Success();
}
@@ -96,7 +96,7 @@
}
*frame = reinterpret_cast<Dart_ActivationFrame>(
stack_trace->ActivationFrameAt(frame_index));
- return Api::True(isolate);
+ return Api::Success();
}
static Dart_PausedEventHandler* paused_event_handler = NULL;
@@ -204,7 +204,7 @@
Isolate* isolate = Isolate::Current();
DARTSCOPE(isolate);
isolate->debugger()->SetExceptionPauseInfo(pause_info);
- return Api::True(isolate);
+ return Api::Success();
}
@@ -220,7 +220,7 @@
DARTSCOPE(isolate);
CHECK_NOT_NULL(trace);
*trace = reinterpret_cast<Dart_StackTrace>(isolate->debugger()->StackTrace());
- return Api::True(isolate);
+ return Api::Success();
}
@@ -246,7 +246,7 @@
const Library& lib = Library::Handle(frame->Library());
*library_id = lib.index();
}
- return Api::True(isolate);
+ return Api::Success();
}
@@ -269,7 +269,7 @@
location->library_id = lib.index();
location->token_pos = frame->TokenPos();
}
- return Api::True(isolate);
+ return Api::Success();
}
@@ -397,7 +397,7 @@
}
debugger->OneTimeBreakAtEntry(bp_target);
- return Api::True(isolate);
+ return Api::Success();
}
@@ -408,7 +408,7 @@
ASSERT(debugger != NULL);
isolate->debugger()->RemoveBreakpoint(bp_id);
- return Api::True(isolate);
+ return Api::Success();
}
@@ -416,7 +416,7 @@
Isolate* isolate = Isolate::Current();
DARTSCOPE(isolate);
isolate->debugger()->SetStepOver();
- return Api::True(isolate);
+ return Api::Success();
}
@@ -424,7 +424,7 @@
Isolate* isolate = Isolate::Current();
DARTSCOPE(isolate);
isolate->debugger()->SetStepInto();
- return Api::True(isolate);
+ return Api::Success();
}
@@ -432,7 +432,7 @@
Isolate* isolate = Isolate::Current();
DARTSCOPE(isolate);
isolate->debugger()->SetStepOut();
- return Api::True(isolate);
+ return Api::Success();
}
@@ -493,7 +493,7 @@
UNWRAP_AND_CHECK_PARAM(Instance, obj, object_in);
CHECK_NOT_NULL(class_id);
*class_id = obj.GetClassId();
- return Api::True(isolate);
+ return Api::Success();
}
@@ -536,7 +536,7 @@
*static_fields =
Api::NewHandle(isolate, isolate->debugger()->GetStaticFields(cls));
}
- return Api::True(isolate);
+ return Api::Success();
}
@@ -747,7 +747,7 @@
CURRENT_FUNC, library_id);
}
*is_debuggable = lib.IsDebuggable();
- return Api::True(isolate);
+ return Api::Success();
}
@@ -762,7 +762,7 @@
CURRENT_FUNC, library_id);
}
lib.set_debuggable(is_debuggable);
- return Api::True(isolate);
+ return Api::Success();
}
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698