Commit 9aef343b authored by Kevin Modzelewski's avatar Kevin Modzelewski

Doh

parent 1f7b7ea5
...@@ -551,8 +551,7 @@ void Rewriter::_decref(RewriterVar* var) { ...@@ -551,8 +551,7 @@ void Rewriter::_decref(RewriterVar* var) {
assembler->decq(assembler::Indirect(reg, offsetof(Box, ob_refcnt))); assembler->decq(assembler::Indirect(reg, offsetof(Box, ob_refcnt)));
{ {
assembler::ForwardJump jnz(*assembler, assembler::COND_NOT_ZERO); assembler::ForwardJump jnz(*assembler, assembler::COND_NOT_ZERO);
//assembler->trap(); assembler->movq(assembler::Indirect(reg, offsetof(Box, cls)), assembler::RAX);
assembler->mov(assembler::Indirect(reg, offsetof(Box, cls)), assembler::RAX);
assembler->callq(assembler::Indirect(assembler::RAX, offsetof(BoxedClass, tp_dealloc))); assembler->callq(assembler::Indirect(assembler::RAX, offsetof(BoxedClass, tp_dealloc)));
//assembler->mov(assembler::Indirect(assembler::RAX, offsetof(BoxedClass, tp_dealloc)), assembler::R11); //assembler->mov(assembler::Indirect(assembler::RAX, offsetof(BoxedClass, tp_dealloc)), assembler::R11);
//assembler->callq(assembler::R11); //assembler->callq(assembler::R11);
......
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