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

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: Created 6 years, 9 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
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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 Isolate* isolate, 798 Isolate* isolate,
799 Handle<JSReceiver> object, 799 Handle<JSReceiver> object,
800 Handle<Object> key, 800 Handle<Object> key,
801 JSReceiver::DeleteMode mode); 801 JSReceiver::DeleteMode mode);
802 802
803 MUST_USE_RESULT static MaybeObject* HasObjectProperty( 803 MUST_USE_RESULT static MaybeObject* HasObjectProperty(
804 Isolate* isolate, 804 Isolate* isolate,
805 Handle<JSReceiver> object, 805 Handle<JSReceiver> object,
806 Handle<Object> key); 806 Handle<Object> key);
807 807
808 MUST_USE_RESULT static MaybeObject* GetObjectProperty( 808 static Handle<Object> GetObjectProperty(Isolate* isolate,
809 Isolate* isolate, 809 Handle<Object> object,
810 Handle<Object> object, 810 Handle<Object> key);
811 Handle<Object> key);
812
813 MUST_USE_RESULT static MaybeObject* GetObjectPropertyOrFail(
814 Isolate* isolate,
815 Handle<Object> object,
816 Handle<Object> key);
817 811
818 static void SetupArrayBuffer(Isolate* isolate, 812 static void SetupArrayBuffer(Isolate* isolate,
819 Handle<JSArrayBuffer> array_buffer, 813 Handle<JSArrayBuffer> array_buffer,
820 bool is_external, 814 bool is_external,
821 void* data, 815 void* data,
822 size_t allocated_length); 816 size_t allocated_length);
823 817
824 static bool SetupArrayBufferAllocatingData( 818 static bool SetupArrayBufferAllocatingData(
825 Isolate* isolate, 819 Isolate* isolate,
826 Handle<JSArrayBuffer> array_buffer, 820 Handle<JSArrayBuffer> array_buffer,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 860 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
867 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 861 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
868 862
869 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 863 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
870 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 864 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
871 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 865 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
872 866
873 } } // namespace v8::internal 867 } } // namespace v8::internal
874 868
875 #endif // V8_RUNTIME_H_ 869 #endif // V8_RUNTIME_H_
OLDNEW
« src/objects.cc ('K') | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698