Go to file
ager@chromium.org 0163b443d2 MIPS: port Implement set trap for proxies, and revamp class hierarchy in preparation
Ported commits: r8126 (6461bae)

Original commit message:
- Introduce a class JSReceiver, that is a common superclass of JSObject and
JSProxy. Use JSReceiver where appropriate (probably lots of places that we
still have to migrate, but we will find those later with proxy test suite).
- Move appropriate methods to JSReceiver class (SetProperty,
GetPropertyAttribute, Get/SetPrototype, Lookup, and so on).
- Introduce new JSFunctionProxy subclass of JSProxy. Currently only a stub.
- Overhaul enum InstanceType:
* Introduce FIRST/LAST_SPEC_OBJECT_TYPE that ranges over all types that
represent JS objects, and use that consistently to check language types.
* Rename FIRST/LAST_JS_OBJECT_TYPE and FIRST/LAST_FUNCTION_CLASS_TYPE
to FIRST/LAST_[NON]CALLABLE_SPEC_OBJECT_TYPE for clarity.
* Eliminate the overlap over JS_REGEXP_TYPE.
* Also replace FIRST_JS_OBJECT with FIRST_JS_RECEIVER, but only use it where
we exclusively talk about the internal representation type.
* Insert JS_PROXY and JS_FUNCTION_PROXY in the appropriate places.
- Fix all checks concerning classification, especially for functions, to
use the CALLABLE_SPEC_OBJECT range (that includes funciton proxies).
- Handle proxies in SetProperty (that was the easiest part :) ).
- A few simple test cases.

BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8175 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-06-06 08:47:27 +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 Implement set trap for proxies, and revamp class hierarchy in preparation: 2011-05-31 16:38:40 +00:00
preparser Add tests for function statements in strict mode. 2011-05-24 14:02:59 +00:00
samples linux: extend the ifdefs in shell.cc to cover V8_SHARED too 2011-05-30 06:10:41 +00:00
src MIPS: port Implement set trap for proxies, and revamp class hierarchy in preparation 2011-06-06 08:47:27 +00:00
test MIPS: Fixed FPU rounding checks and related errors in the Simulator. 2011-06-06 08:43:15 +00:00
tools Implement set trap for proxies, and revamp class hierarchy in preparation: 2011-05-31 16:38:40 +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.4.2. 2011-06-01 05:48:51 +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