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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 | 437 |
438 static ExternalReference double_fp_operation(Token::Value operation); | 438 static ExternalReference double_fp_operation(Token::Value operation); |
439 static ExternalReference compare_doubles(); | 439 static ExternalReference compare_doubles(); |
440 | 440 |
441 static ExternalReference handle_scope_extensions_address(); | 441 static ExternalReference handle_scope_extensions_address(); |
442 static ExternalReference handle_scope_next_address(); | 442 static ExternalReference handle_scope_next_address(); |
443 static ExternalReference handle_scope_limit_address(); | 443 static ExternalReference handle_scope_limit_address(); |
444 | 444 |
445 static ExternalReference scheduled_exception_address(); | 445 static ExternalReference scheduled_exception_address(); |
446 | 446 |
447 static ExternalReference compile_array_pop_call(); | |
448 static ExternalReference compile_array_push_call(); | |
449 | |
450 Address address() const {return reinterpret_cast<Address>(address_);} | 447 Address address() const {return reinterpret_cast<Address>(address_);} |
451 | 448 |
452 #ifdef ENABLE_DEBUGGER_SUPPORT | 449 #ifdef ENABLE_DEBUGGER_SUPPORT |
453 // Function Debug::Break() | 450 // Function Debug::Break() |
454 static ExternalReference debug_break(); | 451 static ExternalReference debug_break(); |
455 | 452 |
456 // Used to check if single stepping is enabled in generated code. | 453 // Used to check if single stepping is enabled in generated code. |
457 static ExternalReference debug_step_in_fp_address(); | 454 static ExternalReference debug_step_in_fp_address(); |
458 #endif | 455 #endif |
459 | 456 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 unsigned int num_bits_set; | 535 unsigned int num_bits_set; |
539 for (num_bits_set = 0; x; x >>= 1) { | 536 for (num_bits_set = 0; x; x >>= 1) { |
540 num_bits_set += x & 1; | 537 num_bits_set += x & 1; |
541 } | 538 } |
542 return num_bits_set; | 539 return num_bits_set; |
543 } | 540 } |
544 | 541 |
545 } } // namespace v8::internal | 542 } } // namespace v8::internal |
546 | 543 |
547 #endif // V8_ASSEMBLER_H_ | 544 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |