From: kasperl@chromium.org Date: Wed, 14 Apr 2010 10:11:29 +0000 (+0000) Subject: Fix typos in new interrupt postponing code. X-Git-Tag: upstream/4.7.83~22017 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7fd085817a8cfec9c0a28074f0fc303be085d70;p=platform%2Fupstream%2Fv8.git Fix typos in new interrupt postponing code. TBR=ricow@chromium.org Review URL: http://codereview.chromium.org/1574027 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4413 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/jsregexp.cc b/src/jsregexp.cc index f4d0cc6..5cace72 100644 --- a/src/jsregexp.cc +++ b/src/jsregexp.cc @@ -122,7 +122,7 @@ Handle RegExpImpl::Compile(Handle re, } FlattenString(pattern); CompilationZoneScope zone_scope(DELETE_ON_EXIT); - PostponeInterruptScope postpone; + PostponeInterruptsScope postpone; RegExpCompileData parse_result; FlatStringReader reader(pattern); if (!ParseRegExp(&reader, flags.is_multiline(), &parse_result)) { @@ -248,7 +248,7 @@ bool RegExpImpl::EnsureCompiledIrregexp(Handle re, bool is_ascii) { bool RegExpImpl::CompileIrregexp(Handle re, bool is_ascii) { // Compile the RegExp. CompilationZoneScope zone_scope(DELETE_ON_EXIT); - PostponeInterruptScope postpone; + PostponeInterruptsScope postpone; Object* entry = re->DataAt(JSRegExp::code_index(is_ascii)); if (entry->IsJSObject()) { // If it's a JSObject, a previous compilation failed and threw this object.