OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* Generate all possible instructions that a decoder can decode. | 7 /* Generate all possible instructions that a decoder can decode. |
8 * Group the instruction stream into files for processing them in parallel. | 8 * Group the instruction stream into files for processing them in parallel. |
9 */ | 9 */ |
10 #include <assert.h> | 10 #include <assert.h> |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 return kErrNotADir; | 206 return kErrNotADir; |
207 } | 207 } |
208 | 208 |
209 InitStates(); | 209 InitStates(); |
210 InitTransitions(); | 210 InitTransitions(); |
211 OutputInit(&g_output, output_dir); | 211 OutputInit(&g_output, output_dir); |
212 TraverseStates(start_state, false); | 212 TraverseStates(start_state, false); |
213 OutputCloseCurrent(&g_output); | 213 OutputCloseCurrent(&g_output); |
214 return 0; | 214 return 0; |
215 } | 215 } |
OLD | NEW |