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

Unified Diff: runtime/vm/simulator_arm.h

Issue 26345002: Last cleanup int -> intptr_t. Also removed a hack. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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/code_patcher_x64.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_arm.h
===================================================================
--- runtime/vm/simulator_arm.h (revision 28370)
+++ runtime/vm/simulator_arm.h (working copy)
@@ -149,7 +149,7 @@
// Simulator support.
char* stack_;
bool pc_modified_;
- int icount_;
+ intptr_t icount_;
static int32_t flag_stop_sim_at_;
SimulatorSetjmpBuffer* last_setjmp_buffer_;
uword top_exit_frame_info_;
@@ -205,13 +205,13 @@
inline int16_t ReadH(uword addr, Instr* instr);
inline void WriteH(uword addr, uint16_t value, Instr* instr);
- inline int ReadW(uword addr, Instr* instr);
- inline void WriteW(uword addr, int value, Instr* instr);
+ inline intptr_t ReadW(uword addr, Instr* instr);
+ inline void WriteW(uword addr, intptr_t value, Instr* instr);
// Synchronization primitives support.
void ClearExclusive();
- int ReadExclusiveW(uword addr, Instr* instr);
- int WriteExclusiveW(uword addr, int value, Instr* instr);
+ intptr_t ReadExclusiveW(uword addr, Instr* instr);
+ intptr_t WriteExclusiveW(uword addr, intptr_t value, Instr* instr);
// TODO(regis): Remove exclusive access support machinery if not needed.
// In Dart, there is at most one thread per isolate.
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698