// File: /workspace/github_cpp_makefile_star2_O1/menhits[P]phplus/src/AstNode.cpp
// Function: AstConstExpression::resolveConstant()
void AstConstExpression::resolveConstant()
{
	if (!inLeftType->isVoid() || !inRightType->isVoid())
	{
		throw PhplusError("AstConstExpression given non void input", INTERNAL_ERROR, getToken());
	}
	
	//leftIn->setInput(ns, Void, Void);
	rightIn->setInput(ns, false, Void, Void);
	
	//error.log("resolveAction called for "+getString(), JSYK);
	
	ns->addNode(move(rightIn->makeCopy(true)), center->token->getText());
	
	/*
	Action rightAction=rightIn->getAction();
	
	void * val=rightAction->execute(nullptr, nullptr);
	
	//center->setInput(ns, false, Void, rightIn->getReturnType());
	
	Action valAction=constGetAction(val, rightAction->getReturnType(), "const expression");
	
	ns->addAction(valAction, center->token->getText());*/
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
testb %al, %al
je 0x1078f
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
testb %al, %al
je 0x1078f
movq 0x70(%rbx), %rax
movq 0x90(%rbx), %rdi
movq %rax, 0x38(%rsp)
movq 0x78(%rbx), %rax
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x10637
movq 0x8897f(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x10633
incl 0x8(%rax)
jmp 0x10637
lock
incl 0x8(%rax)
leaq 0x88dc2(%rip), %rax     # 0x99400
movq (%rax), %rdx
movq 0x8(%rax), %rcx
movq %rdx, 0x28(%rsp)
movq %rcx, 0x30(%rsp)
testq %rcx, %rcx
je 0x10669
movq 0x8894d(%rip), %rdx     # 0x98fa8
cmpb $0x0, (%rdx)
je 0x10665
incl 0x8(%rcx)
jmp 0x10669
lock
incl 0x8(%rcx)
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x18(%rsp)
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x10694
movq 0x88922(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x10690
incl 0x8(%rax)
jmp 0x10694
lock
incl 0x8(%rax)
leaq 0x38(%rsp), %rsi
leaq 0x28(%rsp), %rcx
leaq 0x18(%rsp), %r8
xorl %edx, %edx
callq 0x1491e
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x106b9
callq 0xdcba
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x106c8
callq 0xdcba
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x106d7
callq 0xdcba
movq 0x70(%rbx), %r14
movq 0x90(%rbx), %rsi
movq (%rsi), %rax
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movl $0x1, %edx
callq *0x20(%rax)
movq (%r15), %rax
movq %rax, 0x8(%rsp)
movq $0x0, (%r15)
movq 0x88(%rbx), %rax
movq 0x88(%rax), %rax
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0xdde2
leaq 0x8(%rsp), %rsi
leaq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x22f38
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x10750
callq 0xa2b0
movq 0x8(%rsp), %rsi
testq %rsi, %rsi
je 0x10764
leaq 0x8(%rsp), %rdi
callq 0x168f8
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x10781
leaq 0x10(%rsp), %rdi
callq 0x168f8
addq $0x98, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r14
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x65afa(%rip), %rsi     # 0x762a9
leaq 0x65b1a(%rip), %rdx     # 0x762d0
leaq 0x78(%rsp), %rdi
callq 0xdf6a
movq (%rbx), %rax
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq *0x38(%rax)
movb $0x1, %bpl
leaq 0x78(%rsp), %rsi
leaq 0x48(%rsp), %rcx
movq %r14, %rdi
movl $0x3, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x85e47(%rip), %rsi     # 0x96638
leaq 0x4100(%rip), %rdx      # 0x148f8
movq %r14, %rdi
callq 0xa4f0
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x1081a
callq 0xdcba
jmp 0x1081a
movq %rax, %rbx
movb $0x1, %bpl
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x108b4
callq 0xa2b0
jmp 0x108b4
movq %rax, %rbx
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x10849
callq 0xa2b0
jmp 0x10849
movq %rax, %rbx
movq 0x8(%rsp), %rsi
testq %rsi, %rsi
je 0x1085d
leaq 0x8(%rsp), %rdi
callq 0x168f8
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x108c1
leaq 0x10(%rsp), %rdi
callq 0x168f8
jmp 0x108c1
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1088e
callq 0xdcba
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1089d
callq 0xdcba
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x108c1
callq 0xdcba
jmp 0x108c1
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x108c1
movq %r14, %rdi
callq 0xa240
movq %rbx, %rdi
callq 0xa510
nop