// File: /workspace/github_cpp_makefile_star2_O3/acliusBackHome[P]kamaya/dist/ParseNode.cpp
// Function: ParseNode::collect_parameters_list() const
void ParseNode::collect_parameters_list() const {
    auto &the_map = tree.node_param_list;
    // 结果
    vector<ParseVariable> res;
    switch (type) {
        case N_PARAM_LIST: {
            // 允许此操作的节点
            // 收集所有对应子节点类型的信息
            for (const auto &each : tree.node_children[node_id]) {
                const ParseNode &node = tree.nodes[each];
                if (node.type == N_PARAM_DECLARATION) {
                    res.emplace_back(node.get_variable());
                }
            }
            break;
        }
        default: {
            // 不允许此操作的节点
            string info = "ParseNode::collect_parameters_list(): node_type=";
            info += get_node_type_name(type);
            info += " node_id=" + to_string(node_id);
            throw ParseException(EX_NODE_NOT_ALLOW_OP, info);
        }
    }
    // 这里强制转换成非常量指针来改变keys表示该节点拥有这个键值
    ((ParseNode *) this)->keys |= K_PARAM_LIST;
    the_map[node_id] = res;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %r14
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
cmpl $0x8, 0x18(%rdi)
jne 0x1e089
movq (%rbx), %rax
movq 0x60(%r14), %rcx
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %r12
movq 0x8(%rcx,%rax,8), %r13
cmpq %r13, %r12
je 0x1e04f
leaq -0x40(%rbp), %r15
movq 0x10(%rbx), %rcx
movq (%r12), %rax
movq (%rcx), %rdi
shlq $0x5, %rax
cmpl $0x9, 0x18(%rdi,%rax)
jne 0x1e046
addq %rax, %rdi
movl $0x4, %esi
callq 0x2155e
movq %r15, %rdi
movq %rax, %rsi
callq 0x24528
addq $0x8, %r12
cmpq %r13, %r12
jne 0x1e018
addq $0x498, %r14            # imm = 0x498
orb $0x10, 0xa(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x24564
leaq -0x40(%rbp), %rsi
movq %rax, %rdi
callq 0x245cc
leaq -0x40(%rbp), %rdi
callq 0xe9e6
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x70(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x27c12(%rip), %rsi     # 0x45caa
leaq 0x27c3b(%rip), %rdx     # 0x45cda
leaq -0x80(%rbp), %rdi
callq 0xf868
movl 0x18(%rbx), %esi
leaq -0x60(%rbp), %r14
movq %r14, %rdi
callq 0x1a836
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq -0x80(%rbp), %rdi
callq 0x4110
leaq -0x50(%rbp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x1e0d9
callq 0x42b0
movq (%rbx), %rsi
leaq -0xa0(%rbp), %rdi
callq 0xe50f
leaq 0x275f5(%rip), %rsi     # 0x456e4
leaq -0x60(%rbp), %rdi
leaq -0xa0(%rbp), %rdx
callq 0xe495
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0x4110
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x1e11e
callq 0x42b0
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e133
callq 0x42b0
movl $0x28, %edi
callq 0x4190
movq %rax, %r14
leaq -0x80(%rbp), %rdx
movq %rax, %rdi
movl $0x4, %esi
callq 0x333ee
leaq 0x3cc18(%rip), %rsi     # 0x5ad70
leaq -0xfbbf(%rip), %rdx     # 0xe5a0
movq %r14, %rdi
callq 0x4540
jmp 0x1e195
movq %rax, %rbx
movq %r14, %rdi
callq 0x4250
jmp 0x1e1af
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x1e18c
callq 0x42b0
jmp 0x1e18c
movq %rax, %rbx
leaq -0x90(%rbp), %rax
jmp 0x1e1a1
movq %rax, %rbx
jmp 0x1e1af
movq %rax, %rbx
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e1af
callq 0x42b0
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x1e1c6
callq 0x42b0
jmp 0x1e1c6
jmp 0x1e1c3
jmp 0x1e1c3
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0xe9e6
movq %rbx, %rdi
callq 0x4560
nop