daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 1 | // |
shannon.woods%transgaming.com@gtempaccount.com | 0bbed38 | 2013-04-13 03:38:07 +0000 | [diff] [blame] | 2 | // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 3 | // Use of this source code is governed by a BSD-style license that can be |
| 4 | // found in the LICENSE file. |
| 5 | // |
| 6 | |
Geoff Lang | 0a73dd8 | 2014-11-19 16:18:08 -0500 | [diff] [blame] | 7 | #ifndef COMPILER_TRANSLATOR_COMPILER_H_ |
| 8 | #define COMPILER_TRANSLATOR_COMPILER_H_ |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 9 | |
| 10 | // |
| 11 | // Machine independent part of the compiler private objects |
| 12 | // sent as ShHandle to the driver. |
| 13 | // |
| 14 | // This should not be included by driver code. |
| 15 | // |
| 16 | |
Olli Etuaho | 8efc5ad | 2015-03-03 17:21:10 +0200 | [diff] [blame] | 17 | #include "compiler/translator/BuiltInFunctionEmulator.h" |
Corentin Wallez | 71d147f | 2015-02-11 11:15:24 -0800 | [diff] [blame^] | 18 | #include "compiler/translator/CallDAG.h" |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 19 | #include "compiler/translator/ExtensionBehavior.h" |
| 20 | #include "compiler/translator/HashNames.h" |
| 21 | #include "compiler/translator/InfoSink.h" |
Zhenyao Mo | 94ac7b7 | 2014-10-15 18:22:08 -0700 | [diff] [blame] | 22 | #include "compiler/translator/Pragma.h" |
Geoff Lang | 1773282 | 2013-08-29 13:46:49 -0400 | [diff] [blame] | 23 | #include "compiler/translator/SymbolTable.h" |
| 24 | #include "compiler/translator/VariableInfo.h" |
shannon.woods@transgaming.com | da1ed36 | 2013-01-25 21:54:57 +0000 | [diff] [blame] | 25 | #include "third_party/compiler/ArrayBoundsClamper.h" |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 26 | |
| 27 | class TCompiler; |
maxvujovic@gmail.com | 66ebd01 | 2012-05-30 22:18:11 +0000 | [diff] [blame] | 28 | class TDependencyGraph; |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 29 | #ifdef ANGLE_ENABLE_HLSL |
daniel@transgaming.com | 043da13 | 2012-12-20 21:12:22 +0000 | [diff] [blame] | 30 | class TranslatorHLSL; |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 31 | #endif // ANGLE_ENABLE_HLSL |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 32 | |
| 33 | // |
maxvujovic@gmail.com | 430f5e0 | 2012-06-08 17:47:59 +0000 | [diff] [blame] | 34 | // Helper function to identify specs that are based on the WebGL spec, |
| 35 | // like the CSS Shaders spec. |
| 36 | // |
Jamie Madill | 5508f39 | 2014-02-20 13:31:36 -0500 | [diff] [blame] | 37 | bool IsWebGLBasedSpec(ShShaderSpec spec); |
maxvujovic@gmail.com | 430f5e0 | 2012-06-08 17:47:59 +0000 | [diff] [blame] | 38 | |
| 39 | // |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 40 | // The base class used to back handles returned to the driver. |
| 41 | // |
| 42 | class TShHandleBase { |
| 43 | public: |
alokp@chromium.org | bafcbaa | 2010-11-23 19:07:43 +0000 | [diff] [blame] | 44 | TShHandleBase(); |
| 45 | virtual ~TShHandleBase(); |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 46 | virtual TCompiler* getAsCompiler() { return 0; } |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 47 | #ifdef ANGLE_ENABLE_HLSL |
daniel@transgaming.com | 043da13 | 2012-12-20 21:12:22 +0000 | [diff] [blame] | 48 | virtual TranslatorHLSL* getAsTranslatorHLSL() { return 0; } |
Daniel Bratell | 73941de | 2015-02-25 14:34:49 +0100 | [diff] [blame] | 49 | #endif // ANGLE_ENABLE_HLSL |
alokp@chromium.org | bafcbaa | 2010-11-23 19:07:43 +0000 | [diff] [blame] | 50 | |
| 51 | protected: |
| 52 | // Memory allocator. Allocates and tracks memory required by the compiler. |
| 53 | // Deallocates all memory when compiler is destructed. |
| 54 | TPoolAllocator allocator; |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | // |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 58 | // The base class for the machine dependent compiler to derive from |
| 59 | // for managing object code from the compile. |
| 60 | // |
Jamie Madill | a718c1e | 2014-07-02 15:31:22 -0400 | [diff] [blame] | 61 | class TCompiler : public TShHandleBase |
| 62 | { |
| 63 | public: |
Jamie Madill | 183bde5 | 2014-07-02 15:31:19 -0400 | [diff] [blame] | 64 | TCompiler(sh::GLenum type, ShShaderSpec spec, ShShaderOutput output); |
alokp@chromium.org | 4888ceb | 2010-10-01 21:13:12 +0000 | [diff] [blame] | 65 | virtual ~TCompiler(); |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 66 | virtual TCompiler* getAsCompiler() { return this; } |
alokp@chromium.org | 76b8208 | 2010-03-24 17:59:39 +0000 | [diff] [blame] | 67 | |
alokp@chromium.org | 4888ceb | 2010-10-01 21:13:12 +0000 | [diff] [blame] | 68 | bool Init(const ShBuiltInResources& resources); |
Olli Etuaho | a3a5cc6 | 2015-02-13 13:12:22 +0200 | [diff] [blame] | 69 | |
| 70 | // compileTreeForTesting should be used only when tests require access to |
| 71 | // the AST. Users of this function need to manually manage the global pool |
| 72 | // allocator. Returns NULL whenever there are compilation errors. |
| 73 | TIntermNode *compileTreeForTesting(const char* const shaderStrings[], |
| 74 | size_t numStrings, int compileOptions); |
| 75 | |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 76 | bool compile(const char* const shaderStrings[], |
Olli Etuaho | a3a5cc6 | 2015-02-13 13:12:22 +0200 | [diff] [blame] | 77 | size_t numStrings, int compileOptions); |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 78 | |
| 79 | // Get results of the last compilation. |
shannon.woods%transgaming.com@gtempaccount.com | 0bbed38 | 2013-04-13 03:38:07 +0000 | [diff] [blame] | 80 | int getShaderVersion() const { return shaderVersion; } |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 81 | TInfoSink& getInfoSink() { return infoSink; } |
Jamie Madill | ed27c72 | 2014-07-02 15:31:23 -0400 | [diff] [blame] | 82 | |
| 83 | const std::vector<sh::Attribute> &getAttributes() const { return attributes; } |
| 84 | const std::vector<sh::Attribute> &getOutputVariables() const { return outputVariables; } |
Jamie Madill | a718c1e | 2014-07-02 15:31:22 -0400 | [diff] [blame] | 85 | const std::vector<sh::Uniform> &getUniforms() const { return uniforms; } |
| 86 | const std::vector<sh::Varying> &getVaryings() const { return varyings; } |
Jamie Madill | ed27c72 | 2014-07-02 15:31:23 -0400 | [diff] [blame] | 87 | const std::vector<sh::InterfaceBlock> &getInterfaceBlocks() const { return interfaceBlocks; } |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 88 | |
daniel@transgaming.com | c23f461 | 2012-11-28 19:42:57 +0000 | [diff] [blame] | 89 | ShHashFunction64 getHashFunction() const { return hashFunction; } |
daniel@transgaming.com | 0aa3b5a | 2012-11-28 19:43:24 +0000 | [diff] [blame] | 90 | NameMap& getNameMap() { return nameMap; } |
| 91 | TSymbolTable& getSymbolTable() { return symbolTable; } |
Zhenyao Mo | 7faf1a1 | 2014-04-25 18:03:56 -0700 | [diff] [blame] | 92 | ShShaderSpec getShaderSpec() const { return shaderSpec; } |
Jamie Madill | 68fe74a | 2014-05-27 12:56:01 -0400 | [diff] [blame] | 93 | ShShaderOutput getOutputType() const { return outputType; } |
Zhenyao Mo | 4de44cb | 2014-10-29 18:03:46 -0700 | [diff] [blame] | 94 | const std::string &getBuiltInResourcesString() const { return builtInResourcesString; } |
daniel@transgaming.com | c23f461 | 2012-11-28 19:42:57 +0000 | [diff] [blame] | 95 | |
Jamie Madill | 54ad4f8 | 2014-09-03 09:40:46 -0400 | [diff] [blame] | 96 | // Get the resources set by InitBuiltInSymbolTable |
| 97 | const ShBuiltInResources& getResources() const; |
| 98 | |
Jamie Madill | a718c1e | 2014-07-02 15:31:22 -0400 | [diff] [blame] | 99 | protected: |
Jamie Madill | 183bde5 | 2014-07-02 15:31:19 -0400 | [diff] [blame] | 100 | sh::GLenum getShaderType() const { return shaderType; } |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 101 | // Initialize symbol-table with built-in symbols. |
alokp@chromium.org | 4888ceb | 2010-10-01 21:13:12 +0000 | [diff] [blame] | 102 | bool InitBuiltInSymbolTable(const ShBuiltInResources& resources); |
Shannon Woods | 2d76e5f | 2014-05-16 17:46:41 -0400 | [diff] [blame] | 103 | // Compute the string representation of the built-in resources |
| 104 | void setResourceString(); |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 105 | // Clears the results from the previous compilation. |
| 106 | void clearResults(); |
Corentin Wallez | 71d147f | 2015-02-11 11:15:24 -0800 | [diff] [blame^] | 107 | // Return false if the call depth is exceeded. |
| 108 | bool checkCallDepth(); |
Jamie Madill | 05a80ce | 2013-06-20 11:55:49 -0400 | [diff] [blame] | 109 | // Returns true if a program has no conflicting or missing fragment outputs |
| 110 | bool validateOutputs(TIntermNode* root); |
maxvujovic@gmail.com | 430f5e0 | 2012-06-08 17:47:59 +0000 | [diff] [blame] | 111 | // Rewrites a shader's intermediate tree according to the CSS Shaders spec. |
| 112 | void rewriteCSSShader(TIntermNode* root); |
alokp@chromium.org | b59a778 | 2010-11-24 18:38:33 +0000 | [diff] [blame] | 113 | // Returns true if the given shader does not exceed the minimum |
| 114 | // functionality mandated in GLSL 1.0 spec Appendix A. |
| 115 | bool validateLimitations(TIntermNode* root); |
Zhenyao Mo | 74da9f2 | 2013-09-23 14:57:01 -0400 | [diff] [blame] | 116 | // Collect info for all attribs, uniforms, varyings. |
| 117 | void collectVariables(TIntermNode* root); |
Olli Etuaho | 8efc5ad | 2015-03-03 17:21:10 +0200 | [diff] [blame] | 118 | // Add emulated functions to the built-in function emulator. |
| 119 | virtual void initBuiltInFunctionEmulator(BuiltInFunctionEmulator *emu, int compileOptions) {}; |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 120 | // Translate to object code. |
Olli Etuaho | a3a5cc6 | 2015-02-13 13:12:22 +0200 | [diff] [blame] | 121 | virtual void translate(TIntermNode *root, int compileOptions) = 0; |
gman@chromium.org | 8d80479 | 2012-10-17 21:33:48 +0000 | [diff] [blame] | 122 | // Returns true if, after applying the packing rules in the GLSL 1.017 spec |
| 123 | // Appendix A, section 7, the shader does not use too many uniforms. |
| 124 | bool enforcePackingRestrictions(); |
Zhenyao Mo | 4a667fe | 2014-02-11 12:35:01 -0800 | [diff] [blame] | 125 | // Insert statements to initialize varyings without static use in the beginning |
| 126 | // of main(). It is to work around a Mac driver where such varyings in a vertex |
| 127 | // shader may be optimized out incorrectly at compile time, causing a link failure. |
| 128 | // This function should only be applied to vertex shaders. |
| 129 | void initializeVaryingsWithoutStaticUse(TIntermNode* root); |
| 130 | // Insert gl_Position = vec4(0,0,0,0) to the beginning of main(). |
| 131 | // It is to work around a Linux driver bug where missing this causes compile failure |
| 132 | // while spec says it is allowed. |
| 133 | // This function should only be applied to vertex shaders. |
| 134 | void initializeGLPosition(TIntermNode* root); |
maxvujovic@gmail.com | 66ebd01 | 2012-05-30 22:18:11 +0000 | [diff] [blame] | 135 | // Returns true if the shader passes the restrictions that aim to prevent timing attacks. |
maxvujovic@gmail.com | 77222c9 | 2012-06-04 21:06:05 +0000 | [diff] [blame] | 136 | bool enforceTimingRestrictions(TIntermNode* root, bool outputGraph); |
| 137 | // Returns true if the shader does not use samplers. |
| 138 | bool enforceVertexShaderTimingRestrictions(TIntermNode* root); |
Jamie Madill | d4a3a31 | 2014-06-25 16:04:56 -0400 | [diff] [blame] | 139 | // Returns true if the shader does not use sampler dependent values to affect control |
maxvujovic@gmail.com | 77222c9 | 2012-06-04 21:06:05 +0000 | [diff] [blame] | 140 | // flow or in operations whose time can depend on the input values. |
| 141 | bool enforceFragmentShaderTimingRestrictions(const TDependencyGraph& graph); |
Jamie Madill | eb1a010 | 2013-07-08 13:31:38 -0400 | [diff] [blame] | 142 | // Return true if the maximum expression complexity is below the limit. |
| 143 | bool limitExpressionComplexity(TIntermNode* root); |
zmo@google.com | 5601ea0 | 2011-06-10 18:23:25 +0000 | [diff] [blame] | 144 | // Get built-in extensions with default behavior. |
| 145 | const TExtensionBehavior& getExtensionBehavior() const; |
Olli Etuaho | a3a5cc6 | 2015-02-13 13:12:22 +0200 | [diff] [blame] | 146 | const char *getSourcePath() const; |
Zhenyao Mo | 94ac7b7 | 2014-10-15 18:22:08 -0700 | [diff] [blame] | 147 | const TPragma& getPragma() const { return mPragma; } |
| 148 | void writePragma(); |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 149 | |
daniel@transgaming.com | 4167cc9 | 2013-01-11 04:11:53 +0000 | [diff] [blame] | 150 | const ArrayBoundsClamper& getArrayBoundsClamper() const; |
shannon.woods@transgaming.com | 1d432bb | 2013-01-25 21:57:28 +0000 | [diff] [blame] | 151 | ShArrayIndexClampingStrategy getArrayIndexClampingStrategy() const; |
Olli Etuaho | 8efc5ad | 2015-03-03 17:21:10 +0200 | [diff] [blame] | 152 | const BuiltInFunctionEmulator& getBuiltInFunctionEmulator() const; |
zmo@google.com | 32e9731 | 2011-08-24 01:03:11 +0000 | [diff] [blame] | 153 | |
Jamie Madill | ed27c72 | 2014-07-02 15:31:23 -0400 | [diff] [blame] | 154 | std::vector<sh::Attribute> attributes; |
| 155 | std::vector<sh::Attribute> outputVariables; |
| 156 | std::vector<sh::Uniform> uniforms; |
Jamie Madill | 42bcf32 | 2014-08-25 16:20:46 -0400 | [diff] [blame] | 157 | std::vector<sh::ShaderVariable> expandedUniforms; |
Jamie Madill | ed27c72 | 2014-07-02 15:31:23 -0400 | [diff] [blame] | 158 | std::vector<sh::Varying> varyings; |
| 159 | std::vector<sh::InterfaceBlock> interfaceBlocks; |
| 160 | |
Jamie Madill | a718c1e | 2014-07-02 15:31:22 -0400 | [diff] [blame] | 161 | private: |
Corentin Wallez | 71d147f | 2015-02-11 11:15:24 -0800 | [diff] [blame^] | 162 | // Creates the function call DAG for further analysis, returning false if there is a recursion |
| 163 | bool initCallDag(TIntermNode *root); |
| 164 | // Return false if "main" doesn't exist |
| 165 | bool tagUsedFunctions(); |
| 166 | void internalTagUsedFunction(size_t index); |
| 167 | |
Olli Etuaho | a3a5cc6 | 2015-02-13 13:12:22 +0200 | [diff] [blame] | 168 | TIntermNode *compileTreeImpl(const char* const shaderStrings[], |
| 169 | size_t numStrings, int compileOptions); |
| 170 | |
Jamie Madill | 183bde5 | 2014-07-02 15:31:19 -0400 | [diff] [blame] | 171 | sh::GLenum shaderType; |
alokp@chromium.org | 4888ceb | 2010-10-01 21:13:12 +0000 | [diff] [blame] | 172 | ShShaderSpec shaderSpec; |
Jamie Madill | 68fe74a | 2014-05-27 12:56:01 -0400 | [diff] [blame] | 173 | ShShaderOutput outputType; |
alokp@chromium.org | e4249f0 | 2010-07-26 18:13:52 +0000 | [diff] [blame] | 174 | |
Corentin Wallez | 71d147f | 2015-02-11 11:15:24 -0800 | [diff] [blame^] | 175 | struct FunctionMetadata |
| 176 | { |
| 177 | FunctionMetadata() |
| 178 | : used(false) |
| 179 | { |
| 180 | } |
| 181 | bool used; |
| 182 | }; |
| 183 | |
| 184 | CallDAG mCallDag; |
| 185 | std::vector<FunctionMetadata> functionMetadata; |
| 186 | |
gman@chromium.org | 8d80479 | 2012-10-17 21:33:48 +0000 | [diff] [blame] | 187 | int maxUniformVectors; |
Jamie Madill | eb1a010 | 2013-07-08 13:31:38 -0400 | [diff] [blame] | 188 | int maxExpressionComplexity; |
| 189 | int maxCallStackDepth; |
gman@chromium.org | 8d80479 | 2012-10-17 21:33:48 +0000 | [diff] [blame] | 190 | |
shannon.woods%transgaming.com@gtempaccount.com | 18b4c4b | 2013-04-13 03:31:40 +0000 | [diff] [blame] | 191 | ShBuiltInResources compileResources; |
Shannon Woods | 2d76e5f | 2014-05-16 17:46:41 -0400 | [diff] [blame] | 192 | std::string builtInResourcesString; |
shannon.woods%transgaming.com@gtempaccount.com | 18b4c4b | 2013-04-13 03:31:40 +0000 | [diff] [blame] | 193 | |
alokp@chromium.org | e4249f0 | 2010-07-26 18:13:52 +0000 | [diff] [blame] | 194 | // Built-in symbol table for the given language, spec, and resources. |
| 195 | // It is preserved from compile-to-compile. |
| 196 | TSymbolTable symbolTable; |
alokp@chromium.org | ad771eb | 2010-09-07 17:36:23 +0000 | [diff] [blame] | 197 | // Built-in extensions with default behavior. |
| 198 | TExtensionBehavior extensionBehavior; |
shannon.woods%transgaming.com@gtempaccount.com | cbb6b6a | 2013-04-13 03:27:47 +0000 | [diff] [blame] | 199 | bool fragmentPrecisionHigh; |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 200 | |
daniel@transgaming.com | 4167cc9 | 2013-01-11 04:11:53 +0000 | [diff] [blame] | 201 | ArrayBoundsClamper arrayBoundsClamper; |
shannon.woods@transgaming.com | 1d432bb | 2013-01-25 21:57:28 +0000 | [diff] [blame] | 202 | ShArrayIndexClampingStrategy clampingStrategy; |
Olli Etuaho | 8efc5ad | 2015-03-03 17:21:10 +0200 | [diff] [blame] | 203 | BuiltInFunctionEmulator builtInFunctionEmulator; |
zmo@google.com | 32e9731 | 2011-08-24 01:03:11 +0000 | [diff] [blame] | 204 | |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 205 | // Results of compilation. |
shannon.woods%transgaming.com@gtempaccount.com | 0bbed38 | 2013-04-13 03:38:07 +0000 | [diff] [blame] | 206 | int shaderVersion; |
alokp@chromium.org | 07620a5 | 2010-09-23 17:53:56 +0000 | [diff] [blame] | 207 | TInfoSink infoSink; // Output sink. |
Olli Etuaho | a3a5cc6 | 2015-02-13 13:12:22 +0200 | [diff] [blame] | 208 | const char *mSourcePath; // Path of source file or NULL |
zmo@google.com | 24c08c4 | 2011-05-27 17:40:48 +0000 | [diff] [blame] | 209 | |
daniel@transgaming.com | c23f461 | 2012-11-28 19:42:57 +0000 | [diff] [blame] | 210 | // name hashing. |
| 211 | ShHashFunction64 hashFunction; |
| 212 | NameMap nameMap; |
Zhenyao Mo | 94ac7b7 | 2014-10-15 18:22:08 -0700 | [diff] [blame] | 213 | |
| 214 | TPragma mPragma; |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 215 | }; |
| 216 | |
| 217 | // |
| 218 | // This is the interface between the machine independent code |
| 219 | // and the machine dependent code. |
| 220 | // |
| 221 | // The machine dependent code should derive from the classes |
Jamie Madill | d4a3a31 | 2014-06-25 16:04:56 -0400 | [diff] [blame] | 222 | // above. Then Construct*() and Delete*() will create and |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 223 | // destroy the machine dependent objects, which contain the |
| 224 | // above machine independent information. |
| 225 | // |
zmo@google.com | 5601ea0 | 2011-06-10 18:23:25 +0000 | [diff] [blame] | 226 | TCompiler* ConstructCompiler( |
Jamie Madill | 183bde5 | 2014-07-02 15:31:19 -0400 | [diff] [blame] | 227 | sh::GLenum type, ShShaderSpec spec, ShShaderOutput output); |
daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 228 | void DeleteCompiler(TCompiler*); |
| 229 | |
Geoff Lang | 0a73dd8 | 2014-11-19 16:18:08 -0500 | [diff] [blame] | 230 | #endif // COMPILER_TRANSLATOR_COMPILER_H_ |