Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 26410e9de56faedfbd74a05d0e5433613cf54629..bf1de7083453cdd06acf11c79f4e4b4a6b1c92c4 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -463,7 +463,7 @@ void Deoptimizer::DeoptimizeAllFunctionsWith(Isolate* isolate, |
void Deoptimizer::HandleWeakDeoptimizedCode(v8::Isolate* isolate, |
- v8::Persistent<v8::Value> obj, |
+ v8::Persistent<v8::Value>* obj, |
void* parameter) { |
DeoptimizingCodeListNode* node = |
reinterpret_cast<DeoptimizingCodeListNode*>(parameter); |
@@ -2750,7 +2750,6 @@ DeoptimizingCodeListNode::DeoptimizingCodeListNode(Code* code): next_(NULL) { |
code_ = Handle<Code>::cast(global_handles->Create(code)); |
global_handles->MakeWeak(reinterpret_cast<Object**>(code_.location()), |
this, |
- NULL, |
Deoptimizer::HandleWeakDeoptimizedCode); |
} |