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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 PROFILING_GETTER_CALL | 866 PROFILING_GETTER_CALL |
867 }; | 867 }; |
868 | 868 |
869 static void SetUp(); | 869 static void SetUp(); |
870 | 870 |
871 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, | 871 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, |
872 Type type); | 872 Type type); |
873 | 873 |
874 ExternalReference() : address_(NULL) {} | 874 ExternalReference() : address_(NULL) {} |
875 | 875 |
876 ExternalReference(Address address, Isolate* isolate); | 876 ExternalReference(Address address, Isolate* isolate, |
| 877 Type type = BUILTIN_CALL); |
877 | 878 |
878 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); | 879 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); |
879 | 880 |
880 ExternalReference(Builtins::Name name, Isolate* isolate); | 881 ExternalReference(Builtins::Name name, Isolate* isolate); |
881 | 882 |
882 ExternalReference(Runtime::FunctionId id, Isolate* isolate); | 883 ExternalReference(Runtime::FunctionId id, Isolate* isolate); |
883 | 884 |
884 ExternalReference(const Runtime::Function* f, Isolate* isolate); | 885 ExternalReference(const Runtime::Function* f, Isolate* isolate); |
885 | 886 |
886 explicit ExternalReference(StatsCounter* counter); | 887 explicit ExternalReference(StatsCounter* counter); |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 std::vector<ConstantPoolEntry> shared_entries; | 1281 std::vector<ConstantPoolEntry> shared_entries; |
1281 }; | 1282 }; |
1282 | 1283 |
1283 Label emitted_label_; // Records pc_offset of emitted pool | 1284 Label emitted_label_; // Records pc_offset of emitted pool |
1284 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1285 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1285 }; | 1286 }; |
1286 | 1287 |
1287 } // namespace internal | 1288 } // namespace internal |
1288 } // namespace v8 | 1289 } // namespace v8 |
1289 #endif // V8_ASSEMBLER_H_ | 1290 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |