mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove trailing spaces
This commit is contained in:
parent
21f3ffedd4
commit
152cf102b7
3 changed files with 3 additions and 3 deletions
|
@ -191,7 +191,7 @@ updated_files = git.updated_paths
|
|||
files = updated_files.select {|l|
|
||||
/^\d/ !~ l and /\.bat\z/ !~ l and
|
||||
(/\A(?:config|[Mm]akefile|GNUmakefile|README)/ =~ File.basename(l) or
|
||||
/\A\z|\.(?:[chsy]|\d+|e?rb|tmpl|bas[eh]|z?sh|in|ma?k|def|src|trans|rdoc|ja|en|el|sed|awk|p[ly]|scm|mspec|html|)\z/ =~ File.extname(l))
|
||||
/\A\z|\.(?:[chsy]|\d+|e?rb|tmpl|bas[eh]|z?sh|in|ma?k|def|src|trans|rdoc|ja|en|el|sed|awk|p[ly]|scm|mspec|html|rs)\z/ =~ File.extname(l))
|
||||
}
|
||||
files.select! {|n| File.file?(n) }
|
||||
files.reject! do |f|
|
||||
|
|
|
@ -818,7 +818,7 @@ fn gen_fixnum_ge(asm: &mut Assembler, left: lir::Opnd, right: lir::Opnd) -> Opti
|
|||
fn gen_anytostring(asm: &mut Assembler, val: lir::Opnd, str: lir::Opnd, state: &FrameState) -> Option<lir::Opnd> {
|
||||
// Save PC
|
||||
gen_save_pc(asm, state);
|
||||
|
||||
|
||||
asm_comment!(asm, "call rb_obj_as_string_result");
|
||||
Some(asm.ccall(
|
||||
rb_obj_as_string_result as *const u8,
|
||||
|
|
|
@ -1440,7 +1440,7 @@ impl Function {
|
|||
if self.is_a(str, types::String) {
|
||||
self.make_equal_to(insn_id, str);
|
||||
} else {
|
||||
self.push_insn_id(block, insn_id);
|
||||
self.push_insn_id(block, insn_id);
|
||||
}
|
||||
}
|
||||
_ => { self.push_insn_id(block, insn_id); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue