Revision: 24707
Author:   [email protected]
Date:     Fri Oct 17 20:17:01 2014 UTC
Log:      MIPS64: ReceiverCheckMode needs to be utilized further.

Port r24704 (f43a27ee)

Original commit message:
The parameter wasn't being passed appropriately, and there was an extra
opportunity to use mode RECEIVER_IS_STRING in SubStringStub.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/645823003
https://code.google.com/p/v8/source/detail?r=24707

Modified:
 /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Thu Oct 16 17:24:15 2014 UTC +++ /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Fri Oct 17 20:17:01 2014 UTC
@@ -3357,8 +3357,8 @@
   // a1: instance type
   // a2: length
   // a3: from index (untagged)
-  StringCharAtGenerator generator(
- v0, a3, a2, v0, &runtime, &runtime, &runtime, STRING_INDEX_IS_NUMBER); + StringCharAtGenerator generator(v0, a3, a2, v0, &runtime, &runtime, &runtime, + STRING_INDEX_IS_NUMBER, RECEIVER_IS_STRING);
   generator.GenerateFast(masm);
   __ DropAndRet(3);
   generator.SkipSlow(masm, &runtime);

--
--
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/d/optout.

Reply via email to