| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 6bce5d3a6a368d1a47b238944dd1b68a2731ad25..aead7be0cc934efc7af442b242b6fc72a126b7de 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1300,6 +1300,12 @@ Handle<Code> Factory::CopyCode(Handle<Code> code, Vector<byte> reloc_info) {
|
| }
|
|
|
|
|
| +Handle<String> Factory::InternalizedStringFromString(Handle<String> value) {
|
| + CALL_HEAP_FUNCTION(isolate(),
|
| + isolate()->heap()->InternalizeString(*value), String);
|
| +}
|
| +
|
| +
|
| Handle<JSObject> Factory::NewJSObject(Handle<JSFunction> constructor,
|
| PretenureFlag pretenure) {
|
| JSFunction::EnsureHasInitialMap(constructor);
|
| @@ -1566,6 +1572,7 @@ Handle<JSMessageObject> Factory::NewJSMessageObject(
|
| int start_position,
|
| int end_position,
|
| Handle<Object> script,
|
| + Handle<Object> stack_trace,
|
| Handle<Object> stack_frames) {
|
| CALL_HEAP_FUNCTION(isolate(),
|
| isolate()->heap()->AllocateJSMessageObject(*type,
|
| @@ -1573,6 +1580,7 @@ Handle<JSMessageObject> Factory::NewJSMessageObject(
|
| start_position,
|
| end_position,
|
| *script,
|
| + *stack_trace,
|
| *stack_frames),
|
| JSMessageObject);
|
| }
|
|
|