Index: src/compiler/simplified-operator-unittest.cc |
diff --git a/src/compiler/simplified-operator-unittest.cc b/src/compiler/simplified-operator-unittest.cc |
index 24d8bc5a00570a51b916d9aafd71c20a9e3a5828..422e64f07e24a4ccb6a4550695d70038e902f187 100644 |
--- a/src/compiler/simplified-operator-unittest.cc |
+++ b/src/compiler/simplified-operator-unittest.cc |
@@ -119,43 +119,44 @@ INSTANTIATE_TEST_CASE_P(SimplifiedOperatorTest, SimplifiedPureOperatorTest, |
namespace { |
const ElementAccess kElementAccesses[] = { |
- {kTaggedBase, FixedArray::kHeaderSize, Type::Any(), kMachAnyTagged}, |
- {kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, Type::Any(), |
- kMachInt8}, |
- {kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, Type::Any(), |
- kMachInt16}, |
- {kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, Type::Any(), |
- kMachInt32}, |
- {kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, Type::Any(), |
- kMachUint8}, |
- {kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, Type::Any(), |
- kMachUint16}, |
- {kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, Type::Any(), |
- kMachUint32}, |
- {kUntaggedBase, 0, Type::Signed32(), kMachInt8}, |
- {kUntaggedBase, 0, Type::Unsigned32(), kMachUint8}, |
- {kUntaggedBase, 0, Type::Signed32(), kMachInt16}, |
- {kUntaggedBase, 0, Type::Unsigned32(), kMachUint16}, |
- {kUntaggedBase, 0, Type::Signed32(), kMachInt32}, |
- {kUntaggedBase, 0, Type::Unsigned32(), kMachUint32}, |
- {kUntaggedBase, 0, Type::Number(), kRepFloat32}, |
- {kUntaggedBase, 0, Type::Number(), kRepFloat64}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Signed32(), |
- kMachInt8}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Unsigned32(), |
- kMachUint8}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Signed32(), |
- kMachInt16}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Unsigned32(), |
- kMachUint16}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Signed32(), |
- kMachInt32}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Unsigned32(), |
- kMachUint32}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Number(), |
- kRepFloat32}, |
- {kTaggedBase, FixedTypedArrayBase::kDataOffset, Type::Number(), |
- kRepFloat64}}; |
+ {kNoBoundsCheck, kTaggedBase, FixedArray::kHeaderSize, Type::Any(), |
+ kMachAnyTagged}, |
+ {kNoBoundsCheck, kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, |
+ Type::Any(), kMachInt8}, |
+ {kNoBoundsCheck, kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, |
+ Type::Any(), kMachInt16}, |
+ {kNoBoundsCheck, kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, |
+ Type::Any(), kMachInt32}, |
+ {kNoBoundsCheck, kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, |
+ Type::Any(), kMachUint8}, |
+ {kNoBoundsCheck, kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, |
+ Type::Any(), kMachUint16}, |
+ {kNoBoundsCheck, kUntaggedBase, kNonHeapObjectHeaderSize - kHeapObjectTag, |
+ Type::Any(), kMachUint32}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Signed32(), kMachInt8}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Unsigned32(), kMachUint8}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Signed32(), kMachInt16}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Unsigned32(), kMachUint16}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Signed32(), kMachInt32}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Unsigned32(), kMachUint32}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Number(), kRepFloat32}, |
+ {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::Number(), kRepFloat64}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Signed32(), kMachInt8}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Unsigned32(), kMachUint8}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Signed32(), kMachInt16}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Unsigned32(), kMachUint16}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Signed32(), kMachInt32}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Unsigned32(), kMachUint32}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Number(), kRepFloat32}, |
+ {kTypedArrayBoundsCheck, kTaggedBase, FixedTypedArrayBase::kDataOffset, |
+ Type::Number(), kRepFloat64}}; |
} // namespace |