Commit dfeaa56b authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix debug builds broken by r9399.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9400 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0c6863a1
......@@ -408,9 +408,9 @@ var lastMatchInfoOverride = null;
function SetUpRegExp() {
%CheckIsBootstrapping();
%FunctionSetInstanceClassName($RegExp, 'RegExp');
%FunctionSetPrototype($RegExp, new $RegExp());
%SetProperty($RegExp.prototype, 'constructor', $RegExp, DONT_ENUM);
%SetCode($RegExp, RegExpConstructor);
%FunctionSetPrototype($RegExp, new $RegExp());
InstallFunctions($RegExp.prototype, DONT_ENUM, $Array(
"exec", RegExpExec,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment