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

Unified Diff: runtime/vm/object.h

Issue 1418833004: VM: Service isolate under precompilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 3c38af15bd6ba6eabea0734b3597fbfa4afef442..aee0b26d3e0fbab9ee197c78e1e2182fd88b60e3 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4440,6 +4440,21 @@ class Code : public Object {
DISALLOW_COPY_AND_ASSIGN(FindRawCodeVisitor);
};
+ class SlowFindRawCodeVisitor : public FindObjectVisitor {
+ public:
+ explicit SlowFindRawCodeVisitor(uword pc)
+ : FindObjectVisitor(Isolate::Current()), pc_(pc) { }
+ virtual ~SlowFindRawCodeVisitor() { }
+
+ // Check if object matches find condition.
+ virtual bool FindObject(RawObject* obj) const;
+
+ private:
+ const uword pc_;
+
+ DISALLOW_COPY_AND_ASSIGN(SlowFindRawCodeVisitor);
+ };
+
static bool IsOptimized(RawCode* code) {
return Code::OptimizedBit::decode(code->ptr()->state_bits_);
}
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698