interp: do not try to interpret functions with an inttoptr instruction
Этот коммит содержится в:
родитель
27fc397e21
коммит
dbf581b56d
1 изменённых файлов: 3 добавлений и 0 удалений
|
@ -92,6 +92,9 @@ func (e *Eval) hasSideEffects(fn llvm.Value) *sideEffectResult {
|
||||||
if inst.IsVolatile() {
|
if inst.IsVolatile() {
|
||||||
result.updateSeverity(sideEffectLimited)
|
result.updateSeverity(sideEffectLimited)
|
||||||
}
|
}
|
||||||
|
case llvm.IntToPtr:
|
||||||
|
// Pointer casts are not yet supported.
|
||||||
|
result.updateSeverity(sideEffectLimited)
|
||||||
default:
|
default:
|
||||||
// Ignore most instructions.
|
// Ignore most instructions.
|
||||||
// Check this list for completeness:
|
// Check this list for completeness:
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче