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
This commit is contained in:
parent
da9fe0f961
commit
5a768f0769
@ -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_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user