Unreviewed, rolling out r237084, r237088, r237098, and
[WebKit-https.git] / Source / JavaScriptCore / offlineasm / generate_offset_extractor.rb
index 84bb2d9..fff3982 100644 (file)
@@ -39,11 +39,8 @@ IncludeFile.processIncludeOptions()
 inputFlnm = ARGV.shift
 outputFlnm = ARGV.shift
 
-validBackends = ARGV.shift
-if validBackends
-    $stderr.puts "Only dealing with backends: #{validBackends}"
-    includeOnlyBackends(validBackends.split(","))
-end
+validBackends = canonicalizeBackendNames(ARGV.shift.split(/[,\s]+/))
+includeOnlyBackends(validBackends)
 
 def emitMagicNumber
     OFFSET_MAGIC_NUMBERS.each {