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

Unified Diff: runtime/vm/kernel.h

Issue 2941483003: Revert "[kernel] Stream everything. Replace .kernel_function with .kernel_offset" (Closed)
Patch Set: Created 3 years, 6 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/flow_graph_inliner.cc ('k') | 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 70f5f36405f2469ea2a1f408c0b6643eff13f58e..e2970b11074baceaec75a79090a06ff9f1872841 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -429,10 +429,7 @@ class TreeNode : public Node {
virtual void AcceptVisitor(Visitor* visitor);
virtual void AcceptTreeVisitor(TreeVisitor* visitor) = 0;
- intptr_t kernel_offset() const {
- ASSERT(kernel_offset_ > 0);
- return kernel_offset_;
- }
+ intptr_t kernel_offset() const { return kernel_offset_; }
bool can_stream() { return can_stream_; }
protected:
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698