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

Unified Diff: src/liveedit.cc

Issue 6639024: Get rid of distinction between below- and above-watermark in page allocation.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 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
Index: src/liveedit.cc
===================================================================
--- src/liveedit.cc (revision 7102)
+++ src/liveedit.cc (working copy)
@@ -903,7 +903,7 @@
// Now iterate over all pointers of all objects, including code_target
// implicit pointers.
HeapIterator iterator;
- for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) {
+ for (HeapObject* obj = iterator.Next(); obj != NULL; obj = iterator.Next()) {
obj->Iterate(&visitor);
}
@@ -987,6 +987,8 @@
Handle<SharedFunctionInfo> shared_info = shared_info_wrapper.GetInfo();
+ Heap::EnsureHeapIsIterable();
+
if (IsJSFunctionCode(shared_info->code())) {
ReplaceCodeObject(shared_info->code(),
*(compile_info_wrapper.GetFunctionCode()));
@@ -1215,6 +1217,8 @@
TranslatePosition(info->function_token_position(),
position_change_array));
+ Heap::EnsureHeapIsIterable();
+
if (IsJSFunctionCode(info->code())) {
// Patch relocation info section of the code.
Handle<Code> patched_code = PatchPositionsInCode(Handle<Code>(info->code()),

Powered by Google App Engine
This is Rietveld 408576698