Commit 5a768f07 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Fix release build

Disassemble is not available in release build
Review URL: http://codereview.chromium.org/6635043

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent da9fe0f9
......@@ -860,11 +860,11 @@ RegExpEngine::CompilationResult RegExpCompiler::Assemble(
if (reg_exp_too_big_) return IrregexpRegExpTooBig();
Handle<Object> code = macro_assembler_->GetCode(pattern);
work_list_ = NULL;
#ifdef DEBUG
if (FLAG_print_code) {
Handle<Code>::cast(code)->Disassemble(*pattern->ToCString());
}
work_list_ = NULL;
#ifdef DEBUG
if (FLAG_trace_regexp_assembler) {
delete macro_assembler_;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment