Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 20bc5ac3ef311088cd12a0e834a9c81cf0d92af1..1c38193a5634f7fcbb3af1b405540b87649d5d66 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1340,6 +1340,16 @@ |
HeapNumber); |
} |
+#define SIMD128_NEW_DEF(TYPE, Type, type, lane_count, lane_type) \ |
+ Handle<Type> Factory::New##Type(lane_type lanes[lane_count], \ |
+ PretenureFlag pretenure) { \ |
+ CALL_HEAP_FUNCTION( \ |
+ isolate(), isolate()->heap()->Allocate##Type(lanes, pretenure), Type); \ |
+ } |
+SIMD128_TYPES(SIMD128_NEW_DEF) |
+#undef SIMD128_NEW_DEF |
+ |
+ |
Handle<Object> Factory::NewError(Handle<JSFunction> constructor, |
MessageTemplate::Template template_index, |
Handle<Object> arg0, Handle<Object> arg1, |