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

Side by Side Diff: src/compiler/node.h

Issue 2583043004: [turbofan] Do not set node's mark to min on get (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/node-marker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_NODE_H_ 5 #ifndef V8_COMPILER_NODE_H_
6 #define V8_COMPILER_NODE_H_ 6 #define V8_COMPILER_NODE_H_
7 7
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/compiler/types.h" 10 #include "src/compiler/types.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 void* operator new(size_t, void* location) { return location; } 287 void* operator new(size_t, void* location) { return location; }
288 288
289 // Only NodeProperties should manipulate the op. 289 // Only NodeProperties should manipulate the op.
290 void set_op(const Operator* op) { op_ = op; } 290 void set_op(const Operator* op) { op_ = op; }
291 291
292 // Only NodeProperties should manipulate the type. 292 // Only NodeProperties should manipulate the type.
293 Type* type() const { return type_; } 293 Type* type() const { return type_; }
294 void set_type(Type* type) { type_ = type; } 294 void set_type(Type* type) { type_ = type; }
295 295
296 // Only NodeMarkers should manipulate the marks on nodes. 296 // Only NodeMarkers should manipulate the marks on nodes.
297 Mark mark() { return mark_; } 297 Mark mark() const { return mark_; }
298 void set_mark(Mark mark) { mark_ = mark; } 298 void set_mark(Mark mark) { mark_ = mark; }
299 299
300 inline bool has_inline_inputs() const { 300 inline bool has_inline_inputs() const {
301 return InlineCountField::decode(bit_field_) != kOutlineMarker; 301 return InlineCountField::decode(bit_field_) != kOutlineMarker;
302 } 302 }
303 303
304 void ClearInputs(int start, int count); 304 void ClearInputs(int start, int count);
305 305
306 typedef BitField<NodeId, 0, 24> IdField; 306 typedef BitField<NodeId, 0, 24> IdField;
307 typedef BitField<unsigned, 24, 4> InlineCountField; 307 typedef BitField<unsigned, 24, 4> InlineCountField;
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 } 557 }
558 558
559 559
560 Node::Uses::const_iterator Node::Uses::end() const { return const_iterator(); } 560 Node::Uses::const_iterator Node::Uses::end() const { return const_iterator(); }
561 561
562 } // namespace compiler 562 } // namespace compiler
563 } // namespace internal 563 } // namespace internal
564 } // namespace v8 564 } // namespace v8
565 565
566 #endif // V8_COMPILER_NODE_H_ 566 #endif // V8_COMPILER_NODE_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/node-marker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698