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

Side by Side Diff: src/objects.h

Issue 1230793002: [es6] silence access-check failure for well-known symbol properties (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Refactor (Alternative Impl.) 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/builtins.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')
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 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 MUST_USE_RESULT static MaybeHandle<Object> BitwiseOr( 1204 MUST_USE_RESULT static MaybeHandle<Object> BitwiseOr(
1205 Isolate* isolate, Handle<Object> lhs, Handle<Object> rhs, 1205 Isolate* isolate, Handle<Object> lhs, Handle<Object> rhs,
1206 Strength strength = Strength::WEAK); 1206 Strength strength = Strength::WEAK);
1207 MUST_USE_RESULT static MaybeHandle<Object> BitwiseXor( 1207 MUST_USE_RESULT static MaybeHandle<Object> BitwiseXor(
1208 Isolate* isolate, Handle<Object> lhs, Handle<Object> rhs, 1208 Isolate* isolate, Handle<Object> lhs, Handle<Object> rhs,
1209 Strength strength = Strength::WEAK); 1209 Strength strength = Strength::WEAK);
1210 1210
1211 MUST_USE_RESULT static MaybeHandle<Object> GetProperty( 1211 MUST_USE_RESULT static MaybeHandle<Object> GetProperty(
1212 LookupIterator* it, LanguageMode language_mode = SLOPPY); 1212 LookupIterator* it, LanguageMode language_mode = SLOPPY);
1213 1213
1214 // GetProperty, but allows custom behaviour when an access check fails
1215 MUST_USE_RESULT static MaybeHandle<Object> GetPropertyEx(
1216 LookupIterator* it, bool& access_check_failed,
1217 LanguageMode language_mode = SLOPPY);
1218
1214 // Implementation of [[Put]], ECMA-262 5th edition, section 8.12.5. 1219 // Implementation of [[Put]], ECMA-262 5th edition, section 8.12.5.
1215 MUST_USE_RESULT static MaybeHandle<Object> SetProperty( 1220 MUST_USE_RESULT static MaybeHandle<Object> SetProperty(
1216 Handle<Object> object, Handle<Name> name, Handle<Object> value, 1221 Handle<Object> object, Handle<Name> name, Handle<Object> value,
1217 LanguageMode language_mode, 1222 LanguageMode language_mode,
1218 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED); 1223 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED);
1219 1224
1220 MUST_USE_RESULT static MaybeHandle<Object> SetProperty( 1225 MUST_USE_RESULT static MaybeHandle<Object> SetProperty(
1221 LookupIterator* it, Handle<Object> value, LanguageMode language_mode, 1226 LookupIterator* it, Handle<Object> value, LanguageMode language_mode,
1222 StoreFromKeyed store_mode); 1227 StoreFromKeyed store_mode);
1223 1228
(...skipping 9399 matching lines...) Expand 10 before | Expand all | Expand 10 after
10623 Handle<FixedArray> keys_; 10628 Handle<FixedArray> keys_;
10624 Handle<OrderedHashSet> set_; 10629 Handle<OrderedHashSet> set_;
10625 int length_; 10630 int length_;
10626 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10631 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10627 }; 10632 };
10628 10633
10629 } // NOLINT, false-positive due to second-order macros. 10634 } // NOLINT, false-positive due to second-order macros.
10630 } // NOLINT, false-positive due to second-order macros. 10635 } // NOLINT, false-positive due to second-order macros.
10631 10636
10632 #endif // V8_OBJECTS_H_ 10637 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698