Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: runtime/vm/disassembler.cc

Issue 1355953002: Fix lazy deoptimization from deferred code. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: speed up ia32 disassembler Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index c63d4598dfc25f4d3743838a27017315aac1f157..986b9b2e48895ffb41e54b18d3e49c54800403b7 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -104,7 +104,8 @@ class FindAddrVisitor : public FindObjectVisitor {
bool Disassembler::CanFindOldObject(uword addr) {
FindAddrVisitor visitor(addr);
NoSafepointScope no_safepoint;
- return Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null();
+ return Dart::vm_isolate()->heap()->FindOldObject(&visitor) != Object::null()
+ || Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null();
}
« no previous file with comments | « no previous file | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698