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

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

Issue 2072963003: Simplify AssemblerPositionsRecorder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comment Created 4 years, 6 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/s390/assembler-s390.h ('k') | src/s390/code-stubs-s390.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 2502 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 } 2513 }
2514 2514
2515 // Shift Right Double Logical 2515 // Shift Right Double Logical
2516 void Assembler::srdl(Register r1, const Operand& opnd) { 2516 void Assembler::srdl(Register r1, const Operand& opnd) {
2517 DCHECK(r1.code() % 2 == 0); 2517 DCHECK(r1.code() % 2 == 0);
2518 rs_form(SRDL, r1, r0, r0, opnd.immediate()); 2518 rs_form(SRDL, r1, r0, r0, opnd.immediate());
2519 } 2519 }
2520 2520
2521 void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode, 2521 void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode,
2522 TypeFeedbackId ast_id) { 2522 TypeFeedbackId ast_id) {
2523 positions_recorder()->WriteRecordedPositions();
2524 EnsureSpace ensure_space(this); 2523 EnsureSpace ensure_space(this);
2525 2524
2526 int32_t target_index = emit_code_target(target, rmode, ast_id); 2525 int32_t target_index = emit_code_target(target, rmode, ast_id);
2527 brasl(r14, Operand(target_index)); 2526 brasl(r14, Operand(target_index));
2528 } 2527 }
2529 2528
2530 void Assembler::jump(Handle<Code> target, RelocInfo::Mode rmode, 2529 void Assembler::jump(Handle<Code> target, RelocInfo::Mode rmode,
2531 Condition cond) { 2530 Condition cond) {
2532 EnsureSpace ensure_space(this); 2531 EnsureSpace ensure_space(this);
2533 2532
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
3106 3105
3107 reloc_info_writer.Write(&rinfo); 3106 reloc_info_writer.Write(&rinfo);
3108 } 3107 }
3109 3108
3110 reloc_info_writer.Finish(); 3109 reloc_info_writer.Finish();
3111 } 3110 }
3112 3111
3113 } // namespace internal 3112 } // namespace internal
3114 } // namespace v8 3113 } // namespace v8
3115 #endif // V8_TARGET_ARCH_S390 3114 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/s390/assembler-s390.h ('k') | src/s390/code-stubs-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698