Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 45748500939bbd7ee82cdec3b3bb621dcd5c6303..d3a4be7e6183e962caf331ca4a2fa85878970288 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -10173,6 +10173,10 @@ class JSArray: public JSObject { |
| PropertyDescriptor* desc, |
| ShouldThrow should_throw); |
| + // Checks whether the Array has the current realm's Array.prototype as its |
| + // prototype. |
| + MUST_USE_RESULT inline bool HasArrayPrototype(Isolate* isolate); |
|
adamk
2016/05/03 00:45:31
This doesn't need MUST_USE_RESULT (that's used to
Dan Ehrenberg
2016/05/04 00:18:50
Done
|
| + |
| DECLARE_CAST(JSArray) |
| // Dispatched behavior. |