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

Unified Diff: src/factory.cc

Issue 2943002: Reimplement stack manipulations for LiveEdit (Closed)
Patch Set: follow codereview Created 10 years, 5 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/frames.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 39e881ac3d567b5fbdc3d354325cc62b4ea994c5..0c1b526640d988266fc668512cf0c0e91a4abf68 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -553,11 +553,12 @@ 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);
+Handle<Code> Factory::AddPatchToCode(Handle<Code> code, Handle<Code> patch) {
+ CALL_HEAP_FUNCTION(Heap::AddPatchToCode(*code, *patch), Code);
}
+
static inline Object* DoCopyInsert(DescriptorArray* array,
String* key,
Object* value,
« no previous file with comments | « src/factory.h ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698