Allow handle dereference for --print-code.
R=jkummerow@chromium.org BUG= Review URL: https://codereview.chromium.org/20040004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15862 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
2f4b0e31bd
commit
67acbd6a62
@ -125,6 +125,7 @@ Handle<Code> CodeGenerator::MakeCodeEpilogue(MacroAssembler* masm,
|
||||
|
||||
void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) {
|
||||
#ifdef ENABLE_DISASSEMBLER
|
||||
AllowDeferredHandleDereference allow_deference_for_print_code;
|
||||
bool print_code = Isolate::Current()->bootstrapper()->IsActive()
|
||||
? FLAG_print_builtin_code
|
||||
: (FLAG_print_code ||
|
||||
|
Loading…
Reference in New Issue
Block a user