Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 44ab12eef21aa2b93db128db89038c7618c3bf91..4b136d0fdd9644878088841410e0cf8861f12d05 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1153,14 +1153,6 @@ class RepresentationSelector { |
}; |
-Node* SimplifiedLowering::IsTagged(Node* node) { |
- // TODO(titzer): factor this out to a TaggingScheme abstraction. |
- STATIC_ASSERT(kSmiTagMask == 1); // Only works if tag is the low bit. |
- return graph()->NewNode(machine()->WordAnd(), node, |
- jsgraph()->Int32Constant(kSmiTagMask)); |
-} |
- |
- |
SimplifiedLowering::SimplifiedLowering(JSGraph* jsgraph, Zone* zone, |
SourcePositionTable* source_positions) |
: jsgraph_(jsgraph), |
@@ -1177,25 +1169,6 @@ void SimplifiedLowering::LowerAllNodes() { |
} |
-Node* SimplifiedLowering::Untag(Node* node) { |
- // TODO(titzer): factor this out to a TaggingScheme abstraction. |
- Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize); |
- return graph()->NewNode(machine()->WordSar(), node, shift_amount); |
-} |
- |
- |
-Node* SimplifiedLowering::SmiTag(Node* node) { |
- // TODO(titzer): factor this out to a TaggingScheme abstraction. |
- Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize); |
- return graph()->NewNode(machine()->WordShl(), node, shift_amount); |
-} |
- |
- |
-Node* SimplifiedLowering::OffsetMinusTagConstant(int32_t offset) { |
- return jsgraph()->Int32Constant(offset - kHeapObjectTag); |
-} |
- |
- |
namespace { |
WriteBarrierKind ComputeWriteBarrierKind(BaseTaggedness base_is_tagged, |