| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 6ed5760b6243c6896f29a2ea3d4232aaad26d5dc..d0664a1ff1d8a4cd15cd46532226fe7c66a3cb6b 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1496,6 +1496,9 @@ class LoadApiGetterStub : public TurboFanCodeStub {
|
| public:
|
| LoadApiGetterStub(Isolate* isolate, bool receiver_is_holder, int index)
|
| : TurboFanCodeStub(isolate) {
|
| + // If that's not true, we need to ensure that the receiver is actually a
|
| + // JSReceiver. http://crbug.com/609134
|
| + DCHECK(receiver_is_holder);
|
| minor_key_ = IndexBits::encode(index) |
|
| ReceiverIsHolderBits::encode(receiver_is_holder);
|
| }
|
|
|