| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 55d6ff071ca6353549cc8edf866f6fde09609124..c1e5231498b0bc1da5df11873f1983eb94f82843 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2010 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -58,6 +58,16 @@ Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size,
|
| }
|
|
|
|
|
| +Handle<FixedArray> Factory::NewFixedDoubleArray(int size,
|
| + PretenureFlag pretenure) {
|
| + ASSERT(0 <= size);
|
| + CALL_HEAP_FUNCTION(
|
| + isolate(),
|
| + isolate()->heap()->AllocateFixedDoubleArray(size, pretenure),
|
| + FixedArray);
|
| +}
|
| +
|
| +
|
| Handle<StringDictionary> Factory::NewStringDictionary(int at_least_space_for) {
|
| ASSERT(0 <= at_least_space_for);
|
| CALL_HEAP_FUNCTION(isolate(),
|
|
|