Changeset 262694 in webkit for trunk/Source/JavaScriptCore/offlineasm
- Timestamp:
- Jun 7, 2020, 12:35:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/offlineasm/asm.rb
r250806 r262694 364 364 365 365 if FileTest.exist? outputFlnm 366 lastLine = nil 366 367 File.open(outputFlnm, "r") { 367 | inp | 368 firstLine = inp.gets 369 if firstLine and firstLine.chomp == inputHash 370 $stderr.puts "offlineasm: Nothing changed." 371 exit 0 372 end 368 | file | 369 file.each_line { 370 | line | 371 line = line.chomp 372 unless line.empty? 373 lastLine = line 374 end 375 } 373 376 } 377 if lastLine and lastLine == inputHash 378 $stderr.puts "Offlineasm: Nothing changed." 379 exit 0 380 end 374 381 end 375 382 … … 377 384 | outp | 378 385 $output = outp 379 $output.puts inputHash380 386 381 387 $asm = Assembler.new($output) … … 409 415 } 410 416 } 417 418 $output.fsync 419 $output.puts inputHash 411 420 }
Note:
See TracChangeset
for help on using the changeset viewer.