Revision: 5153
Author: [email protected]
Date: Thu Jul 29 14:29:45 2010
Log: Fix failing tests and rollback two from Testing change for failing
unit test
Review URL: http://codereview.chromium.org/3052026
http://code.google.com/p/v8/source/detail?r=5153
Modified:
/branches/bleeding_edge/src/debug.cc
/branches/bleeding_edge/src/serialize.cc
=======================================
--- /branches/bleeding_edge/src/debug.cc Thu Jul 29 13:23:19 2010
+++ /branches/bleeding_edge/src/debug.cc Thu Jul 29 14:29:45 2010
@@ -1787,9 +1787,7 @@
thread_local_.frame_drop_mode_ = mode;
thread_local_.break_frame_id_ = new_break_frame_id;
thread_local_.restarter_frame_function_pointer_ =
- // Temporary disabled for failing test investigation.
- // restarter_frame_function_pointer;
- NULL;
+ restarter_frame_function_pointer;
}
=======================================
--- /branches/bleeding_edge/src/serialize.cc Thu Jul 15 03:31:30 2010
+++ /branches/bleeding_edge/src/serialize.cc Thu Jul 29 14:29:45 2010
@@ -237,6 +237,10 @@
DEBUG_ADDRESS,
Debug::k_debug_break_return_address << kDebugIdShift,
"Debug::debug_break_return_address()");
+ Add(Debug_Address(Debug::k_restarter_frame_function_pointer).address(),
+ DEBUG_ADDRESS,
+ Debug::k_restarter_frame_function_pointer << kDebugIdShift,
+ "Debug::restarter_frame_function_pointer_address()");
const char* debug_register_format = "Debug::register_address(%i)";
int dr_format_length = StrLength(debug_register_format);
for (int i = 0; i < kNumJSCallerSaved; ++i) {
@@ -478,6 +482,7 @@
uint32_t ExternalReferenceEncoder::Encode(Address key) const {
int index = IndexOf(key);
+ ASSERT(key == NULL || index >= 0);
return index >=0 ? ExternalReferenceTable::instance()->code(index) : 0;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev