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

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

Issue 908443002: Remove redundant source position information in RelocInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits Created 5 years, 10 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
« no previous file with comments | « no previous file | src/arm64/assembler-arm64.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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 ClearRecordedAstId(); 485 ClearRecordedAstId();
486 } 486 }
487 487
488 488
489 Assembler::~Assembler() { 489 Assembler::~Assembler() {
490 DCHECK(const_pool_blocked_nesting_ == 0); 490 DCHECK(const_pool_blocked_nesting_ == 0);
491 } 491 }
492 492
493 493
494 void Assembler::GetCode(CodeDesc* desc) { 494 void Assembler::GetCode(CodeDesc* desc) {
495 reloc_info_writer.Finish();
495 if (!FLAG_enable_ool_constant_pool) { 496 if (!FLAG_enable_ool_constant_pool) {
496 // Emit constant pool if necessary. 497 // Emit constant pool if necessary.
497 CheckConstPool(true, false); 498 CheckConstPool(true, false);
498 DCHECK(num_pending_32_bit_reloc_info_ == 0); 499 DCHECK(num_pending_32_bit_reloc_info_ == 0);
499 DCHECK(num_pending_64_bit_reloc_info_ == 0); 500 DCHECK(num_pending_64_bit_reloc_info_ == 0);
500 } 501 }
501 // Set up code descriptor. 502 // Set up code descriptor.
502 desc->buffer = buffer_; 503 desc->buffer = buffer_;
503 desc->buffer_size = buffer_size_; 504 desc->buffer_size = buffer_size_;
504 desc->instr_size = pc_offset(); 505 desc->instr_size = pc_offset();
(...skipping 3532 matching lines...) Expand 10 before | Expand all | Expand 10 after
4037 assm->instr_at_put( 4038 assm->instr_at_put(
4038 rinfo.pc(), Assembler::SetLdrRegisterImmediateOffset(instr, offset)); 4039 rinfo.pc(), Assembler::SetLdrRegisterImmediateOffset(instr, offset));
4039 } 4040 }
4040 } 4041 }
4041 } 4042 }
4042 4043
4043 4044
4044 } } // namespace v8::internal 4045 } } // namespace v8::internal
4045 4046
4046 #endif // V8_TARGET_ARCH_ARM 4047 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698