Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index aec56bf232effb1d2d2395f9358c186b77f0f047..409502dd9837378e27282d7ceae1d7e40246df5f 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -32,6 +32,16 @@ Handle<T> Factory::New(Handle<Map> map, |
} |
+Handle<HeapObject> Factory::NewFillerObject(int size, |
+ bool double_align, |
+ AllocationSpace space) { |
+ CALL_HEAP_FUNCTION( |
+ isolate(), |
+ isolate()->heap()->AllocateFillerObject(size, double_align, space), |
+ HeapObject); |
+} |
+ |
+ |
Handle<Box> Factory::NewBox(Handle<Object> value) { |
Handle<Box> result = Handle<Box>::cast(NewStruct(BOX_TYPE)); |
result->set_value(*value); |