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

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

Issue 1749002: Fix lint errors (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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/full-codegen-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 110 }
111 111
112 112
113 void MacroAssembler::Call(intptr_t target, RelocInfo::Mode rmode, 113 void MacroAssembler::Call(intptr_t target, RelocInfo::Mode rmode,
114 Condition cond) { 114 Condition cond) {
115 #if USE_BLX 115 #if USE_BLX
116 // On ARMv5 and after the recommended call sequence is: 116 // On ARMv5 and after the recommended call sequence is:
117 // ldr ip, [pc, #...] 117 // ldr ip, [pc, #...]
118 // blx ip 118 // blx ip
119 119
120 { 120 { // NOLINT
121 // The two instructions (ldr and blx) could be separated by a constant 121 // The two instructions (ldr and blx) could be separated by a constant
122 // pool and the code would still work. The issue comes from the 122 // pool and the code would still work. The issue comes from the
123 // patching code which expect the ldr to be just above the blx. 123 // patching code which expect the ldr to be just above the blx.
124 BlockConstPoolScope block_const_pool(this); 124 BlockConstPoolScope block_const_pool(this);
125 // Statement positions are expected to be recorded when the target 125 // Statement positions are expected to be recorded when the target
126 // address is loaded. The mov method will automatically record 126 // address is loaded. The mov method will automatically record
127 // positions when pc is the target, since this is not the case here 127 // positions when pc is the target, since this is not the case here
128 // we have to do it explicitly. 128 // we have to do it explicitly.
129 WriteRecordedPositions(); 129 WriteRecordedPositions();
130 130
(...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 } 1662 }
1663 1663
1664 1664
1665 void CodePatcher::Emit(Address addr) { 1665 void CodePatcher::Emit(Address addr) {
1666 masm()->emit(reinterpret_cast<Instr>(addr)); 1666 masm()->emit(reinterpret_cast<Instr>(addr));
1667 } 1667 }
1668 #endif // ENABLE_DEBUGGER_SUPPORT 1668 #endif // ENABLE_DEBUGGER_SUPPORT
1669 1669
1670 1670
1671 } } // namespace v8::internal 1671 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698