[COMMITTED] ada: Skip dynamic interface conversion under configurable runtime
Checks
Commit Message
From: Javier Miranda <miranda@adacore.com>
gcc/ada/
* exp_disp.adb
(Expand_Interface_Conversion): Fix typo in comment.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/exp_disp.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -1308,7 +1308,7 @@ package body Exp_Disp is
-- When the target type is an interface type that is an ancestor of
-- the operand type, it is generally safe to skip generating code to
-- displace the pointer to the object to reference the secondary
- -- dispatch table of the target interface type. Two scenaries are
+ -- dispatch table of the target interface type. Two scenarios are
-- possible here:
-- 1) The operand type is a regular tagged type
-- 2) The operand type is an interface type