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

Unified Diff: runtime/bin/dbg_message.cc

Issue 369023002: Fix debugging module(replace int with intptr_t) so it works on Windows x64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/bin/dbg_message.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_message.cc
===================================================================
--- runtime/bin/dbg_message.cc (revision 37971)
+++ runtime/bin/dbg_message.cc (working copy)
@@ -1041,7 +1041,7 @@
void DbgMsgQueue::AddMessage(int32_t cmd_idx,
const char* start,
const char* end,
- int debug_fd) {
+ intptr_t debug_fd) {
if ((end > start) && ((end - start) < kMaxInt32)) {
MonitorLocker ml(&msg_queue_lock_);
DbgMessage* msg = new DbgMessage(cmd_idx, start, end, debug_fd);
@@ -1235,7 +1235,7 @@
int32_t cmd_idx,
const char* start,
const char* end,
- int debug_fd) {
+ intptr_t debug_fd) {
MutexLocker ml(msg_queue_list_lock_);
DbgMsgQueue* queue = DbgMsgQueueList::GetIsolateMsgQueueLocked(isolate_id);
if (queue != NULL) {
« no previous file with comments | « runtime/bin/dbg_message.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698