Exemplo n.º 1
0
int PrimitiveCallNode::number_of_parameters() const {
  int result = name()->number_of_arguments()
    + (has_receiver() ? 1 : 0)
    - (failure_code() ? 1 : 0);
  assert(_pdesc == NULL || pdesc()->number_of_parameters() == result, "checking result");
  return result;
}
Exemplo n.º 2
0
bool failure_is_syscall(void)
{
	return (failure_code() & TM_CAUSE_SYSCALL) == TM_CAUSE_SYSCALL;
}
Exemplo n.º 3
0
bool failure_is_persistent(void)
{
	return (failure_code() & TM_CAUSE_PERSISTENT) == TM_CAUSE_PERSISTENT;
}