Chromium Code Reviews| Index: frog/leg/leg.dart |
| diff --git a/frog/leg/leg.dart b/frog/leg/leg.dart |
| index 1a18770bcf452e587431ec7b49c3b7dd425e70be..4f881ce02d534261113ba8ff03a2b6f0be9dffc4 100644 |
| --- a/frog/leg/leg.dart |
| +++ b/frog/leg/leg.dart |
| @@ -25,6 +25,6 @@ |
| final bool GENERATE_SSA_TRACE = false; |
| -void unreachable() { |
| - throw const Exception("Internal Error (Leg): UNREACHABLE"); |
| +void unreachable([msg = "UNREACHABLE"]) { |
|
kasperl
2012/01/05 07:01:52
msg -> message
floitsch
2012/01/05 12:18:38
Done.
ngeoffray
2012/01/05 14:05:46
Since we'll get rid of this method, I suggest you
floitsch
2012/01/24 13:28:37
Done.
|
| + throw new Exception("Internal Error (Leg): $msg"); |
| } |