diff options
| author | Ben Murdoch <benm@google.com> | 2010-10-22 12:50:53 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2010-10-22 20:03:06 +0100 |
| commit | f87a203d89e1bbb6708282e0b64dbd13d59b723d (patch) | |
| tree | d7658572059125113d4052a87e2e2c1251419c64 /src/disassembler.cc | |
| parent | 0d5e116f6aee03185f237311a943491bb079a768 (diff) | |
| download | android_external_v8-f87a203d89e1bbb6708282e0b64dbd13d59b723d.tar.gz android_external_v8-f87a203d89e1bbb6708282e0b64dbd13d59b723d.tar.bz2 android_external_v8-f87a203d89e1bbb6708282e0b64dbd13d59b723d.zip | |
Update V8 to r5675 as required by WebKit r70209
Change-Id: Ib10adb470d41ca8c109ead5fc893b880e18d489f
Diffstat (limited to 'src/disassembler.cc')
| -rw-r--r-- | src/disassembler.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/disassembler.cc b/src/disassembler.cc index e79421fe..2a4ea74e 100644 --- a/src/disassembler.cc +++ b/src/disassembler.cc @@ -44,7 +44,10 @@ namespace internal { void Disassembler::Dump(FILE* f, byte* begin, byte* end) { for (byte* pc = begin; pc < end; pc++) { if (f == NULL) { - PrintF("%" V8PRIxPTR " %4" V8PRIdPTR " %02x\n", pc, pc - begin, *pc); + PrintF("%" V8PRIxPTR " %4" V8PRIdPTR " %02x\n", + reinterpret_cast<intptr_t>(pc), + pc - begin, + *pc); } else { fprintf(f, "%" V8PRIxPTR " %4" V8PRIdPTR " %02x\n", reinterpret_cast<uintptr_t>(pc), pc - begin, *pc); |
