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

Unified Diff: runtime/vm/debugger_api_impl_test.cc

Issue 9667019: Fix linux build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_api_impl_test.cc
===================================================================
--- runtime/vm/debugger_api_impl_test.cc (revision 5274)
+++ runtime/vm/debugger_api_impl_test.cc (working copy)
@@ -41,17 +41,6 @@
}
-static char const* BPFunctionName(Dart_StackTrace trace) {
- Dart_ActivationFrame frame;
- Dart_Handle res = Dart_GetActivationFrame(trace, 0, &frame);
- EXPECT_NOT_ERROR(res);
- Dart_Handle func_name;
- res = Dart_ActivationFrameInfo(frame, &func_name, NULL, NULL);
- EXPECT_NOT_ERROR(res);
- return ToCString(func_name);
-}
-
-
static char const* BreakpointInfo(Dart_StackTrace trace) {
static char info_str[128];
Dart_ActivationFrame frame;
@@ -74,6 +63,7 @@
static void PrintObjectList(Dart_Handle list, const char* prefix, bool expand) {
intptr_t list_length = 0;
Dart_Handle retval = Dart_ListLength(list, &list_length);
+ EXPECT_NOT_ERROR(retval);
for (int i = 0; i + 1 < list_length; i += 2) {
Dart_Handle name_handle = Dart_ListGetAt(list, i);
EXPECT_NOT_ERROR(name_handle);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698