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

Unified Diff: src/compiler/node.h

Issue 1294913003: [turbofan] Remove the output_index field that was unused in Node::Use. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node.h
diff --git a/src/compiler/node.h b/src/compiler/node.h
index a638df343df61c1063785ee446e769b3522f1fa7..e6c9f23fdc4daf1385bad1e11febe321e0fbacc8 100644
--- a/src/compiler/node.h
+++ b/src/compiler/node.h
@@ -210,7 +210,6 @@ class Node final {
uint32_t bit_field_;
int input_index() const { return InputIndexField::decode(bit_field_); }
- int output_index() const { return OutputIndexField::decode(bit_field_); }
bool is_inline_use() const { return InlineField::decode(bit_field_); }
Node** input_ptr() {
int index = input_index();
@@ -229,7 +228,8 @@ class Node final {
typedef BitField<bool, 0, 1> InlineField;
typedef BitField<unsigned, 1, 17> InputIndexField;
- typedef BitField<unsigned, 17, 14> OutputIndexField;
+ // Leaving some space in the bitset in case we ever decide to record
+ // the output index.
};
//============================================================================
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698