Reverting r9399.

Review URL: http://codereview.chromium.org/7989007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9401 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2011-09-22 15:55:44 +00:00
parent dfeaa56b9a
commit 7ab81a14fa
2 changed files with 1 additions and 1 deletions

View File

@ -408,9 +408,9 @@ var lastMatchInfoOverride = null;
function SetUpRegExp() {
%CheckIsBootstrapping();
%FunctionSetInstanceClassName($RegExp, 'RegExp');
%FunctionSetPrototype($RegExp, new $Object());
%SetProperty($RegExp.prototype, 'constructor', $RegExp, DONT_ENUM);
%SetCode($RegExp, RegExpConstructor);
%FunctionSetPrototype($RegExp, new $RegExp());
InstallFunctions($RegExp.prototype, DONT_ENUM, $Array(
"exec", RegExpExec,