Verified Commit 7dffbc98 authored by nagayama15's avatar nagayama15

fix extract.rb and check_extract.rb

parent f279ce02
...@@ -12,5 +12,5 @@ METHODS.each do |method| ...@@ -12,5 +12,5 @@ METHODS.each do |method|
b = a.to_s.end_with?(".wasm.txt") ? a.sub(".wasm.txt", "-#{pass}.wasm.txt") : a.sub(".txt", "-#{pass}.txt") b = a.to_s.end_with?(".wasm.txt") ? a.sub(".wasm.txt", "-#{pass}.wasm.txt") : a.sub(".txt", "-#{pass}.txt")
puts "#{a.basename} - #{b.basename}: #{method[:name]}, #{pass}, #{FileUtils.cmp(a, b) ? "○" : "☓"}" puts "#{a.basename} - #{b.basename}: #{method[:name]}, #{pass}, #{FileUtils.cmp(a, b) ? "○" : "☓"}"
end end
end end if method[:name] != "null"
end end
...@@ -11,5 +11,5 @@ METHODS.each do |method| ...@@ -11,5 +11,5 @@ METHODS.each do |method|
extract(out, method[:name]) extract(out, method[:name])
OPT_PASSES.each {|pass| extract(out.sub(".wasm", "-#{pass}.wasm"), method[:name])} OPT_PASSES.each {|pass| extract(out.sub(".wasm", "-#{pass}.wasm"), method[:name])}
end end if method[:name] != "null"
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment