Go to file
ager@chromium.org b92ef0be32 MIPS: port Fix calls of strict mode function with an implicit receiver.
Port of r8040 to mips.

Original commit message:
Strict mode functions are to get 'undefined' as the receiver when
called with an implicit receiver. Modes are bad! It forces us to have
checks on all function calls.
This change attempts to limit the cost by passing information about
whether or not a call is with an implicit or explicit receiver in ecx
as part of the calling convention. The cost is setting ecx on all
calls and checking ecx on entry to strict mode functions.
Implicit/explicit receiver state has to be maintained by ICs. Various
stubs have to not clobber ecx or save and restore it.
CallFunction stub needs to check if the receiver is implicit when it
doesn't know from the context.

BUG=
TEST=

Review URL: http://codereview.chromium.org/6992051
Patch from Paul Lind <plind44@gmail.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8050 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-05-25 06:04:01 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
build Initial support for generating Visual Studio solution and project files using GYP 2011-04-27 14:20:21 +00:00
include Rename Proxy class to Foreign, to avoid confusion with Harmony proxies. 2011-05-19 11:47:34 +00:00
preparser Add tests for function statements in strict mode. 2011-05-24 14:02:59 +00:00
samples Use MarkIndependent in sample shell. 2011-05-18 15:01:57 +00:00
src MIPS: port Fix calls of strict mode function with an implicit receiver. 2011-05-25 06:04:01 +00:00
test Add tests for function statements in strict mode. 2011-05-24 14:02:59 +00:00
tools Platform and build updates for Android build 2011-05-24 14:49:02 +00:00
.gitignore ARM: Changed the handling of compiletime CPU feature detection 2011-05-03 06:51:59 +00:00
AUTHORS AUTHORS: add Akinori MUSHA <knu@FreeBSD.org>. 2011-05-08 14:55:57 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.3.10. 2011-05-23 06:00:45 +00:00
LICENSE Fix the license info to correctly state Copyright "the V8 project 2011-01-19 09:20:18 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
SConstruct MIPS: Update for 23-May commits, and a few older ones. 2011-05-24 07:23:32 +00:00