Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 55cab6309800dd6c079bf1b37339de6176840de1..4f420ec51569234555fa712ff4ebc101563a6aab 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -1540,54 +1540,6 @@ |
Node* result = assembler->ChangeFloat64ToTagged(value); |
assembler->Return(result); |
} |
-} |
- |
-void ShiftLeftStub::GenerateAssembly( |
- compiler::CodeStubAssembler* assembler) const { |
- using compiler::Node; |
- |
- Node* lhs = assembler->Parameter(0); |
- Node* rhs = assembler->Parameter(1); |
- Node* context = assembler->Parameter(2); |
- Node* lhs_value = assembler->TruncateTaggedToWord32(context, lhs); |
- Node* rhs_value = assembler->TruncateTaggedToWord32(context, rhs); |
- Node* shift_count = |
- assembler->Word32And(rhs_value, assembler->Int32Constant(0x1f)); |
- Node* value = assembler->Word32Shl(lhs_value, shift_count); |
- Node* result = assembler->ChangeInt32ToTagged(value); |
- assembler->Return(result); |
-} |
- |
-void ShiftRightStub::GenerateAssembly( |
- compiler::CodeStubAssembler* assembler) const { |
- using compiler::Node; |
- |
- Node* lhs = assembler->Parameter(0); |
- Node* rhs = assembler->Parameter(1); |
- Node* context = assembler->Parameter(2); |
- Node* lhs_value = assembler->TruncateTaggedToWord32(context, lhs); |
- Node* rhs_value = assembler->TruncateTaggedToWord32(context, rhs); |
- Node* shift_count = |
- assembler->Word32And(rhs_value, assembler->Int32Constant(0x1f)); |
- Node* value = assembler->Word32Sar(lhs_value, shift_count); |
- Node* result = assembler->ChangeInt32ToTagged(value); |
- assembler->Return(result); |
-} |
- |
-void ShiftRightLogicalStub::GenerateAssembly( |
- compiler::CodeStubAssembler* assembler) const { |
- using compiler::Node; |
- |
- Node* lhs = assembler->Parameter(0); |
- Node* rhs = assembler->Parameter(1); |
- Node* context = assembler->Parameter(2); |
- Node* lhs_value = assembler->TruncateTaggedToWord32(context, lhs); |
- Node* rhs_value = assembler->TruncateTaggedToWord32(context, rhs); |
- Node* shift_count = |
- assembler->Word32And(rhs_value, assembler->Int32Constant(0x1f)); |
- Node* value = assembler->Word32Shr(lhs_value, shift_count); |
- Node* result = assembler->ChangeUint32ToTagged(value); |
- assembler->Return(result); |
} |
void BitwiseOrStub::GenerateAssembly( |