glsl/Makefile: glcpp doesn't need libglsl.a.
[mesa.git] / src / glsl / opt_dead_functions.cpp
index cf91cb6d368858bccc6c9292b8471236c4585866..d72eb6115e19e25eb9d0e15004957421c67bd80d 100644 (file)
@@ -32,6 +32,8 @@
  #include "ir_expression_flattening.h"
  #include "glsl_types.h"
 
+ using std::strcmp;
+
  class signature_entry : public exec_node
  {
  public:
  public:
     ir_dead_functions_visitor()
     {
-       this->mem_ctx = talloc_new(NULL);
+       this->mem_ctx = ralloc_context(NULL);
     }
 
     ~ir_dead_functions_visitor()
     {
-       talloc_free(this->mem_ctx);
+       ralloc_free(this->mem_ctx);
     }
 
     virtual ir_visitor_status visit_enter(ir_function_signature *);