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

Side by Side Diff: src/isolate.h

Issue 172503002: Handlify JSObject::CanSetCallback. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/handles.cc ('k') | src/objects.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 bool MayNamedAccessWrapper(Handle<JSObject> receiver, 733 bool MayNamedAccessWrapper(Handle<JSObject> receiver,
734 Handle<Object> key, 734 Handle<Object> key,
735 v8::AccessType type) { 735 v8::AccessType type) {
736 return MayNamedAccess(*receiver, *key, type); 736 return MayNamedAccess(*receiver, *key, type);
737 } 737 }
738 bool MayIndexedAccessWrapper(Handle<JSObject> receiver, 738 bool MayIndexedAccessWrapper(Handle<JSObject> receiver,
739 uint32_t index, 739 uint32_t index,
740 v8::AccessType type) { 740 v8::AccessType type) {
741 return MayIndexedAccess(*receiver, index, type); 741 return MayIndexedAccess(*receiver, index, type);
742 } 742 }
743 void ReportFailedAccessCheckWrapper(Handle<JSObject> receiver,
744 v8::AccessType type) {
745 ReportFailedAccessCheck(*receiver, type);
746 }
743 747
744 bool MayNamedAccess(JSObject* receiver, 748 bool MayNamedAccess(JSObject* receiver,
745 Object* key, 749 Object* key,
746 v8::AccessType type); 750 v8::AccessType type);
747 bool MayIndexedAccess(JSObject* receiver, 751 bool MayIndexedAccess(JSObject* receiver,
748 uint32_t index, 752 uint32_t index,
749 v8::AccessType type); 753 v8::AccessType type);
750 754
751 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); 755 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback);
752 void ReportFailedAccessCheck(JSObject* receiver, v8::AccessType type); 756 void ReportFailedAccessCheck(JSObject* receiver, v8::AccessType type);
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 } 1558 }
1555 1559
1556 EmbeddedVector<char, 128> filename_; 1560 EmbeddedVector<char, 128> filename_;
1557 FILE* file_; 1561 FILE* file_;
1558 int scope_depth_; 1562 int scope_depth_;
1559 }; 1563 };
1560 1564
1561 } } // namespace v8::internal 1565 } } // namespace v8::internal
1562 1566
1563 #endif // V8_ISOLATE_H_ 1567 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698