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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 explicit ExternalReference(Top::AddressId id); | 393 explicit ExternalReference(Top::AddressId id); |
394 | 394 |
395 explicit ExternalReference(const SCTableReference& table_ref); | 395 explicit ExternalReference(const SCTableReference& table_ref); |
396 | 396 |
397 // One-of-a-kind references. These references are not part of a general | 397 // One-of-a-kind references. These references are not part of a general |
398 // pattern. This means that they have to be added to the | 398 // pattern. This means that they have to be added to the |
399 // ExternalReferenceTable in serialize.cc manually. | 399 // ExternalReferenceTable in serialize.cc manually. |
400 | 400 |
401 static ExternalReference perform_gc_function(); | 401 static ExternalReference perform_gc_function(); |
402 static ExternalReference random_positive_smi_function(); | 402 static ExternalReference random_positive_smi_function(); |
| 403 static ExternalReference transcendental_cache_array_address(); |
403 | 404 |
404 // Static data in the keyed lookup cache. | 405 // Static data in the keyed lookup cache. |
405 static ExternalReference keyed_lookup_cache_keys(); | 406 static ExternalReference keyed_lookup_cache_keys(); |
406 static ExternalReference keyed_lookup_cache_field_offsets(); | 407 static ExternalReference keyed_lookup_cache_field_offsets(); |
407 | 408 |
408 // Static variable Factory::the_hole_value.location() | 409 // Static variable Factory::the_hole_value.location() |
409 static ExternalReference the_hole_value_location(); | 410 static ExternalReference the_hole_value_location(); |
410 | 411 |
411 // Static variable Heap::roots_address() | 412 // Static variable Heap::roots_address() |
412 static ExternalReference roots_address(); | 413 static ExternalReference roots_address(); |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 unsigned int num_bits_set; | 534 unsigned int num_bits_set; |
534 for (num_bits_set = 0; x; x >>= 1) { | 535 for (num_bits_set = 0; x; x >>= 1) { |
535 num_bits_set += x & 1; | 536 num_bits_set += x & 1; |
536 } | 537 } |
537 return num_bits_set; | 538 return num_bits_set; |
538 } | 539 } |
539 | 540 |
540 } } // namespace v8::internal | 541 } } // namespace v8::internal |
541 | 542 |
542 #endif // V8_ASSEMBLER_H_ | 543 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |