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

Side by Side Diff: src/IceTranslator.h

Issue 997773002: Refactor Subzero initialization and add a browser callback handler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add argv note Created 5 years, 9 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 | « src/IceInstX8632.h ('k') | src/Makefile » ('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/IceTranslator.h - ICE to machine code --------*- C++ -*-===// 1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- C++ -*-===//
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 declares the general driver class for translating ICE to 10 // This file declares the general driver class for translating ICE to
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 /// Prefix to name unnamed names. Errors are put on Ostream. 67 /// Prefix to name unnamed names. Errors are put on Ostream.
68 /// Returns true if there isn't a potential conflict. 68 /// Returns true if there isn't a potential conflict.
69 bool checkIfUnnamedNameSafe(const IceString &Name, const char *Kind, 69 bool checkIfUnnamedNameSafe(const IceString &Name, const char *Kind,
70 const IceString &Prefix); 70 const IceString &Prefix);
71 71
72 uint32_t getNextSequenceNumber() { return NextSequenceNumber++; } 72 uint32_t getNextSequenceNumber() { return NextSequenceNumber++; }
73 73
74 protected: 74 protected:
75 GlobalContext *Ctx; 75 GlobalContext *Ctx;
76 uint32_t NextSequenceNumber; 76 uint32_t NextSequenceNumber;
77 // Exit status of the translation. False is successful. True otherwise. 77 // ErrorCode of the translation.
78 ErrorCode ErrorStatus; 78 ErrorCode ErrorStatus;
79 }; 79 };
80 80
81 } // end of namespace Ice 81 } // end of namespace Ice
82 82
83 #endif // SUBZERO_SRC_ICETRANSLATOR_H 83 #endif // SUBZERO_SRC_ICETRANSLATOR_H
OLDNEW
« no previous file with comments | « src/IceInstX8632.h ('k') | src/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698