equal
deleted
inserted
replaced
133 |
133 |
134 fun invoke name f k x = |
134 fun invoke name f k x = |
135 (case Datatab.lookup (Synchronized.value kinds) k of |
135 (case Datatab.lookup (Synchronized.value kinds) k of |
136 SOME kind => |
136 SOME kind => |
137 if ! timing andalso name <> "" then |
137 if ! timing andalso name <> "" then |
138 Timing.cond_timeit true ("Theory_Data." ^ name ^ Position.str_of (#pos kind)) |
138 Timing.cond_timeit true ("Theory_Data." ^ name ^ Position.here (#pos kind)) |
139 (fn () => f kind x) |
139 (fn () => f kind x) |
140 else f kind x |
140 else f kind x |
141 | NONE => raise Fail "Invalid theory data identifier"); |
141 | NONE => raise Fail "Invalid theory data identifier"); |
142 |
142 |
143 in |
143 in |