| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 9323c2f1f03b02f6f80eeef070d142910cfbeb56..6faa84e96bbd8d2a4808def903ed4ad56ec7d1de 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1249,6 +1249,21 @@ Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(Handle<String> name) {
|
| }
|
|
|
|
|
| +Handle<OptimizedCodeEntry> Factory::NewOptimizedCodeEntry(
|
| + Handle<Context> native_context,
|
| + Handle<JSFunction> function,
|
| + Handle<Code> code,
|
| + Handle<FixedArray> literals) {
|
| + CALL_HEAP_FUNCTION(isolate(),
|
| + isolate()->heap()->AllocateOptimizedCodeEntry(
|
| + *native_context,
|
| + *function,
|
| + *code,
|
| + *literals),
|
| + OptimizedCodeEntry);
|
| +}
|
| +
|
| +
|
| Handle<String> Factory::NumberToString(Handle<Object> number) {
|
| CALL_HEAP_FUNCTION(isolate(),
|
| isolate()->heap()->NumberToString(*number), String);
|
|
|