Chromium Code Reviews| 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 449 Address address() const {return reinterpret_cast<Address>(address_);} | 449 Address address() const {return reinterpret_cast<Address>(address_);} |
| 450 | 450 |
| 451 #ifdef ENABLE_DEBUGGER_SUPPORT | 451 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 452 // Function Debug::Break() | 452 // Function Debug::Break() |
| 453 static ExternalReference debug_break(); | 453 static ExternalReference debug_break(); |
| 454 | 454 |
| 455 // Used to check if single stepping is enabled in generated code. | 455 // Used to check if single stepping is enabled in generated code. |
| 456 static ExternalReference debug_step_in_fp_address(); | 456 static ExternalReference debug_step_in_fp_address(); |
| 457 #endif | 457 #endif |
| 458 | 458 |
| 459 #ifdef V8_NATIVE_REGEXP | 459 #ifndef V8_INTERPRETED_REGEXP |
|
Søren Thygesen Gjesse
2010/04/19 19:59:12
Missing comment on related #endif?
| |
| 460 // C functions called from RegExp generated code. | 460 // C functions called from RegExp generated code. |
| 461 | 461 |
| 462 // Function NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16() | 462 // Function NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16() |
| 463 static ExternalReference re_case_insensitive_compare_uc16(); | 463 static ExternalReference re_case_insensitive_compare_uc16(); |
| 464 | 464 |
| 465 // Function RegExpMacroAssembler*::CheckStackGuardState() | 465 // Function RegExpMacroAssembler*::CheckStackGuardState() |
| 466 static ExternalReference re_check_stack_guard_state(); | 466 static ExternalReference re_check_stack_guard_state(); |
| 467 | 467 |
| 468 // Function NativeRegExpMacroAssembler::GrowStack() | 468 // Function NativeRegExpMacroAssembler::GrowStack() |
| 469 static ExternalReference re_grow_stack(); | 469 static ExternalReference re_grow_stack(); |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 537 unsigned int num_bits_set; | 537 unsigned int num_bits_set; |
| 538 for (num_bits_set = 0; x; x >>= 1) { | 538 for (num_bits_set = 0; x; x >>= 1) { |
| 539 num_bits_set += x & 1; | 539 num_bits_set += x & 1; |
| 540 } | 540 } |
| 541 return num_bits_set; | 541 return num_bits_set; |
| 542 } | 542 } |
| 543 | 543 |
| 544 } } // namespace v8::internal | 544 } } // namespace v8::internal |
| 545 | 545 |
| 546 #endif // V8_ASSEMBLER_H_ | 546 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |