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

Unified Diff: runtime/vm/object.h

Issue 1758153002: Tree-shake consts. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: no closure call bit on icdata anymore either Created 4 years, 10 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/disassembler.cc ('k') | runtime/vm/precompiler.h » ('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 3c2b7c20a13e2194fcb94969c143bc3a61492201..d069a1e8626ec369ed615bc07a4451fb0dec4f78 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -262,15 +262,12 @@ class Object {
&raw()->ptr()->tags_, old_tags, new_tags);
}
bool IsCanonical() const {
- ASSERT(!IsNull());
return raw()->IsCanonical();
}
void SetCanonical() const {
- ASSERT(!IsNull());
raw()->SetCanonical();
}
void ClearCanonical() const {
- ASSERT(!IsNull());
raw()->ClearCanonical();
}
intptr_t GetClassId() const {
« no previous file with comments | « runtime/vm/disassembler.cc ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698