]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - offlineasm/generate_offset_extractor.rb
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / offlineasm / generate_offset_extractor.rb
index 07ce7177bda56e500e781a952be15b78688558a4..fc4579c17335273b6b50525d6b5a2114dc2d9c4f 100644 (file)
@@ -39,6 +39,12 @@ IncludeFile.processIncludeOptions()
 inputFlnm = ARGV.shift
 outputFlnm = ARGV.shift
 
+validBackends = ARGV.shift
+if validBackends
+    $stderr.puts "Only dealing with backends: #{validBackends}"
+    includeOnlyBackends(validBackends.split(","))
+end
+
 $stderr.puts "offlineasm: Parsing #{inputFlnm} and creating offset extractor #{outputFlnm}."
 
 def emitMagicNumber