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

Side by Side Diff: src/objects.h

Issue 1439693002: [runtime] Support Proxy setPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-11-09_new_Proxy_1417063011
Patch Set: merging with master Created 5 years 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/mips64/macro-assembler-mips64.cc ('k') | src/parsing/func-name-inferrer.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 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 9488 matching lines...) Expand 10 before | Expand all | Expand 10 after
9499 9499
9500 inline bool has_handler(); 9500 inline bool has_handler();
9501 9501
9502 DECLARE_CAST(JSProxy) 9502 DECLARE_CAST(JSProxy)
9503 9503
9504 static bool IsRevoked(Handle<JSProxy> proxy); 9504 static bool IsRevoked(Handle<JSProxy> proxy);
9505 9505
9506 // ES6 9.5.1 9506 // ES6 9.5.1
9507 static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); 9507 static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver);
9508 9508
9509 // ES6 9.5.2
9510 MUST_USE_RESULT Maybe<bool> SetPrototype(Handle<JSProxy> proxy,
9511 Handle<Object> value,
9512 bool from_javascript,
9513 ShouldThrow should_throw);
9514
9509 // ES6 9.5.3 9515 // ES6 9.5.3
9510 MUST_USE_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy); 9516 MUST_USE_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy);
9511 9517
9512 // ES6 9.5.4 (when passed DONT_THROW) 9518 // ES6 9.5.4 (when passed DONT_THROW)
9513 MUST_USE_RESULT static Maybe<bool> PreventExtensions( 9519 MUST_USE_RESULT static Maybe<bool> PreventExtensions(
9514 Handle<JSProxy> proxy, ShouldThrow should_throw); 9520 Handle<JSProxy> proxy, ShouldThrow should_throw);
9515 9521
9516 // ES6 9.5.5 9522 // ES6 9.5.5
9517 static bool GetOwnPropertyDescriptor(LookupIterator* it, 9523 static bool GetOwnPropertyDescriptor(LookupIterator* it,
9518 PropertyDescriptor* desc); 9524 PropertyDescriptor* desc);
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
10718 } 10724 }
10719 return value; 10725 return value;
10720 } 10726 }
10721 }; 10727 };
10722 10728
10723 10729
10724 } // NOLINT, false-positive due to second-order macros. 10730 } // NOLINT, false-positive due to second-order macros.
10725 } // NOLINT, false-positive due to second-order macros. 10731 } // NOLINT, false-positive due to second-order macros.
10726 10732
10727 #endif // V8_OBJECTS_H_ 10733 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/parsing/func-name-inferrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698