| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index cc3760596d3613396027137d4229694a679acc89..b5411b64a9996cb087ab456a31a4d0c8ea59495d 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -99,6 +99,16 @@ namespace internal {
|
| /* TurboFanCodeStubs */ \
|
| V(AllocateHeapNumber) \
|
| V(AllocateMutableHeapNumber) \
|
| + V(AllocateFloat32x4) \
|
| + V(AllocateInt32x4) \
|
| + V(AllocateUint32x4) \
|
| + V(AllocateBool32x4) \
|
| + V(AllocateInt16x8) \
|
| + V(AllocateUint16x8) \
|
| + V(AllocateBool16x8) \
|
| + V(AllocateInt8x16) \
|
| + V(AllocateUint8x16) \
|
| + V(AllocateBool8x16) \
|
| V(StringLength) \
|
| V(LessThan) \
|
| V(LessThanOrEqual) \
|
| @@ -2559,6 +2569,22 @@ class AllocateMutableHeapNumberStub : public TurboFanCodeStub {
|
| DEFINE_CODE_STUB(AllocateMutableHeapNumber, TurboFanCodeStub);
|
| };
|
|
|
| +#define SIMD128_ALLOC_STUB(TYPE, Type, type, lane_count, lane_type) \
|
| + class Allocate##Type##Stub : public TurboFanCodeStub { \
|
| + public: \
|
| + explicit Allocate##Type##Stub(Isolate* isolate) \
|
| + : TurboFanCodeStub(isolate) {} \
|
| + \
|
| + void InitializeDescriptor(CodeStubDescriptor* descriptor) override; \
|
| + void GenerateAssembly( \
|
| + compiler::CodeStubAssembler* assembler) const override; \
|
| + \
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(Allocate##Type); \
|
| + DEFINE_CODE_STUB(Allocate##Type, TurboFanCodeStub); \
|
| + };
|
| +SIMD128_TYPES(SIMD128_ALLOC_STUB)
|
| +#undef SIMD128_ALLOC_STUB
|
| +
|
| class AllocateInNewSpaceStub final : public HydrogenCodeStub {
|
| public:
|
| explicit AllocateInNewSpaceStub(Isolate* isolate)
|
|
|