Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: src/arm/assembler-arm.cc

Issue 190793002: Introduce FrameAndConstantPoolScope and ConstantPoolUnavailableScope. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Sync Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/builtins-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 positions_recorder_(this) { 523 positions_recorder_(this) {
524 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); 524 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_);
525 num_pending_32_bit_reloc_info_ = 0; 525 num_pending_32_bit_reloc_info_ = 0;
526 num_pending_64_bit_reloc_info_ = 0; 526 num_pending_64_bit_reloc_info_ = 0;
527 next_buffer_check_ = 0; 527 next_buffer_check_ = 0;
528 const_pool_blocked_nesting_ = 0; 528 const_pool_blocked_nesting_ = 0;
529 no_const_pool_before_ = 0; 529 no_const_pool_before_ = 0;
530 first_const_pool_32_use_ = -1; 530 first_const_pool_32_use_ = -1;
531 first_const_pool_64_use_ = -1; 531 first_const_pool_64_use_ = -1;
532 last_bound_pos_ = 0; 532 last_bound_pos_ = 0;
533 constant_pool_available_ = !FLAG_enable_ool_constant_pool;
534 constant_pool_full_ = false;
533 ClearRecordedAstId(); 535 ClearRecordedAstId();
534 } 536 }
535 537
536 538
537 Assembler::~Assembler() { 539 Assembler::~Assembler() {
538 ASSERT(const_pool_blocked_nesting_ == 0); 540 ASSERT(const_pool_blocked_nesting_ == 0);
539 } 541 }
540 542
541 543
542 void Assembler::GetCode(CodeDesc* desc) { 544 void Assembler::GetCode(CodeDesc* desc) {
(...skipping 2946 matching lines...) Expand 10 before | Expand all | Expand 10 after
3489 3491
3490 // Since a constant pool was just emitted, move the check offset forward by 3492 // Since a constant pool was just emitted, move the check offset forward by
3491 // the standard interval. 3493 // the standard interval.
3492 next_buffer_check_ = pc_offset() + kCheckPoolInterval; 3494 next_buffer_check_ = pc_offset() + kCheckPoolInterval;
3493 } 3495 }
3494 3496
3495 3497
3496 } } // namespace v8::internal 3498 } } // namespace v8::internal
3497 3499
3498 #endif // V8_TARGET_ARCH_ARM 3500 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/builtins-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698