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

Side by Side Diff: src/runtime.h

Issue 210953005: Clean up some "GetProperty" methods/functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/runtime.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 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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 Isolate* isolate, 839 Isolate* isolate,
840 Handle<JSReceiver> object, 840 Handle<JSReceiver> object,
841 Handle<Object> key, 841 Handle<Object> key,
842 JSReceiver::DeleteMode mode); 842 JSReceiver::DeleteMode mode);
843 843
844 MUST_USE_RESULT static MaybeObject* HasObjectProperty( 844 MUST_USE_RESULT static MaybeObject* HasObjectProperty(
845 Isolate* isolate, 845 Isolate* isolate,
846 Handle<JSReceiver> object, 846 Handle<JSReceiver> object,
847 Handle<Object> key); 847 Handle<Object> key);
848 848
849 MUST_USE_RESULT static MaybeObject* GetObjectProperty( 849 static Handle<Object> GetObjectProperty(Isolate* isolate,
850 Isolate* isolate, 850 Handle<Object> object,
851 Handle<Object> object, 851 Handle<Object> key);
852 Handle<Object> key);
853
854 MUST_USE_RESULT static MaybeObject* GetObjectPropertyOrFail(
855 Isolate* isolate,
856 Handle<Object> object,
857 Handle<Object> key);
858 852
859 static void SetupArrayBuffer(Isolate* isolate, 853 static void SetupArrayBuffer(Isolate* isolate,
860 Handle<JSArrayBuffer> array_buffer, 854 Handle<JSArrayBuffer> array_buffer,
861 bool is_external, 855 bool is_external,
862 void* data, 856 void* data,
863 size_t allocated_length); 857 size_t allocated_length);
864 858
865 static bool SetupArrayBufferAllocatingData( 859 static bool SetupArrayBufferAllocatingData(
866 Isolate* isolate, 860 Isolate* isolate,
867 Handle<JSArrayBuffer> array_buffer, 861 Handle<JSArrayBuffer> array_buffer,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 905 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
912 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 906 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
913 907
914 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 908 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
915 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 909 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
916 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 910 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
917 911
918 } } // namespace v8::internal 912 } } // namespace v8::internal
919 913
920 #endif // V8_RUNTIME_H_ 914 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698