projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a092a
)
Use ir_function_signature::function_name() rather than direct access.
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 21 Apr 2010 22:17:26 +0000
(15:17 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 21 Apr 2010 22:36:36 +0000
(15:36 -0700)
ast_to_hir.cpp
patch
|
blob
|
history
diff --git
a/ast_to_hir.cpp
b/ast_to_hir.cpp
index addbeefc4be6e90fce2b01dbb84af34673a52606..94c8dcfbd81dbd22ffc4f144a70818ab1204b68d 100644
(file)
--- a/
ast_to_hir.cpp
+++ b/
ast_to_hir.cpp
@@
-2130,7
+2130,7
@@
ast_jump_statement::hir(exec_list *instructions,
_mesa_glsl_error(& loc, state,
"`return` with a value, in function `%s' "
"returning void",
- state->current_function->
definition->label
);
+ state->current_function->
function_name()
);
}
ir_expression *const ret = (ir_expression *)
@@
-2150,7
+2150,7
@@
ast_jump_statement::hir(exec_list *instructions,
_mesa_glsl_error(& loc, state,
"`return' with no value, in function %s returning "
"non-void",
- state->current_function->
definition->label
);
+ state->current_function->
function_name()
);
}
inst = new ir_return;
}