Index: src/ia32/stub-cache-ia32.cc |
=================================================================== |
--- src/ia32/stub-cache-ia32.cc (revision 8654) |
+++ src/ia32/stub-cache-ia32.cc (working copy) |
@@ -164,10 +164,12 @@ |
Register name, |
Register scratch, |
Register extra, |
- Register extra2) { |
+ Register extra2, |
+ Register extra3) { |
Isolate* isolate = Isolate::Current(); |
Label miss; |
USE(extra2); // The register extra2 is not used on the ia32 platform. |
+ USE(extra3); // The register extra3 is not used on the ia32 platform. |
// Make sure that code is valid. The shifting code relies on the |
// entry size being 8. |
@@ -183,9 +185,10 @@ |
ASSERT(!extra.is(name)); |
ASSERT(!extra.is(scratch)); |
- // Check scratch and extra registers are valid, and extra2 is unused. |
+ // Check scratch is valid, extra2 and extra3 are unused. |
ASSERT(!scratch.is(no_reg)); |
ASSERT(extra2.is(no_reg)); |
+ ASSERT(extra3.is(no_reg)); |
// Check that the receiver isn't a smi. |
__ JumpIfSmi(receiver, &miss); |