summaryrefslogtreecommitdiff
path: root/gcc/target.def
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-30 17:56:15 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-30 17:56:15 +0000
commit9de204fa4fa91ebb3adfea6c39ed907c65715e0c (patch)
tree53b1863654933d4ad6700e47006a94d476465cf4 /gcc/target.def
parentbf08445910a08f52b8ef8416175c6347690b27fb (diff)
downloadgcc-9de204fa4fa91ebb3adfea6c39ed907c65715e0c.tar.gz
* target.def (memory_move_cost): Use DEFHOOK.
* doc/tm.texi.in (TARGET_MEMORY_MOVE_COST): Use @hook. Rename regclass AKA class to rclass. * doc/tm.texi: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161623 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r--gcc/target.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/target.def b/gcc/target.def
index 656ac657d87..ec359d245fb 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -1375,7 +1375,7 @@ DEFHOOK
/* Compute cost of moving registers to/from memory. */
/* ??? Documenting the argument types for this hook requires a GFDL
license grant. Also, the documentation uses a different name for RCLASS. */
-DEFHOOK_UNDOC
+DEFHOOK
(memory_move_cost,
"",
int, (enum machine_mode mode, enum reg_class rclass, bool in),