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

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: rebased 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
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1990 matching lines...) Expand 10 before | Expand all | Expand 10 after
2001 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnValues( 2001 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnValues(
2002 Handle<JSReceiver> object, PropertyFilter filter); 2002 Handle<JSReceiver> object, PropertyFilter filter);
2003 2003
2004 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnEntries( 2004 MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnEntries(
2005 Handle<JSReceiver> object, PropertyFilter filter); 2005 Handle<JSReceiver> object, PropertyFilter filter);
2006 2006
2007 // Layout description. 2007 // Layout description.
2008 static const int kPropertiesOffset = HeapObject::kHeaderSize; 2008 static const int kPropertiesOffset = HeapObject::kHeaderSize;
2009 static const int kHeaderSize = HeapObject::kHeaderSize + kPointerSize; 2009 static const int kHeaderSize = HeapObject::kHeaderSize + kPointerSize;
2010 2010
2011 bool HasProxyInPrototype(Isolate* isolate);
2012
2011 private: 2013 private:
2012 DISALLOW_IMPLICIT_CONSTRUCTORS(JSReceiver); 2014 DISALLOW_IMPLICIT_CONSTRUCTORS(JSReceiver);
2013 }; 2015 };
2014 2016
2015 2017
2016 // The JSObject describes real heap allocated JavaScript objects with 2018 // The JSObject describes real heap allocated JavaScript objects with
2017 // properties. 2019 // properties.
2018 // Note that the map of JSObject changes during execution to enable inline 2020 // Note that the map of JSObject changes during execution to enable inline
2019 // caching. 2021 // caching.
2020 class JSObject: public JSReceiver { 2022 class JSObject: public JSReceiver {
(...skipping 8981 matching lines...) Expand 10 before | Expand all | Expand 10 after
11002 } 11004 }
11003 return value; 11005 return value;
11004 } 11006 }
11005 }; 11007 };
11006 11008
11007 11009
11008 } // NOLINT, false-positive due to second-order macros. 11010 } // NOLINT, false-positive due to second-order macros.
11009 } // NOLINT, false-positive due to second-order macros. 11011 } // NOLINT, false-positive due to second-order macros.
11010 11012
11011 #endif // V8_OBJECTS_H_ 11013 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698