Fix --trace-hydrogen --enable-slow-asserts combination.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/23295035

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16350 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2013-08-27 08:49:27 +00:00
parent db3d56e029
commit 93ff0d164f

View File

@ -1262,6 +1262,7 @@ CompilationPhase::~CompilationPhase() {
bool CompilationPhase::ShouldProduceTraceOutput() const {
// Trace if the appropriate trace flag is set and the phase name's first
// character is in the FLAG_trace_phase command line parameter.
AllowHandleDereference allow_deref;
bool tracing_on = info()->IsStub()
? FLAG_trace_hydrogen_stubs
: (FLAG_trace_hydrogen &&