Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: src/trusted/validator_arm/optimize-table.py

Issue 10191011: Moving dgen_ scripts out of validator_arm into a common directory. (Closed)
Patch Set: Updates per code review. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/validator_arm/generate_decoder.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_arm/optimize-table.py
diff --git a/src/trusted/validator_arm/optimize-table.py b/src/trusted/validator_arm/optimize-table.py
deleted file mode 100755
index dc250508f12cbb23d09269b8957fc41ad59b57ca..0000000000000000000000000000000000000000
--- a/src/trusted/validator_arm/optimize-table.py
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright 2009 The Native Client Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can
-# be found in the LICENSE file.
-# Copyright 2009, Google Inc.
-#
-
-"""Table optimizer script.
-
-Usage: optimize_table.py <input-table> <output-table>
-"""
-
-import sys
-import dgen_input
-import dgen_dump
-
-def main(argv):
- in_filename, out_filename = argv[1], argv[2]
-
- print "Optimizer reading ", in_filename
- f = open(in_filename, 'r')
- tables = dgen_input.parse_tables(f)
- f.close()
-
- print "Successful - got %d tables." % len(tables)
-
- print "Generating output to %s..." % out_filename
- f = open(out_filename, 'w')
- dgen_dump.dump_tables(tables, f)
- f.close()
- print "Completed."
-
- return 0
-
-if __name__ == '__main__':
- sys.exit(main(sys.argv))
« no previous file with comments | « src/trusted/validator_arm/generate_decoder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698