Index: src/builtins/builtins-api.cc |
diff --git a/src/builtins/builtins-api.cc b/src/builtins/builtins-api.cc |
index eb34638fa0b94ee00cd735007d3b39b8b29cd3bd..5ad518b8428c6637b99c5d05b4ec5a14d49d701f 100644 |
--- a/src/builtins/builtins-api.cc |
+++ b/src/builtins/builtins-api.cc |
@@ -11,6 +11,7 @@ |
#include "src/log.h" |
#include "src/objects-inl.h" |
#include "src/prototype.h" |
+#include "src/visitors.h" |
namespace v8 { |
namespace internal { |
@@ -150,9 +151,10 @@ class RelocatableArguments : public BuiltinArguments, public Relocatable { |
RelocatableArguments(Isolate* isolate, int length, Object** arguments) |
: BuiltinArguments(length, arguments), Relocatable(isolate) {} |
- virtual inline void IterateInstance(ObjectVisitor* v) { |
+ virtual inline void IterateInstance(RootVisitor* v) { |
if (length() == 0) return; |
- v->VisitPointers(lowest_address(), highest_address() + 1); |
+ v->VisitRootPointers(Root::kRelocatable, lowest_address(), |
+ highest_address() + 1); |
} |
private: |