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

Unified Diff: runtime/vm/raw_object.h

Issue 1584443002: VM: Precompiled rodata snapshot. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: win32, android build Created 4 years, 11 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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index ee5450dee67887523d97ce065f842a60737838c2..c04354fa102ca3315c6ce45d5668b2148cc3ca5b 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -427,6 +427,12 @@ class RawObject {
bool IsCode() {
return ((GetClassId() == kCodeCid));
}
+ bool IsStackmap() {
+ return ((GetClassId() == kStackmapCid));
+ }
+ bool IsPcDescriptors() {
+ return ((GetClassId() == kPcDescriptorsCid));
+ }
intptr_t Size() const {
uword tags = ptr()->tags_;

Powered by Google App Engine
This is Rietveld 408576698