Commit 407a6276 authored by Marius Wachtler's avatar Marius Wachtler

fix build and support interpreter frames inside getCurrentPythonLine()

parent 81825c8d
......@@ -299,7 +299,7 @@ private:
}
void checkAndPropagateCapiException(const UnwindInfo& unw_info, llvm::Value* returned_val, llvm::Value* exc_val,
bool double_check) {
bool double_check) override {
assert(!double_check); // need to call PyErr_Occurred
llvm::BasicBlock* normal_dest
......
......@@ -1188,8 +1188,8 @@ std::string getCurrentPythonLine() {
if (frame_iter.get()) {
std::ostringstream stream;
auto* cf = frame_iter->getCF();
auto source = cf->clfunc->source.get();
auto* clfunc = frame_iter->getCL();
auto source = clfunc->source.get();
auto current_stmt = frame_iter->getCurrentStatement();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment