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:
parent
dfeaa56b9a
commit
7ab81a14fa
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user