~ubuntu-branches/ubuntu/raring/mesa/raring-proposed

« back to all changes in this revision

Viewing changes to src/glsl/loop_analysis.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-06-19 21:26:00 UTC
  • mfrom: (1.6.1 upstream) (3.3.18 sid)
  • mto: (3.3.20 sid)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: james.westby@ubuntu.com-20110619212600-rleaapdmnbtstekb
Tags: 7.11~0-2
Thank you sbuild for giving a green light when that's not actually the
case. Fix missing Pre-Depends for the libegl1-mesa-drivers package
(multiarch-support).

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
   this->ht = hash_table_ctor(0, hash_table_pointer_hash,
39
39
                              hash_table_pointer_compare);
40
40
   this->mem_ctx = ralloc_context(NULL);
 
41
   this->loop_found = false;
41
42
}
42
43
 
43
44
 
52
53
loop_state::insert(ir_loop *ir)
53
54
{
54
55
   loop_variable_state *ls = new(this->mem_ctx) loop_variable_state;
 
56
 
55
57
   hash_table_insert(this->ht, ls, ir);
 
58
   this->loop_found = true;
56
59
 
57
60
   return ls;
58
61
}