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

Side by Side Diff: src/objects.h

Issue 2131383002: [builtins] take slow path in IsConcatSpreadable if proxy in prototype (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Refactor Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 1978 matching lines...) Expand 10 before | Expand all | Expand 10 after
1989 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnValues( 1989 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnValues(
1990 Handle<JSReceiver> object, PropertyFilter filter); 1990 Handle<JSReceiver> object, PropertyFilter filter);
1991 1991
1992 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnEntries( 1992 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnEntries(
1993 Handle<JSReceiver> object, PropertyFilter filter); 1993 Handle<JSReceiver> object, PropertyFilter filter);
1994 1994
1995 // Layout description. 1995 // Layout description.
1996 static const int kPropertiesOffset = HeapObject::kHeaderSize; 1996 static const int kPropertiesOffset = HeapObject::kHeaderSize;
1997 static const int kHeaderSize = HeapObject::kHeaderSize + kPointerSize; 1997 static const int kHeaderSize = HeapObject::kHeaderSize + kPointerSize;
1998 1998
1999 bool HasProxyInPrototype(Isolate* isolate);
2000
1999 private: 2001 private:
2000 DISALLOW_IMPLICIT_CONSTRUCTORS(JSReceiver); 2002 DISALLOW_IMPLICIT_CONSTRUCTORS(JSReceiver);
2001 }; 2003 };
2002 2004
2003 2005
2004 // The JSObject describes real heap allocated JavaScript objects with 2006 // The JSObject describes real heap allocated JavaScript objects with
2005 // properties. 2007 // properties.
2006 // Note that the map of JSObject changes during execution to enable inline 2008 // Note that the map of JSObject changes during execution to enable inline
2007 // caching. 2009 // caching.
2008 class JSObject: public JSReceiver { 2010 class JSObject: public JSReceiver {
(...skipping 8956 matching lines...) Expand 10 before | Expand all | Expand 10 after
10965 } 10967 }
10966 return value; 10968 return value;
10967 } 10969 }
10968 }; 10970 };
10969 10971
10970 10972
10971 } // NOLINT, false-positive due to second-order macros. 10973 } // NOLINT, false-positive due to second-order macros.
10972 } // NOLINT, false-positive due to second-order macros. 10974 } // NOLINT, false-positive due to second-order macros.
10973 10975
10974 #endif // V8_OBJECTS_H_ 10976 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | test/mjsunit/es6/array-concat.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698