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

Side by Side Diff: src/IceConverter.cpp

Issue 623493002: Subzero: Allow builds with assertions disabled. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove commented-out include Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « Makefile.standalone ('k') | src/IceDefs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceConverter.cpp - Converts LLVM to Ice ---------------===// 1 //===- subzero/src/IceConverter.cpp - Converts LLVM to Ice ---------------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file implements the LLVM to ICE converter. 10 // This file implements the LLVM to ICE converter.
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 convertGlobals(Mod); 630 convertGlobals(Mod);
631 convertFunctions(); 631 convertFunctions();
632 } 632 }
633 633
634 void Converter::convertFunctions() { 634 void Converter::convertFunctions() {
635 for (Module::const_iterator I = Mod->begin(), E = Mod->end(); I != E; ++I) { 635 for (Module::const_iterator I = Mod->begin(), E = Mod->end(); I != E; ++I) {
636 if (I->empty()) 636 if (I->empty())
637 continue; 637 continue;
638 LLVM2ICEConverter FunctionConverter(Ctx, Mod->getContext()); 638 LLVM2ICEConverter FunctionConverter(Ctx, Mod->getContext());
639 639
640 Timer TConvert;
641 Cfg *Fcn = FunctionConverter.convertFunction(I); 640 Cfg *Fcn = FunctionConverter.convertFunction(I);
642 translateFcn(Fcn); 641 translateFcn(Fcn);
643 } 642 }
644 643
645 emitConstants(); 644 emitConstants();
646 } 645 }
647 646
648 } // end of namespace Ice 647 } // end of namespace Ice
OLDNEW
« no previous file with comments | « Makefile.standalone ('k') | src/IceDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698