Ticket #37740: ruby-1.8.patch
File ruby-1.8.patch, 500 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Source/JavaScriptCore/offlineasm/offsets.rb
old new 109 109 File.open(file, "r") { 110 110 | inp | 111 111 loop { 112 byte = inp.getbyte 112 if RUBY_VERSION >= '1.8.7' 113 byte = inp.getbyte 114 else 115 byte = inp.getc 116 end 113 117 break unless byte 114 118 fileBytes << byte 115 119 }