Revision: 19687
Author:   [email protected]
Date:     Thu Mar  6 11:51:53 2014 UTC
Log:      Remove outdated assertion scope.

[email protected]
BUG=349870
LOG=N

Review URL: https://codereview.chromium.org/182003004
http://code.google.com/p/v8/source/detail?r=19687

Added:
 /branches/bleeding_edge/test/mjsunit/regress/regress-349870.js
Modified:
 /branches/bleeding_edge/src/runtime.cc

=======================================
--- /dev/null
+++ /branches/bleeding_edge/test/mjsunit/regress/regress-349870.js Thu Mar 6 11:51:53 2014 UTC
@@ -0,0 +1,7 @@
+// Copyright 2014 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+var r = /x/;
+Object.freeze(r);
+r.compile("x");
=======================================
--- /branches/bleeding_edge/src/runtime.cc      Wed Mar  5 10:07:07 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc      Thu Mar  6 11:51:53 2014 UTC
@@ -2540,7 +2540,6 @@

 RUNTIME_FUNCTION(MaybeObject*, Runtime_RegExpInitializeObject) {
   HandleScope scope(isolate);
-  DisallowHeapAllocation no_allocation;
   ASSERT(args.length() == 5);
   CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 0);
   CONVERT_ARG_HANDLE_CHECKED(String, source, 1);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to