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

Unified Diff: src/builtins.cc

Issue 6321008: Introduce conservative sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 11 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 | « no previous file | src/mark-compact.h » ('j') | src/mark-compact.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index 0c76f6944f86684b31e360d5fe1d2f6d40ba8b78..943aa7ced5636f4a053232f1bbdb3fd6e0ebe788 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -32,6 +32,7 @@
#include "bootstrapper.h"
#include "builtins.h"
#include "ic-inl.h"
+#include "mark-compact.h"
#include "vm-state-inl.h"
namespace v8 {
@@ -350,6 +351,9 @@ static FixedArray* LeftTrimFixedArray(FixedArray* elms, int to_trim) {
// we still do it.
Heap::CreateFillerObjectAt(elms->address(), to_trim * kPointerSize);
+ Marking::TransferMark(elms->address(),
Erik Corry 2011/01/19 13:46:48 Comment?
Vyacheslav Egorov (Chromium) 2011/01/20 16:40:21 Done.
+ elms->address() + to_trim * kPointerSize);
+
former_start[to_trim] = Heap::fixed_array_map();
former_start[to_trim + 1] = Smi::FromInt(len - to_trim);
« no previous file with comments | « no previous file | src/mark-compact.h » ('j') | src/mark-compact.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698