示例#1
0
  void ExprCompiler::visit(ThrowExpr& expr, int dest)
  {
    // Compile the error object.
    compile(expr.value(), dest);

    // Throw it.
    write(expr, OP_THROW, dest);
  }
示例#2
0
 void Resolver::visit(ThrowExpr& expr, int dummy)
 {
   // Resolve the error object.
   resolve(expr.value());
 }