Lines Matching defs:program
26 bool Analysis::CheckProgramUnrolledSize(const Program& program) {
28 // Note that we *cannot* safely check the program size of non-ES2 code at this time, as it is
29 // allowed to do things we can't measure (e.g. the program can contain a recursive cycle). We
31 const Context& context = *program.fContext;
126 SkDEBUGFAIL("for-loops should always have unroll info in an ES2 program");
141 // These statements don't directly consume any space in a compiled program.
145 SkDEBUGFAIL("encountered a statement that shouldn't exist in an ES2 program");
191 // Process every function in our program.
193 for (const std::unique_ptr<ProgramElement>& element : program.fOwnedElements) {
198 // Report an error when main()'s flattened size is larger than our program limit.
201 context.fErrors->error(/*line=*/-1, "program is too large");