Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: src/objects.h

Issue 1936393002: Make array __proto__ manipulations not disturb the species protector (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tests, cleanup Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698