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

Unified Diff: src/compiler/node-marker.cc

Issue 1184693002: [turbofan] Inline hot functions for NodeMarkerBase. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « src/compiler/node-marker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node-marker.cc
diff --git a/src/compiler/node-marker.cc b/src/compiler/node-marker.cc
index fb7c1e192abb64ccb293d2cef67471cf18335471..3e56a11271a3ec0120ea820a7f1b0751ae47f269 100644
--- a/src/compiler/node-marker.cc
+++ b/src/compiler/node-marker.cc
@@ -5,7 +5,6 @@
#include "src/compiler/node-marker.h"
#include "src/compiler/graph.h"
-#include "src/compiler/node.h"
namespace v8 {
namespace internal {
@@ -18,24 +17,6 @@ NodeMarkerBase::NodeMarkerBase(Graph* graph, uint32_t num_states)
}
-Mark NodeMarkerBase::Get(Node* node) {
- Mark mark = node->mark();
- if (mark < mark_min_) {
- mark = mark_min_;
- node->set_mark(mark_min_);
- }
- DCHECK_LT(mark, mark_max_);
- return mark - mark_min_;
-}
-
-
-void NodeMarkerBase::Set(Node* node, Mark mark) {
- DCHECK_LT(mark, mark_max_ - mark_min_);
- DCHECK_LT(node->mark(), mark_max_);
- node->set_mark(mark + mark_min_);
-}
-
-
void NodeMarkerBase::Reset(Graph* graph) {
uint32_t const num_states = mark_max_ - mark_min_;
mark_min_ = graph->mark_max_;
« no previous file with comments | « src/compiler/node-marker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698