| Index: src/debug/arm/debug-arm.cc
|
| diff --git a/src/debug/arm/debug-arm.cc b/src/debug/arm/debug-arm.cc
|
| index b5b6054d7d8d42a5b7c943e939aad346ff9de903..8477d97d35eab64751e5fdadf735cee388e345d6 100644
|
| --- a/src/debug/arm/debug-arm.cc
|
| +++ b/src/debug/arm/debug-arm.cc
|
| @@ -138,6 +138,9 @@
|
| // Load context from the function.
|
| __ ldr(cp, FieldMemOperand(r1, JSFunction::kContextOffset));
|
|
|
| + // Clear new.target as a safety measure.
|
| + __ LoadRoot(r3, Heap::kUndefinedValueRootIndex);
|
| +
|
| // Get function code.
|
| __ ldr(ip, FieldMemOperand(r1, JSFunction::kSharedFunctionInfoOffset));
|
| __ ldr(ip, FieldMemOperand(ip, SharedFunctionInfo::kCodeOffset));
|
|
|