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

Side by Side Diff: runtime/bin/dbg_message.cc

Issue 14084006: - Reduce warnings about project settings in Xcode 4. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/bin/socket_macos.cc » ('j') | tools/gyp/configurations_xcode.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "bin/dbg_connection.h" 5 #include "bin/dbg_connection.h"
6 #include "bin/dbg_message.h" 6 #include "bin/dbg_message.h"
7 #include "bin/dartutils.h" 7 #include "bin/dartutils.h"
8 #include "bin/thread.h" 8 #include "bin/thread.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 10
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 in_msg->SendErrorReply(msg_id, Dart_GetError(info)); 798 in_msg->SendErrorReply(msg_id, Dart_GetError(info));
799 return false; 799 return false;
800 } 800 }
801 ASSERT(Dart_IsList(info)); 801 ASSERT(Dart_IsList(info));
802 intptr_t info_len = 0; 802 intptr_t info_len = 0;
803 Dart_Handle res = Dart_ListLength(info, &info_len); 803 Dart_Handle res = Dart_ListLength(info, &info_len);
804 ASSERT_NOT_ERROR(res); 804 ASSERT_NOT_ERROR(res);
805 msg.Printf("{ \"id\": %d, ", msg_id); 805 msg.Printf("{ \"id\": %d, ", msg_id);
806 msg.Printf("\"result\": { \"lines\": ["); 806 msg.Printf("\"result\": { \"lines\": [");
807 Dart_Handle elem; 807 Dart_Handle elem;
808 bool num_elems = 0; 808 intptr_t num_elems = 0;
809 for (intptr_t i = 0; i < info_len; i++) { 809 for (intptr_t i = 0; i < info_len; i++) {
810 elem = Dart_ListGetAt(info, i); 810 elem = Dart_ListGetAt(info, i);
811 if (Dart_IsNull(elem)) { 811 if (Dart_IsNull(elem)) {
812 msg.Printf((i == 0) ? "[" : "], ["); 812 msg.Printf((i == 0) ? "[" : "], [");
813 num_elems = 0; 813 num_elems = 0;
814 } else { 814 } else {
815 ASSERT(Dart_IsInteger(elem)); 815 ASSERT(Dart_IsInteger(elem));
816 int value = GetIntValue(elem); 816 int value = GetIntValue(elem);
817 if (num_elems == 0) { 817 if (num_elems == 0) {
818 msg.Printf("%d", value); 818 msg.Printf("%d", value);
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 msg_queue->SendIsolateEvent(isolate_id, kind); 1224 msg_queue->SendIsolateEvent(isolate_id, kind);
1225 if (kind == kInterrupted) { 1225 if (kind == kInterrupted) {
1226 msg_queue->HandleMessages(); 1226 msg_queue->HandleMessages();
1227 } else { 1227 } else {
1228 ASSERT(kind == kShutdown); 1228 ASSERT(kind == kShutdown);
1229 RemoveIsolateMsgQueue(isolate_id); 1229 RemoveIsolateMsgQueue(isolate_id);
1230 } 1230 }
1231 } 1231 }
1232 Dart_ExitScope(); 1232 Dart_ExitScope();
1233 } 1233 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/socket_macos.cc » ('j') | tools/gyp/configurations_xcode.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698