Currently if you define an interrupt handler with the right arity but wrong type, you get the unhelpful error "X86 interrupts may take one or two arguments." This changes the message for type errors to call them out as such.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
2997 | What if Ins.size() == 1? |
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
2994–2995 | Since you're touching this code anyway, do you mind capitalizing the new variable names to match coding standards. |
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
2997 | Wouldn't it now always fail if Ins.size() == 1 ? |
Comment Actions
Yeah, sorry, I screwed up the git format-patch command... I'm used to the GitHub PR model...
Since you're touching this code anyway, do you mind capitalizing the new variable names to match coding standards.