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

Side by Side Diff: src/objects.h

Issue 1929853002: Propagate not-found on proxy target to GetRealNamedProperty (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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 | « 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 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 9664 matching lines...) Expand 10 before | Expand all | Expand 10 after
9675 PropertyDescriptor* desc, ShouldThrow should_throw); 9675 PropertyDescriptor* desc, ShouldThrow should_throw);
9676 9676
9677 // ES6 9.5.7 9677 // ES6 9.5.7
9678 MUST_USE_RESULT static Maybe<bool> HasProperty(Isolate* isolate, 9678 MUST_USE_RESULT static Maybe<bool> HasProperty(Isolate* isolate,
9679 Handle<JSProxy> proxy, 9679 Handle<JSProxy> proxy,
9680 Handle<Name> name); 9680 Handle<Name> name);
9681 9681
9682 // ES6 9.5.8 9682 // ES6 9.5.8
9683 MUST_USE_RESULT static MaybeHandle<Object> GetProperty( 9683 MUST_USE_RESULT static MaybeHandle<Object> GetProperty(
9684 Isolate* isolate, Handle<JSProxy> proxy, Handle<Name> name, 9684 Isolate* isolate, Handle<JSProxy> proxy, Handle<Name> name,
9685 Handle<Object> receiver); 9685 Handle<Object> receiver, bool* was_found);
9686 9686
9687 // ES6 9.5.9 9687 // ES6 9.5.9
9688 MUST_USE_RESULT static Maybe<bool> SetProperty(Handle<JSProxy> proxy, 9688 MUST_USE_RESULT static Maybe<bool> SetProperty(Handle<JSProxy> proxy,
9689 Handle<Name> name, 9689 Handle<Name> name,
9690 Handle<Object> value, 9690 Handle<Object> value,
9691 Handle<Object> receiver, 9691 Handle<Object> receiver,
9692 LanguageMode language_mode); 9692 LanguageMode language_mode);
9693 9693
9694 // ES6 9.5.10 (when passed SLOPPY) 9694 // ES6 9.5.10 (when passed SLOPPY)
9695 MUST_USE_RESULT static Maybe<bool> DeletePropertyOrElement( 9695 MUST_USE_RESULT static Maybe<bool> DeletePropertyOrElement(
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
10790 } 10790 }
10791 return value; 10791 return value;
10792 } 10792 }
10793 }; 10793 };
10794 10794
10795 10795
10796 } // NOLINT, false-positive due to second-order macros. 10796 } // NOLINT, false-positive due to second-order macros.
10797 } // NOLINT, false-positive due to second-order macros. 10797 } // NOLINT, false-positive due to second-order macros.
10798 10798
10799 #endif // V8_OBJECTS_H_ 10799 #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