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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 explicit ExternalReference(const SCTableReference& table_ref); | 475 explicit ExternalReference(const SCTableReference& table_ref); |
476 | 476 |
477 // One-of-a-kind references. These references are not part of a general | 477 // One-of-a-kind references. These references are not part of a general |
478 // pattern. This means that they have to be added to the | 478 // pattern. This means that they have to be added to the |
479 // ExternalReferenceTable in serialize.cc manually. | 479 // ExternalReferenceTable in serialize.cc manually. |
480 | 480 |
481 static ExternalReference perform_gc_function(); | 481 static ExternalReference perform_gc_function(); |
482 static ExternalReference fill_heap_number_with_random_function(); | 482 static ExternalReference fill_heap_number_with_random_function(); |
483 static ExternalReference random_uint32_function(); | 483 static ExternalReference random_uint32_function(); |
484 static ExternalReference transcendental_cache_array_address(); | 484 static ExternalReference transcendental_cache_array_address(); |
| 485 static ExternalReference delete_handle_scope_extensions(); |
485 | 486 |
486 // Static data in the keyed lookup cache. | 487 // Static data in the keyed lookup cache. |
487 static ExternalReference keyed_lookup_cache_keys(); | 488 static ExternalReference keyed_lookup_cache_keys(); |
488 static ExternalReference keyed_lookup_cache_field_offsets(); | 489 static ExternalReference keyed_lookup_cache_field_offsets(); |
489 | 490 |
490 // Static variable Factory::the_hole_value.location() | 491 // Static variable Factory::the_hole_value.location() |
491 static ExternalReference the_hole_value_location(); | 492 static ExternalReference the_hole_value_location(); |
492 | 493 |
493 // Static variable Heap::roots_address() | 494 // Static variable Heap::roots_address() |
494 static ExternalReference roots_address(); | 495 static ExternalReference roots_address(); |
(...skipping 17 matching lines...) Expand all Loading... |
512 static ExternalReference new_space_mask(); | 513 static ExternalReference new_space_mask(); |
513 static ExternalReference heap_always_allocate_scope_depth(); | 514 static ExternalReference heap_always_allocate_scope_depth(); |
514 | 515 |
515 // Used for fast allocation in generated code. | 516 // Used for fast allocation in generated code. |
516 static ExternalReference new_space_allocation_top_address(); | 517 static ExternalReference new_space_allocation_top_address(); |
517 static ExternalReference new_space_allocation_limit_address(); | 518 static ExternalReference new_space_allocation_limit_address(); |
518 | 519 |
519 static ExternalReference double_fp_operation(Token::Value operation); | 520 static ExternalReference double_fp_operation(Token::Value operation); |
520 static ExternalReference compare_doubles(); | 521 static ExternalReference compare_doubles(); |
521 | 522 |
522 static ExternalReference handle_scope_extensions_address(); | |
523 static ExternalReference handle_scope_next_address(); | 523 static ExternalReference handle_scope_next_address(); |
524 static ExternalReference handle_scope_limit_address(); | 524 static ExternalReference handle_scope_limit_address(); |
| 525 static ExternalReference handle_scope_level_address(); |
525 | 526 |
526 static ExternalReference scheduled_exception_address(); | 527 static ExternalReference scheduled_exception_address(); |
527 | 528 |
528 Address address() const {return reinterpret_cast<Address>(address_);} | 529 Address address() const {return reinterpret_cast<Address>(address_);} |
529 | 530 |
530 #ifdef ENABLE_DEBUGGER_SUPPORT | 531 #ifdef ENABLE_DEBUGGER_SUPPORT |
531 // Function Debug::Break() | 532 // Function Debug::Break() |
532 static ExternalReference debug_break(); | 533 static ExternalReference debug_break(); |
533 | 534 |
534 // Used to check if single stepping is enabled in generated code. | 535 // Used to check if single stepping is enabled in generated code. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 unsigned int num_bits_set; | 617 unsigned int num_bits_set; |
617 for (num_bits_set = 0; x; x >>= 1) { | 618 for (num_bits_set = 0; x; x >>= 1) { |
618 num_bits_set += x & 1; | 619 num_bits_set += x & 1; |
619 } | 620 } |
620 return num_bits_set; | 621 return num_bits_set; |
621 } | 622 } |
622 | 623 |
623 } } // namespace v8::internal | 624 } } // namespace v8::internal |
624 | 625 |
625 #endif // V8_ASSEMBLER_H_ | 626 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |