2 # Wrapper around the real `as` which adds filtering capabilities.
32 # We dont handle pipe yet:
37 tempfile = Tempfile.new("as-filter")
39 script = File.dirname($0) + "/clean-stack-filter"
40 unless system([script, script], 0 => input, 1 => tempfile.path)
45 args.push(tempfile.path)
47 # Call the real assembler:
48 res = system("as", *args)
49 status = if res != nil