summaryrefslogtreecommitdiff
path: root/deps/v8/src/factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/factory.cc')
-rw-r--r--deps/v8/src/factory.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/factory.cc b/deps/v8/src/factory.cc
index 993e2b6ce..45124e645 100644
--- a/deps/v8/src/factory.cc
+++ b/deps/v8/src/factory.cc
@@ -560,6 +560,11 @@ Handle<Code> Factory::CopyCode(Handle<Code> code) {
}
+Handle<Code> Factory::CopyCode(Handle<Code> code, Vector<byte> reloc_info) {
+ CALL_HEAP_FUNCTION(Heap::CopyCode(*code, reloc_info), Code);
+}
+
+
static inline Object* DoCopyInsert(DescriptorArray* array,
String* key,
Object* value,