Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(183)

Unified Diff: src/compiler/Compiler.cpp

Issue 9436044: Prototype for less memory intensive initializing of builtins. (Closed) Base URL: http://angleproject.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/build_angle.gypi ('k') | src/compiler/Initialize.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/Compiler.cpp
===================================================================
--- src/compiler/Compiler.cpp (revision 2424)
+++ src/compiler/Compiler.cpp (working copy)
@@ -4,6 +4,7 @@
// found in the LICENSE file.
//
+#include "compiler/builtin_symbol_table.h"
#include "compiler/BuiltInFunctionEmulator.h"
#include "compiler/DetectCallDepth.h"
#include "compiler/ForLoopUnroll.h"
@@ -68,6 +69,7 @@
}
}
+ InsertBuiltInFunctionsCommon(resources, &symbolTable);
IdentifyBuiltIns(type, spec, resources, symbolTable);
return true;
@@ -132,6 +134,7 @@
// Generate built-in symbol table.
if (!InitBuiltInSymbolTable(resources))
return false;
+
InitExtensionBehavior(resources, extensionBehavior);
fragmentPrecisionHigh = resources.FragmentPrecisionHigh == 1;
« no previous file with comments | « src/build_angle.gypi ('k') | src/compiler/Initialize.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b