v8/test/mjsunit
iposva@chromium.org f3da5ff626 Fix for issue 171:
- Make sure to not destroy the instance type by slightly rearranging the code.
- Added regression test.

Review URL: http://codereview.chromium.org/16594

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1042 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-01-07 23:26:31 +00:00
..
bugs Added test for bug 176 (zero length matches should fail in quantifiers). 2008-12-11 09:01:55 +00:00
regress Fix for issue 171: 2009-01-07 23:26:31 +00:00
api-call-after-bypassed-exception.js Cleanup of http://codereview.chromium.org/8101. 2008-10-24 06:22:47 +00:00
apply.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
arguments-call-apply.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
arguments-enum.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
arguments-indirect.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
arguments-opt.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
arguments.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array_length.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array-concat.js Fix issue with Array.concat not preserving holes in the 2008-10-29 10:02:09 +00:00
array-functions-prototype.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array-indexing.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array-iteration.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array-join.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array-length.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array-sort.js Testing that sorting behaves reasonably with a bad comparison function. 2008-10-14 10:50:44 +00:00
array-splice-webkit.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
array-splice.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
ascii-regexp-subject.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
binary-operation-overwrite.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
body-not-visible.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
call-non-function-call.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
call-non-function.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
call.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
char-escape.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
class-of-builtins.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
closure.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
compare-nan.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
const-redecl.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
const.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
context-variable-assignments.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
cyclic-array-to-string.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
date-parse.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
date.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-backtrace-text.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-backtrace.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-breakpoints.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-changebreakpoint.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-clearbreakpoint.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-conditional-breakpoints.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-constructed-by.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-constructor.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-continue.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-enable-disable-breakpoints.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-evaluate-arguments.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-evaluate-locals.js Exclude the bit-field bits from string hash codes. String hash codes 2008-10-06 09:35:52 +00:00
debug-evaluate-recursive.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-evaluate-with.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-evaluate.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-event-listener.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-ignore-breakpoints.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-multiple-breakpoints.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-referenced-by.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-script-breakpoints.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-script.js Update d8 so that it can be used to run the mjsunit tests. 2008-11-25 12:58:48 +00:00
debug-scripts-request.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-setbreakpoint.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-sourceinfo.js Quick fix for mjsunit/debug-sourceinfo failure 2008-09-09 20:20:35 +00:00
debug-sourceslice.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-step-stub-callfunction.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-step.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
debug-stepin-constructor.js Refactored the code for handling debug step in in the runtime system into one function. For constructors this also means that step in will no longer step into the code for the builtins context. 2008-12-18 14:32:49 +00:00
declare-locally.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
deep-recursion.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
delay-syntax-error.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
delete-global-properties.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
delete-in-eval.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
delete-in-with.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
delete-vars-from-eval.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
delete.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
do-not-strip-fc.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
dont-enum-array-holes.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
dont-reinit-global-var.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
double-equals.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
dtoa.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
enumeration_order.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
escape.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
eval-typeof-non-existing.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
eval.js Change implementation of eval to make an exact distinction between direct eval and aliased eval. 2008-11-27 13:55:06 +00:00
execScript-case-insensitive.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
extra-arguments.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
extra-commas.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
for-in-null-or-undefined.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
for-in-special-cases.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
for-in.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
fun_name.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
fun-as-prototype.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
function-arguments-null.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
function-caller.js Change implementation of eval to make an exact distinction between direct eval and aliased eval. 2008-11-27 13:55:06 +00:00
function-names.js Update v8natives to use InstallFunctions to get the correct function 2008-10-03 18:00:28 +00:00
function-property.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
function-prototype.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
function-source.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
function.js Make sure that the body of the function created by calling Function is 2008-09-25 07:35:45 +00:00
fuzz-accessors.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
fuzz-natives.js Added runtime call to the logging infrastructure. Made some changes 2009-01-06 13:24:52 +00:00
getter-in-value-prototype.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
global-const-var-conflicts.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
global-vars-eval.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
global-vars-with.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
greedy.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
has-own-property.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
html-comments.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
html-string-funcs.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
if-in-undefined.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
in.js You can't use BinarySearch on an unsorted array and other 2008-10-26 20:50:05 +00:00
instanceof.js Make sure to check that the function prototype is a 2008-10-08 14:03:53 +00:00
integer-to-string.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
invalid-lhs.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
keyed-ic.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
keyed-storage-extend.js - Fixed Issue 3201: Embedded Google Calendar crashes the renderer 2008-10-07 09:28:04 +00:00
large-object-allocation.js - Fix instance size calculation to ensure that the object cannot 2008-10-16 05:45:33 +00:00
large-object-literal.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
lazy-load.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
leakcheck.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
length.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
math-min-max.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
megamorphic-callbacks.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-array.js Factored the generation of JSON serialization from beeing part of the mirror objects into a seperate class. The purpose of this is to make it easier to change the serialization to contain object identification and references. 2009-01-07 09:27:30 +00:00
mirror-boolean.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-date.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-error.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-function.js Factored the generation of JSON serialization from beeing part of the mirror objects into a seperate class. The purpose of this is to make it easier to change the serialization to contain object identification and references. 2009-01-07 09:27:30 +00:00
mirror-null.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-number.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-object.js Factored the generation of JSON serialization from beeing part of the mirror objects into a seperate class. The purpose of this is to make it easier to change the serialization to contain object identification and references. 2009-01-07 09:27:30 +00:00
mirror-regexp.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-script.js Factored the generation of JSON serialization from beeing part of the mirror objects into a seperate class. The purpose of this is to make it easier to change the serialization to contain object identification and references. 2009-01-07 09:27:30 +00:00
mirror-string.js Factored the generation of JSON serialization from beeing part of the mirror objects into a seperate class. The purpose of this is to make it easier to change the serialization to contain object identification and references. 2009-01-07 09:27:30 +00:00
mirror-undefined.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mirror-unresolved-function.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
mjsunit.js Follow jsc in throwing an exception when using test or exec on a 2008-12-03 12:47:21 +00:00
mjsunit.status Refactored the recording of source position in the generated code. The code generator now has two methods 2008-12-17 08:45:42 +00:00
mul-exhaustive.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
negate-zero.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
negate.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
new.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
newline-in-string.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
no-branch-elimination.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
no-octal-constants-above-256.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
no-semicolon.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
non-ascii-replace.js Merge regexp2000 back into bleeding_edge 2008-11-25 11:07:48 +00:00
nul-characters.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
number-limits.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
number-string-index-call.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
number-tostring-small.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
number-tostring.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
obj-construct.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
parse-int-float.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
property-object-key.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
proto.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
prototype.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
regexp-indexof.js - Case-sensitive atomic regular expressions now use the same code as 2008-10-02 15:35:28 +00:00
regexp-multiline-stack-trace.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
regexp-multiline.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
regexp-standalones.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
regexp-static.js Follow jsc in throwing an exception when using test or exec on a 2008-12-03 12:47:21 +00:00
regexp-UC16.js Excluded test that fails in JSCRE. 2008-12-05 10:04:40 +00:00
regexp.js * Generate quick checks based on mask and compare for 2008-12-19 12:02:34 +00:00
scanner.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
smi-negative-zero.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
smi-ops.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
sparse-array-reverse.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
sparse-array.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
str-to-num.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
stress-array-push.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
strict-equals.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-case.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-charat.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-charcodeat.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-compare-alignment.js Test for a bug that was fixed in r554 where we used unaligned accesses on ARM 2008-10-27 14:42:23 +00:00
string-flatten.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-index.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-indexof.js Reduced the string length and rounds in the extensive indexOf-test in string-indexof.js. 2008-10-14 10:56:40 +00:00
string-lastindexof.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-localecompare.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-search.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
string-split.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
substr.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
switch.js Arm codegen could emit const pool in the middle of jump table. 2008-12-10 08:37:58 +00:00
testcfg.py Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
this-in-callbacks.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
this.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
throw-and-catch-function.js Fixing a subtle bug in receiver resolution when a thrown and caught function is called from a catch-block. 2008-12-18 11:28:13 +00:00
throw-exception-for-null-access.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
to-precision.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
tobool.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
toint32.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
touint32.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
try_catch_scopes.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
try-finally-nested.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
try.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
unicode-string-to-number.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
unicode-test.js Merge regexp2000 back into bleeding_edge 2008-11-25 11:07:48 +00:00
unusual-constructor.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
uri.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
value-callic-prototype-change.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
var.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
with-function-expression.js Fix bug in function context slot lookup. There were two problems: we 2008-09-11 13:00:30 +00:00
with-leave.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
with-parameter-access.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
with-value.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00