Fix --print-code-stubs during VM initialization
BUG= TEST= Review URL: http://codereview.chromium.org/6815007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7539 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
39ac44216e
commit
c9daea09b9
@ -492,7 +492,8 @@ void RelocInfo::Print(FILE* out) {
|
||||
target_address());
|
||||
} else if (IsPosition(rmode_)) {
|
||||
PrintF(out, " (%" V8_PTR_PREFIX "d)", data());
|
||||
} else if (rmode_ == RelocInfo::RUNTIME_ENTRY) {
|
||||
} else if (rmode_ == RelocInfo::RUNTIME_ENTRY &&
|
||||
Isolate::Current()->deoptimizer_data() != NULL) {
|
||||
// Depotimization bailouts are stored as runtime entries.
|
||||
int id = Deoptimizer::GetDeoptimizationId(
|
||||
target_address(), Deoptimizer::EAGER);
|
||||
|
@ -282,7 +282,8 @@ static int DecodeIt(FILE* f,
|
||||
} else {
|
||||
out.AddFormatted(" %s", Code::Kind2String(kind));
|
||||
}
|
||||
} else if (rmode == RelocInfo::RUNTIME_ENTRY) {
|
||||
} else if (rmode == RelocInfo::RUNTIME_ENTRY &&
|
||||
Isolate::Current()->deoptimizer_data() != NULL) {
|
||||
// A runtime entry reloinfo might be a deoptimization bailout.
|
||||
Address addr = relocinfo.target_address();
|
||||
int id = Deoptimizer::GetDeoptimizationId(addr, Deoptimizer::EAGER);
|
||||
|
Loading…
Reference in New Issue
Block a user