Bastian Kauschke
8160bfa39c
query_name_of_opt_const_arg -> query_name_opt_const_arg
2020-10-05 08:49:21 +02:00
Bastian Kauschke
536674fb69
cleanup WithOptConstParam queries
2020-10-04 23:22:08 +02:00
Oliver Scherer
8f9472cc9e
Only mention that a stack frame is being popped when starting to do so
2020-10-01 08:32:24 +02:00
Oliver Scherer
43c181bac4
Use tracing
spans to trace the entire MIR interp stack
2020-09-28 20:07:57 +02:00
Bastian Kauschke
39245400c5
fix InterpCx resolve
2020-09-21 12:09:08 +02:00
Oliver Scherer
888afd50d9
Unify the names of const eval queries and their return types
2020-09-19 10:36:36 +02:00
Oliver Scherer
69a6be73e6
Rename const eval queries to reflect the validation changes
2020-09-19 10:36:36 +02:00
Oliver Scherer
dd9702a059
Do not call the const_eval
query in mir interpretation except for caching of nulary intrinsics
2020-09-19 10:36:36 +02:00
Oliver Scherer
2d7ac728e4
Stop using the const_eval
query for initializers of statics
...
As a side effect, we now represent most promoteds as `ConstValue::Scalar` again. This is useful because all implict promoteds are just references anyway and most explicit promoteds are numeric arguments to `asm!` or SIMD instructions.
2020-09-19 10:36:36 +02:00
LeSeulArtichaut
3e14b684dd
Change ty.kind to a method
2020-09-04 17:47:51 +02:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00