Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index f958da5b9b9663e52ea0a4bafc144e470e13b428..a90f9c9e46849c56ae8efcd1102c20c1e333d61a 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -280,9 +280,7 @@ Handle<String> Isolate::StackTraceString() { |
} |
-void Isolate::PushStackTraceAndDie(unsigned int magic, |
- Object* object, |
- Map* map, |
+void Isolate::PushStackTraceAndDie(unsigned int magic, void* ptr1, void* ptr2, |
unsigned int magic2) { |
const int kMaxStackTraceSize = 32 * KB; |
Handle<String> trace = StackTraceString(); |
@@ -291,9 +289,8 @@ void Isolate::PushStackTraceAndDie(unsigned int magic, |
String::WriteToFlat(*trace, buffer, 0, length); |
buffer[length] = '\0'; |
// TODO(dcarney): convert buffer to utf8? |
- base::OS::PrintError("Stacktrace (%x-%x) %p %p: %s\n", magic, magic2, |
- static_cast<void*>(object), static_cast<void*>(map), |
- reinterpret_cast<char*>(buffer)); |
+ base::OS::PrintError("Stacktrace (%x-%x) %p %p: %s\n", magic, magic2, ptr1, |
+ ptr2, reinterpret_cast<char*>(buffer)); |
base::OS::Abort(); |
} |