Revision: 14985
Author: [email protected]
Date: Thu Jun 6 08:30:46 2013
Log: Fix bogus assertions for tracing and verify.
[email protected]
BUG=
Review URL: https://chromiumcodereview.appspot.com/15778012
http://code.google.com/p/v8/source/detail?r=14985
Modified:
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Thu Jun 6 07:38:26 2013
+++ /branches/bleeding_edge/src/hydrogen.cc Thu Jun 6 08:30:46 2013
@@ -527,6 +527,7 @@
void HGraph::Verify(bool do_full_verify) const {
Heap::RelocationLock(isolate()->heap());
+ AllowHandleDereference allow_deref;
AllowDeferredHandleDereference allow_deferred_deref;
for (int i = 0; i < blocks_.length(); i++) {
HBasicBlock* block = blocks_.at(i);
@@ -4564,7 +4565,6 @@
if (FLAG_trace_dead_code_elimination) {
HeapStringAllocator allocator;
StringStream stream(&allocator);
- AllowDeferredHandleDereference debug_output;
if (ref != NULL) {
ref->PrintTo(&stream);
} else {
@@ -11256,14 +11256,16 @@
void HTracer::TraceLithium(const char* name, LChunk* chunk) {
ASSERT(!FLAG_parallel_recompilation);
- AllowDeferredHandleDereference debug_output;
+ AllowHandleDereference allow_deref;
+ AllowDeferredHandleDereference allow_deferred_deref;
Trace(name, chunk->graph(), chunk);
}
void HTracer::TraceHydrogen(const char* name, HGraph* graph) {
ASSERT(!FLAG_parallel_recompilation);
- AllowDeferredHandleDereference debug_output;
+ AllowHandleDereference allow_deref;
+ AllowDeferredHandleDereference allow_deferred_deref;
Trace(name, graph, NULL);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.