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

Side by Side Diff: src/objects.h

Issue 1899283003: Allow for creating Private API symbols that have a number as an ID (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 8 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/api.cc ('k') | src/objects-inl.h » ('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 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 // argument. These cases are either in accordance with the spec or not 1234 // argument. These cases are either in accordance with the spec or not
1235 // covered by it (eg., concerning API callbacks). 1235 // covered by it (eg., concerning API callbacks).
1236 MUST_USE_RESULT static Maybe<bool> SetProperty(LookupIterator* it, 1236 MUST_USE_RESULT static Maybe<bool> SetProperty(LookupIterator* it,
1237 Handle<Object> value, 1237 Handle<Object> value,
1238 LanguageMode language_mode, 1238 LanguageMode language_mode,
1239 StoreFromKeyed store_mode); 1239 StoreFromKeyed store_mode);
1240 MUST_USE_RESULT static MaybeHandle<Object> SetProperty( 1240 MUST_USE_RESULT static MaybeHandle<Object> SetProperty(
1241 Handle<Object> object, Handle<Name> name, Handle<Object> value, 1241 Handle<Object> object, Handle<Name> name, Handle<Object> value,
1242 LanguageMode language_mode, 1242 LanguageMode language_mode,
1243 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED); 1243 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED);
1244 MUST_USE_RESULT static inline MaybeHandle<Object> SetPropertyOrElement(
1245 Handle<Object> object, Handle<Name> name, Handle<Object> value,
1246 LanguageMode language_mode,
1247 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED);
1244 1248
1245 MUST_USE_RESULT static Maybe<bool> SetSuperProperty( 1249 MUST_USE_RESULT static Maybe<bool> SetSuperProperty(
1246 LookupIterator* it, Handle<Object> value, LanguageMode language_mode, 1250 LookupIterator* it, Handle<Object> value, LanguageMode language_mode,
1247 StoreFromKeyed store_mode); 1251 StoreFromKeyed store_mode);
1248 1252
1249 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty( 1253 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty(
1250 LookupIterator* it); 1254 LookupIterator* it);
1251 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty( 1255 MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty(
1252 Isolate* isolate, Handle<Object> receiver, Handle<Object> name); 1256 Isolate* isolate, Handle<Object> receiver, Handle<Object> name);
1253 MUST_USE_RESULT static Maybe<bool> CannotCreateProperty( 1257 MUST_USE_RESULT static Maybe<bool> CannotCreateProperty(
(...skipping 9539 matching lines...) Expand 10 before | Expand all | Expand 10 after
10793 } 10797 }
10794 return value; 10798 return value;
10795 } 10799 }
10796 }; 10800 };
10797 10801
10798 10802
10799 } // NOLINT, false-positive due to second-order macros. 10803 } // NOLINT, false-positive due to second-order macros.
10800 } // NOLINT, false-positive due to second-order macros. 10804 } // NOLINT, false-positive due to second-order macros.
10801 10805
10802 #endif // V8_OBJECTS_H_ 10806 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698