2009-02-19から1日間の記事一覧

TryCatch のスコープではまること

V8 における文字列の評価処理は、だいたい次のような流れをとります。 const char* lpszScript = ...; HandleScope handle_scope; TryCatch try_catch; Local<Script> script = Script::Compile(String::New(lpszScript)); if (script.IsEmpty()) { ReportException(…