Revision: 3732
Author: [email protected]
Date: Thu Jan 28 03:05:28 2010
Log: Try to workaround tail call elimination which removes
all the parameters that I really want to see for
diagnosing issue 555.
Review URL: http://codereview.chromium.org/554112
http://code.google.com/p/v8/source/detail?r=3732
Modified:
/branches/experimental/issue555/src/objects.cc
=======================================
--- /branches/experimental/issue555/src/objects.cc Tue Jan 26 02:26:03 2010
+++ /branches/experimental/issue555/src/objects.cc Thu Jan 28 03:05:28 2010
@@ -8320,8 +8320,15 @@
Object* function,
bool runs_in_inner_context,
bool runs_in_outer_context) {
- // Kill the virtual machine.
+ // Try to avoid calling out to another function for breaking here to
+ // avoid tail call elimination when using the Microsoft Visual
+ // Studio compiler which removes the parameters from the stack
+ // trace.
+#if defined(_MSC_VER)
+ __ asm int3;
+#else
OS::Abort();
+#endif
}
} } // namespace v8::internal
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev