OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 DIRECT_GETTER_CALL, | 811 DIRECT_GETTER_CALL, |
812 | 812 |
813 // Call to accessor getter callback via InvokeAccessorGetterCallback. | 813 // Call to accessor getter callback via InvokeAccessorGetterCallback. |
814 // void f(Local<Name> property, PropertyCallbackInfo& info, | 814 // void f(Local<Name> property, PropertyCallbackInfo& info, |
815 // AccessorNameGetterCallback callback) | 815 // AccessorNameGetterCallback callback) |
816 PROFILING_GETTER_CALL | 816 PROFILING_GETTER_CALL |
817 }; | 817 }; |
818 | 818 |
819 static void SetUp(); | 819 static void SetUp(); |
820 | 820 |
| 821 // These functions must use the isolate in a thread-safe way. |
821 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, | 822 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, |
822 Type type); | 823 Type type); |
823 | 824 |
824 ExternalReference() : address_(NULL) {} | 825 ExternalReference() : address_(NULL) {} |
825 | 826 |
826 ExternalReference(Address address, Isolate* isolate); | 827 ExternalReference(Address address, Isolate* isolate); |
827 | 828 |
828 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); | 829 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); |
829 | 830 |
830 ExternalReference(Builtins::Name name, Isolate* isolate); | 831 ExternalReference(Builtins::Name name, Isolate* isolate); |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1254 std::vector<ConstantPoolEntry> shared_entries; | 1255 std::vector<ConstantPoolEntry> shared_entries; |
1255 }; | 1256 }; |
1256 | 1257 |
1257 Label emitted_label_; // Records pc_offset of emitted pool | 1258 Label emitted_label_; // Records pc_offset of emitted pool |
1258 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1259 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1259 }; | 1260 }; |
1260 | 1261 |
1261 } // namespace internal | 1262 } // namespace internal |
1262 } // namespace v8 | 1263 } // namespace v8 |
1263 #endif // V8_ASSEMBLER_H_ | 1264 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |