hphp/runtime/vm/jit/irgen-func-prologue.cpp
/*
 * Emit raise-warnings for any missing arguments.
 */
Emit raise-warnings for any missing arguments.
Emit raise - warnings for any missing arguments .
void warnOnMissingArgs(IRGS& env, const Func* callee, uint32_t argc) {
  if (argc < callee->numRequiredParams()) {
    env.irb->exceptionStackBoundary();
    gen(env, ThrowMissingArg, FuncArgData { callee, argc });
  }
}
void warnOnMissingArgs ( IRGS & env , const Func * callee , uint32_t argc ) { if ( argc < callee -> numRequiredParams ( ) ) { env . irb -> exceptionStackBoundary ( ) ; gen ( env , ThrowMissingArg , FuncArgData { callee , argc } ) ; } }
Emit raise-warnings for any missing arguments.
Emit raise - warnings for any missing arguments .