| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 27973ed6cfcc24adf3b032a69f29e59a8dad7d3c..d4f8623d5c34f32e80fc11681dd2db719b4b7953 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -6931,7 +6931,7 @@ void ObjectVisitor::VisitGlobalPropertyCell(RelocInfo* rinfo) {
|
| Object* old_cell = cell;
|
| VisitPointer(&cell);
|
| if (cell != old_cell) {
|
| - rinfo->set_target_cell(reinterpret_cast<JSGlobalPropertyCell*>(cell), NULL);
|
| + rinfo->set_target_cell(reinterpret_cast<JSGlobalPropertyCell*>(cell));
|
| }
|
| }
|
|
|
| @@ -6981,16 +6981,16 @@ void Code::CopyFrom(const CodeDesc& desc) {
|
| RelocInfo::Mode mode = it.rinfo()->rmode();
|
| if (mode == RelocInfo::EMBEDDED_OBJECT) {
|
| Handle<Object> p = it.rinfo()->target_object_handle(origin);
|
| - it.rinfo()->set_target_object(*p, this);
|
| + it.rinfo()->set_target_object(*p);
|
| } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) {
|
| Handle<JSGlobalPropertyCell> cell = it.rinfo()->target_cell_handle();
|
| - it.rinfo()->set_target_cell(*cell, this);
|
| + it.rinfo()->set_target_cell(*cell);
|
| } else if (RelocInfo::IsCodeTarget(mode)) {
|
| // rewrite code handles in inline cache targets to direct
|
| // pointers to the first instruction in the code object
|
| Handle<Object> p = it.rinfo()->target_object_handle(origin);
|
| Code* code = Code::cast(*p);
|
| - it.rinfo()->set_target_address(code->instruction_start(), this);
|
| + it.rinfo()->set_target_address(code->instruction_start());
|
| } else {
|
| it.rinfo()->apply(delta);
|
| }
|
|
|