Revision: 9400
Author:   [email protected]
Date:     Thu Sep 22 08:39:22 2011
Log:      Fix debug builds broken by r9399.

Review URL: http://codereview.chromium.org/7996002
http://code.google.com/p/v8/source/detail?r=9400

Modified:
 /branches/bleeding_edge/src/regexp.js

=======================================
--- /branches/bleeding_edge/src/regexp.js       Thu Sep 22 08:11:12 2011
+++ /branches/bleeding_edge/src/regexp.js       Thu Sep 22 08:39:22 2011
@@ -408,9 +408,9 @@
 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,

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to