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 | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 positions_recorder_(this) { | 518 positions_recorder_(this) { |
519 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); | 519 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); |
520 num_pending_32_bit_reloc_info_ = 0; | 520 num_pending_32_bit_reloc_info_ = 0; |
521 num_pending_64_bit_reloc_info_ = 0; | 521 num_pending_64_bit_reloc_info_ = 0; |
522 next_buffer_check_ = 0; | 522 next_buffer_check_ = 0; |
523 const_pool_blocked_nesting_ = 0; | 523 const_pool_blocked_nesting_ = 0; |
524 no_const_pool_before_ = 0; | 524 no_const_pool_before_ = 0; |
525 first_const_pool_32_use_ = -1; | 525 first_const_pool_32_use_ = -1; |
526 first_const_pool_64_use_ = -1; | 526 first_const_pool_64_use_ = -1; |
527 last_bound_pos_ = 0; | 527 last_bound_pos_ = 0; |
| 528 constant_pool_available_ = !FLAG_enable_ool_constant_pool; |
| 529 constant_pool_full_ = false; |
528 ClearRecordedAstId(); | 530 ClearRecordedAstId(); |
529 } | 531 } |
530 | 532 |
531 | 533 |
532 Assembler::~Assembler() { | 534 Assembler::~Assembler() { |
533 ASSERT(const_pool_blocked_nesting_ == 0); | 535 ASSERT(const_pool_blocked_nesting_ == 0); |
534 } | 536 } |
535 | 537 |
536 | 538 |
537 void Assembler::GetCode(CodeDesc* desc) { | 539 void Assembler::GetCode(CodeDesc* desc) { |
(...skipping 2954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3492 | 3494 |
3493 // Since a constant pool was just emitted, move the check offset forward by | 3495 // Since a constant pool was just emitted, move the check offset forward by |
3494 // the standard interval. | 3496 // the standard interval. |
3495 next_buffer_check_ = pc_offset() + kCheckPoolInterval; | 3497 next_buffer_check_ = pc_offset() + kCheckPoolInterval; |
3496 } | 3498 } |
3497 | 3499 |
3498 | 3500 |
3499 } } // namespace v8::internal | 3501 } } // namespace v8::internal |
3500 | 3502 |
3501 #endif // V8_TARGET_ARCH_ARM | 3503 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |