Revision: 9827
Author: [email protected]
Date: Fri Oct 28 01:03:13 2011
Log: MIPS: Fixing performance regression in issue 1787.
Port r9812 (c1644a9d)
Note: MIPS already had the fix for this regression.
This commit only adds the extra assertions.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8343030
Patch from Gergely Kis <[email protected]>.
http://code.google.com/p/v8/source/detail?r=9827
Modified:
/branches/bleeding_edge/src/mips/code-stubs-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/code-stubs-mips.cc Wed Oct 26 01:32:37
2011
+++ /branches/bleeding_edge/src/mips/code-stubs-mips.cc Fri Oct 28 01:03:13
2011
@@ -7112,6 +7112,11 @@
Register name,
Register scratch1,
Register scratch2)
{
+ ASSERT(!elements.is(scratch1));
+ ASSERT(!elements.is(scratch2));
+ ASSERT(!name.is(scratch1));
+ ASSERT(!name.is(scratch2));
+
// Assert that name contains a string.
if (FLAG_debug_code) __ AbortIfNotString(name);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev