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

Side by Side Diff: src/objects.h

Issue 1427113002: Fix corner-case behavior of Object::SetSuperProperty. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 1 month 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/allocation.h" 10 #include "src/allocation.h"
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 Isolate* isolate, Handle<Object> receiver, Handle<Object> name, 1257 Isolate* isolate, Handle<Object> receiver, Handle<Object> name,
1258 LanguageMode language_mode); 1258 LanguageMode language_mode);
1259 MUST_USE_RESULT static Maybe<bool> CannotCreateProperty( 1259 MUST_USE_RESULT static Maybe<bool> CannotCreateProperty(
1260 Isolate* isolate, Handle<Object> receiver, Handle<Object> name, 1260 Isolate* isolate, Handle<Object> receiver, Handle<Object> name,
1261 Handle<Object> value, ShouldThrow should_throw); 1261 Handle<Object> value, ShouldThrow should_throw);
1262 MUST_USE_RESULT static Maybe<bool> WriteToReadOnlyProperty( 1262 MUST_USE_RESULT static Maybe<bool> WriteToReadOnlyProperty(
1263 LookupIterator* it, Handle<Object> value, ShouldThrow should_throw); 1263 LookupIterator* it, Handle<Object> value, ShouldThrow should_throw);
1264 MUST_USE_RESULT static Maybe<bool> WriteToReadOnlyProperty( 1264 MUST_USE_RESULT static Maybe<bool> WriteToReadOnlyProperty(
1265 Isolate* isolate, Handle<Object> receiver, Handle<Object> name, 1265 Isolate* isolate, Handle<Object> receiver, Handle<Object> name,
1266 Handle<Object> value, ShouldThrow should_throw); 1266 Handle<Object> value, ShouldThrow should_throw);
1267 MUST_USE_RESULT static Maybe<bool> RedefineNonconfigurableProperty( 1267 MUST_USE_RESULT static Maybe<bool> RedefineIncompatibleProperty(
1268 Isolate* isolate, Handle<Object> name, Handle<Object> value, 1268 Isolate* isolate, Handle<Object> name, Handle<Object> value,
1269 ShouldThrow should_throw); 1269 ShouldThrow should_throw);
1270 MUST_USE_RESULT static Maybe<bool> SetDataProperty(LookupIterator* it, 1270 MUST_USE_RESULT static Maybe<bool> SetDataProperty(LookupIterator* it,
1271 Handle<Object> value, 1271 Handle<Object> value,
1272 ShouldThrow should_throw); 1272 ShouldThrow should_throw);
1273 MUST_USE_RESULT static Maybe<bool> AddDataProperty( 1273 MUST_USE_RESULT static Maybe<bool> AddDataProperty(
1274 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes, 1274 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
1275 ShouldThrow should_throw, StoreFromKeyed store_mode); 1275 ShouldThrow should_throw, StoreFromKeyed store_mode);
1276 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement( 1276 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement(
1277 Handle<Object> object, Handle<Name> name, 1277 Handle<Object> object, Handle<Name> name,
(...skipping 9523 matching lines...) Expand 10 before | Expand all | Expand 10 after
10801 // (elements + properties) in the current level. 10801 // (elements + properties) in the current level.
10802 int levelLength_ = 0; 10802 int levelLength_ = 0;
10803 10803
10804 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10804 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10805 }; 10805 };
10806 10806
10807 } // NOLINT, false-positive due to second-order macros. 10807 } // NOLINT, false-positive due to second-order macros.
10808 } // NOLINT, false-positive due to second-order macros. 10808 } // NOLINT, false-positive due to second-order macros.
10809 10809
10810 #endif // V8_OBJECTS_H_ 10810 #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