diff options
| author | Pierre-Marie Pédrot | 2016-09-09 13:29:28 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-09-09 13:43:42 +0200 |
| commit | d55818c7da468ce1c7c9644cb63f68f7561a17bc (patch) | |
| tree | fc3737cf865b014f5a297ce249b98892e181ecf1 /kernel/nativecode.ml | |
| parent | 1888527bb43d6a8c801565af3e6376c91769fbc1 (diff) | |
Tracking careless uses of slow name lookup.
Diffstat (limited to 'kernel/nativecode.ml')
| -rw-r--r-- | kernel/nativecode.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/nativecode.ml b/kernel/nativecode.ml index 79930f6ade..bf40f7389e 100644 --- a/kernel/nativecode.ml +++ b/kernel/nativecode.ml @@ -1845,7 +1845,7 @@ and compile_rel env sigma univ auxdefs n = and compile_named env sigma univ auxdefs id = let open Context.Named.Declaration in - match Context.Named.lookup id env.env_named_context.env_named_ctx with + match lookup_named id env with | LocalDef (_,t,_) -> let code = lambda_of_constr env sigma t in let auxdefs,code = compile_with_fv env sigma univ auxdefs None code in |
