Index: src/checks.h |
diff --git a/src/checks.h b/src/checks.h |
index 57f18526186c5adbc19d011c771fa1c66e72215d..167316a67a973cd8b542a4d74db300d89272a703 100644 |
--- a/src/checks.h |
+++ b/src/checks.h |
@@ -306,8 +306,12 @@ extern bool FLAG_enable_slow_asserts; |
#define SLOW_ASSERT(condition) ((void) 0) |
const bool FLAG_enable_slow_asserts = false; |
#endif |
-} // namespace internal |
-} // namespace v8 |
+ |
+// Exposed for making debugging easier (to see where your function is being |
+// called, just add a call to DumpBacktrace). |
+void DumpBacktrace(); |
+ |
+} } // namespace v8::internal |
// The ASSERT macro is equivalent to CHECK except that it only |