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

Unified Diff: runtime/vm/kernel.h

Issue 2781313003: Add kernel_offset to all expressions; Make KernelConstMapKeyEqualsTraits use kernel_offset (Closed)
Patch Set: Removed debug printf Created 3 years, 9 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/kernel_binary.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel.h
diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
index a4076961985f0ad0c517611c75cf11b8676144a5..539f73529c7c87896dcb330cd38f2b809a2c92a5 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -434,7 +434,7 @@ class TreeNode : public Node {
virtual void AcceptVisitor(Visitor* visitor);
virtual void AcceptTreeVisitor(TreeVisitor* visitor) = 0;
- intptr_t kernel_offset() { return kernel_offset_; }
+ intptr_t kernel_offset() const { return kernel_offset_; }
protected:
TreeNode() : kernel_offset_(-1) {}
@@ -1348,6 +1348,8 @@ class StaticInvocation : public Expression {
static StaticInvocation* ReadFrom(Reader* reader, bool is_const);
~StaticInvocation();
+ DEFINE_CASTING_OPERATIONS(StaticInvocation);
+
virtual void AcceptExpressionVisitor(ExpressionVisitor* visitor);
virtual void VisitChildren(Visitor* visitor);
« no previous file with comments | « no previous file | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698