Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: src/factory.cc

Issue 1148007: Merge bleeding_edge from version 2.1.3 up to revision 4205... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/factory.h ('k') | src/fast-codegen.cc » ('j') | src/heap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
===================================================================
--- src/factory.cc (revision 4205)
+++ src/factory.cc (working copy)
@@ -560,6 +560,11 @@
}
+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,
@@ -866,6 +871,7 @@
map->set_instance_descriptors(*array);
}
+ ASSERT(result->shared()->IsApiFunction());
return result;
}
« no previous file with comments | « src/factory.h ('k') | src/fast-codegen.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698