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

Side by Side Diff: src/objects.h

Issue 2639333004: [pattern rewriter] Only desugar to call %ToName on computed properties (Closed)
Patch Set: add dcheck Created 3 years, 11 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 | « no previous file | 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 #include <memory> 9 #include <memory>
10 10
(...skipping 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 2004
2005 MUST_USE_RESULT static Maybe<bool> HasInPrototypeChain( 2005 MUST_USE_RESULT static Maybe<bool> HasInPrototypeChain(
2006 Isolate* isolate, Handle<JSReceiver> object, Handle<Object> proto); 2006 Isolate* isolate, Handle<JSReceiver> object, Handle<Object> proto);
2007 2007
2008 // Reads all enumerable own properties of source and adds them to 2008 // Reads all enumerable own properties of source and adds them to
2009 // target, using either Set or CreateDataProperty depending on the 2009 // target, using either Set or CreateDataProperty depending on the
2010 // use_set argument. This only copies values not present in the 2010 // use_set argument. This only copies values not present in the
2011 // maybe_excluded_properties list. 2011 // maybe_excluded_properties list.
2012 MUST_USE_RESULT static Maybe<bool> SetOrCopyDataProperties( 2012 MUST_USE_RESULT static Maybe<bool> SetOrCopyDataProperties(
2013 Isolate* isolate, Handle<JSReceiver> target, Handle<Object> source, 2013 Isolate* isolate, Handle<JSReceiver> target, Handle<Object> source,
2014 const ScopedVector<Handle<Name>>* excluded_properties = nullptr, 2014 const ScopedVector<Handle<Object>>* excluded_properties = nullptr,
2015 bool use_set = true); 2015 bool use_set = true);
2016 2016
2017 // Implementation of [[HasProperty]], ECMA-262 5th edition, section 8.12.6. 2017 // Implementation of [[HasProperty]], ECMA-262 5th edition, section 8.12.6.
2018 MUST_USE_RESULT static Maybe<bool> HasProperty(LookupIterator* it); 2018 MUST_USE_RESULT static Maybe<bool> HasProperty(LookupIterator* it);
2019 MUST_USE_RESULT static inline Maybe<bool> HasProperty( 2019 MUST_USE_RESULT static inline Maybe<bool> HasProperty(
2020 Handle<JSReceiver> object, Handle<Name> name); 2020 Handle<JSReceiver> object, Handle<Name> name);
2021 MUST_USE_RESULT static inline Maybe<bool> HasElement( 2021 MUST_USE_RESULT static inline Maybe<bool> HasElement(
2022 Handle<JSReceiver> object, uint32_t index); 2022 Handle<JSReceiver> object, uint32_t index);
2023 2023
2024 MUST_USE_RESULT static inline Maybe<bool> HasOwnProperty( 2024 MUST_USE_RESULT static inline Maybe<bool> HasOwnProperty(
(...skipping 9672 matching lines...) Expand 10 before | Expand all | Expand 10 after
11697 } 11697 }
11698 }; 11698 };
11699 11699
11700 11700
11701 } // NOLINT, false-positive due to second-order macros. 11701 } // NOLINT, false-positive due to second-order macros.
11702 } // NOLINT, false-positive due to second-order macros. 11702 } // NOLINT, false-positive due to second-order macros.
11703 11703
11704 #include "src/objects/object-macros-undef.h" 11704 #include "src/objects/object-macros-undef.h"
11705 11705
11706 #endif // V8_OBJECTS_H_ 11706 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698