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

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

Issue 2745753002: [x64] Remove unused version of Assembler::jmp. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/x64/assembler-x64.h ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/x64/assembler-x64.h" 5 #include "src/x64/assembler-x64.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #if V8_TARGET_ARCH_X64 9 #if V8_TARGET_ARCH_X64
10 10
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 1326
1327 1327
1328 void Assembler::jmp(Handle<Code> target, RelocInfo::Mode rmode) { 1328 void Assembler::jmp(Handle<Code> target, RelocInfo::Mode rmode) {
1329 EnsureSpace ensure_space(this); 1329 EnsureSpace ensure_space(this);
1330 // 1110 1001 #32-bit disp. 1330 // 1110 1001 #32-bit disp.
1331 emit(0xE9); 1331 emit(0xE9);
1332 emit_code_target(target, rmode); 1332 emit_code_target(target, rmode);
1333 } 1333 }
1334 1334
1335 1335
1336 void Assembler::jmp(Address entry, RelocInfo::Mode rmode) {
1337 DCHECK(RelocInfo::IsRuntimeEntry(rmode));
1338 EnsureSpace ensure_space(this);
1339 DCHECK(RelocInfo::IsRuntimeEntry(rmode));
1340 emit(0xE9);
1341 emit_runtime_entry(entry, rmode);
1342 }
1343
1344
1345 void Assembler::jmp(Register target) { 1336 void Assembler::jmp(Register target) {
1346 EnsureSpace ensure_space(this); 1337 EnsureSpace ensure_space(this);
1347 // Opcode FF/4 r64. 1338 // Opcode FF/4 r64.
1348 emit_optional_rex_32(target); 1339 emit_optional_rex_32(target);
1349 emit(0xFF); 1340 emit(0xFF);
1350 emit_modrm(0x4, target); 1341 emit_modrm(0x4, target);
1351 } 1342 }
1352 1343
1353 1344
1354 void Assembler::jmp(const Operand& src) { 1345 void Assembler::jmp(const Operand& src) {
(...skipping 3403 matching lines...) Expand 10 before | Expand all | Expand 10 after
4758 4749
4759 bool RelocInfo::IsInConstantPool() { 4750 bool RelocInfo::IsInConstantPool() {
4760 return false; 4751 return false;
4761 } 4752 }
4762 4753
4763 4754
4764 } // namespace internal 4755 } // namespace internal
4765 } // namespace v8 4756 } // namespace v8
4766 4757
4767 #endif // V8_TARGET_ARCH_X64 4758 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698