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

Side by Side Diff: src/objects.h

Issue 1381083004: Improving error messages when adding properties to non JSObject receiver in (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removing unused branch Created 5 years, 2 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/messages.h ('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 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 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 1225
1226 MUST_USE_RESULT static MaybeHandle<Object> SetSuperProperty( 1226 MUST_USE_RESULT static MaybeHandle<Object> SetSuperProperty(
1227 LookupIterator* it, Handle<Object> value, LanguageMode language_mode, 1227 LookupIterator* it, Handle<Object> value, LanguageMode language_mode,
1228 StoreFromKeyed store_mode); 1228 StoreFromKeyed store_mode);
1229 1229
1230 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty( 1230 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty(
1231 LookupIterator* it, LanguageMode language_mode); 1231 LookupIterator* it, LanguageMode language_mode);
1232 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty( 1232 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty(
1233 Isolate* isolate, Handle<Object> receiver, Handle<Object> name, 1233 Isolate* isolate, Handle<Object> receiver, Handle<Object> name,
1234 LanguageMode language_mode); 1234 LanguageMode language_mode);
1235 MUST_USE_RESULT static MaybeHandle<Object> CannotCreateProperty(
1236 LookupIterator* it, Handle<Object> value, LanguageMode language_mode);
1237 MUST_USE_RESULT static MaybeHandle<Object> CannotCreateProperty(
1238 Isolate* isolate, Handle<Object> receiver, Handle<Object> name,
1239 Handle<Object> value, LanguageMode language_mode);
1235 MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty( 1240 MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty(
1236 LookupIterator* it, Handle<Object> value, LanguageMode language_mode); 1241 LookupIterator* it, Handle<Object> value, LanguageMode language_mode);
1237 MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty( 1242 MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty(
1238 Isolate* isolate, Handle<Object> receiver, Handle<Object> name, 1243 Isolate* isolate, Handle<Object> receiver, Handle<Object> name,
1239 Handle<Object> value, LanguageMode language_mode); 1244 Handle<Object> value, LanguageMode language_mode);
1240 MUST_USE_RESULT static MaybeHandle<Object> RedefineNonconfigurableProperty( 1245 MUST_USE_RESULT static MaybeHandle<Object> RedefineNonconfigurableProperty(
1241 Isolate* isolate, Handle<Object> name, Handle<Object> value, 1246 Isolate* isolate, Handle<Object> name, Handle<Object> value,
1242 LanguageMode language_mode); 1247 LanguageMode language_mode);
1243 MUST_USE_RESULT static MaybeHandle<Object> SetDataProperty( 1248 MUST_USE_RESULT static MaybeHandle<Object> SetDataProperty(
1244 LookupIterator* it, Handle<Object> value); 1249 LookupIterator* it, Handle<Object> value);
(...skipping 9417 matching lines...) Expand 10 before | Expand all | Expand 10 after
10662 Handle<FixedArray> keys_; 10667 Handle<FixedArray> keys_;
10663 Handle<OrderedHashSet> set_; 10668 Handle<OrderedHashSet> set_;
10664 int length_; 10669 int length_;
10665 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10670 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10666 }; 10671 };
10667 10672
10668 } // NOLINT, false-positive due to second-order macros. 10673 } // NOLINT, false-positive due to second-order macros.
10669 } // NOLINT, false-positive due to second-order macros. 10674 } // NOLINT, false-positive due to second-order macros.
10670 10675
10671 #endif // V8_OBJECTS_H_ 10676 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/messages.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698