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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 // Static variable RegExpStack::limit_address() | 421 // Static variable RegExpStack::limit_address() |
422 static ExternalReference address_of_regexp_stack_limit(); | 422 static ExternalReference address_of_regexp_stack_limit(); |
423 | 423 |
424 // Static variables for RegExp. | 424 // Static variables for RegExp. |
425 static ExternalReference address_of_static_offsets_vector(); | 425 static ExternalReference address_of_static_offsets_vector(); |
426 static ExternalReference address_of_regexp_stack_memory_address(); | 426 static ExternalReference address_of_regexp_stack_memory_address(); |
427 static ExternalReference address_of_regexp_stack_memory_size(); | 427 static ExternalReference address_of_regexp_stack_memory_size(); |
428 | 428 |
429 // Static variable Heap::NewSpaceStart() | 429 // Static variable Heap::NewSpaceStart() |
430 static ExternalReference new_space_start(); | 430 static ExternalReference new_space_start(); |
| 431 static ExternalReference new_space_mask(); |
431 static ExternalReference heap_always_allocate_scope_depth(); | 432 static ExternalReference heap_always_allocate_scope_depth(); |
432 | 433 |
433 // Used for fast allocation in generated code. | 434 // Used for fast allocation in generated code. |
434 static ExternalReference new_space_allocation_top_address(); | 435 static ExternalReference new_space_allocation_top_address(); |
435 static ExternalReference new_space_allocation_limit_address(); | 436 static ExternalReference new_space_allocation_limit_address(); |
436 | 437 |
437 static ExternalReference double_fp_operation(Token::Value operation); | 438 static ExternalReference double_fp_operation(Token::Value operation); |
438 static ExternalReference compare_doubles(); | 439 static ExternalReference compare_doubles(); |
439 | 440 |
440 static ExternalReference handle_scope_extensions_address(); | 441 static ExternalReference handle_scope_extensions_address(); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 unsigned int num_bits_set; | 535 unsigned int num_bits_set; |
535 for (num_bits_set = 0; x; x >>= 1) { | 536 for (num_bits_set = 0; x; x >>= 1) { |
536 num_bits_set += x & 1; | 537 num_bits_set += x & 1; |
537 } | 538 } |
538 return num_bits_set; | 539 return num_bits_set; |
539 } | 540 } |
540 | 541 |
541 } } // namespace v8::internal | 542 } } // namespace v8::internal |
542 | 543 |
543 #endif // V8_ASSEMBLER_H_ | 544 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |