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/objects-debug.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/objects-debug.cc')
| -rw-r--r-- | src/objects-debug.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/objects-debug.cc b/src/objects-debug.cc index ed08468e..5883f8b3 100644 --- a/src/objects-debug.cc +++ b/src/objects-debug.cc @@ -89,7 +89,7 @@ void Failure::FailureVerify() { void HeapObject::PrintHeader(const char* id) { - PrintF("%p: [%s]\n", this, id); + PrintF("%p: [%s]\n", reinterpret_cast<void*>(this), id); } @@ -522,9 +522,9 @@ void JSObject::PrintElements() { void JSObject::JSObjectPrint() { - PrintF("%p: [JSObject]\n", this); - PrintF(" - map = %p\n", map()); - PrintF(" - prototype = %p\n", GetPrototype()); + PrintF("%p: [JSObject]\n", reinterpret_cast<void*>(this)); + PrintF(" - map = %p\n", reinterpret_cast<void*>(map())); + PrintF(" - prototype = %p\n", reinterpret_cast<void*>(GetPrototype())); PrintF(" {\n"); PrintProperties(); PrintElements(); @@ -744,7 +744,7 @@ void String::StringVerify() { void JSFunction::JSFunctionPrint() { HeapObject::PrintHeader("Function"); - PrintF(" - map = 0x%p\n", map()); + PrintF(" - map = 0x%p\n", reinterpret_cast<void*>(map())); PrintF(" - initial_map = "); if (has_initial_map()) { initial_map()->ShortPrint(); @@ -1224,9 +1224,9 @@ void BreakPointInfo::BreakPointInfoVerify() { void BreakPointInfo::BreakPointInfoPrint() { HeapObject::PrintHeader("BreakPointInfo"); - PrintF("\n - code_position: %d", code_position()); - PrintF("\n - source_position: %d", source_position()); - PrintF("\n - statement_position: %d", statement_position()); + PrintF("\n - code_position: %d", code_position()->value()); + PrintF("\n - source_position: %d", source_position()->value()); + PrintF("\n - statement_position: %d", statement_position()->value()); PrintF("\n - break_point_objects: "); break_point_objects()->ShortPrint(); } |
