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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 Redirect(isolate, FUNCTION_ADDR(Logger::EnterExternal))); | 1209 Redirect(isolate, FUNCTION_ADDR(Logger::EnterExternal))); |
1210 } | 1210 } |
1211 | 1211 |
1212 | 1212 |
1213 ExternalReference ExternalReference::log_leave_external_function( | 1213 ExternalReference ExternalReference::log_leave_external_function( |
1214 Isolate* isolate) { | 1214 Isolate* isolate) { |
1215 return ExternalReference( | 1215 return ExternalReference( |
1216 Redirect(isolate, FUNCTION_ADDR(Logger::LeaveExternal))); | 1216 Redirect(isolate, FUNCTION_ADDR(Logger::LeaveExternal))); |
1217 } | 1217 } |
1218 | 1218 |
1219 | |
1220 ExternalReference ExternalReference::keyed_lookup_cache_keys(Isolate* isolate) { | |
1221 return ExternalReference(isolate->keyed_lookup_cache()->keys_address()); | |
1222 } | |
1223 | |
1224 | |
1225 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets( | |
1226 Isolate* isolate) { | |
1227 return ExternalReference( | |
1228 isolate->keyed_lookup_cache()->field_offsets_address()); | |
1229 } | |
1230 | |
1231 | |
1232 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) { | 1219 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) { |
1233 return ExternalReference(isolate->heap()->roots_array_start()); | 1220 return ExternalReference(isolate->heap()->roots_array_start()); |
1234 } | 1221 } |
1235 | 1222 |
1236 | 1223 |
1237 ExternalReference ExternalReference::allocation_sites_list_address( | 1224 ExternalReference ExternalReference::allocation_sites_list_address( |
1238 Isolate* isolate) { | 1225 Isolate* isolate) { |
1239 return ExternalReference(isolate->heap()->allocation_sites_list_address()); | 1226 return ExternalReference(isolate->heap()->allocation_sites_list_address()); |
1240 } | 1227 } |
1241 | 1228 |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1939 | 1926 |
1940 | 1927 |
1941 void Assembler::DataAlign(int m) { | 1928 void Assembler::DataAlign(int m) { |
1942 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1929 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1943 while ((pc_offset() & (m - 1)) != 0) { | 1930 while ((pc_offset() & (m - 1)) != 0) { |
1944 db(0); | 1931 db(0); |
1945 } | 1932 } |
1946 } | 1933 } |
1947 } // namespace internal | 1934 } // namespace internal |
1948 } // namespace v8 | 1935 } // namespace v8 |
OLD | NEW |