- 09 Dec, 2009 7 commits
-
-
kmillikin@chromium.org authored
callback load (or keyed load) IC. The problem was that the IC code calls a stub, which can allocate and thus trigger a GC if the stub is not already generated. Problem is solved by adding the ability to "try" to call a stub, trying to generate the stub code if necessary but signaling an allocation failure if generating the code is not possible. Review URL: http://codereview.chromium.org/472002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3440 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
Instead of weak handles external strings use a separate table. This table uses 5 times less memory than weak handles. Moreover, since we don't have to follow the weak handle callback protocol we can collect the strings faster and even on scavenge collections. Review URL: http://codereview.chromium.org/467037 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3439 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
and set. Doesn't support configurable yet. See http://code.google.com/p/v8/issues/detail?id=460 Review URL: http://codereview.chromium.org/463040 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3438 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
When generating code for object and array literals we performed the check if the a boilerplate already exists in generated code. In the top-level compiler we now do this check in a new runtime function. This makes the generated code more compact for top-level code. Review URL: http://codereview.chromium.org/465148 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3437 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Create the framework for adding a thumb2 backend for ARM. See http://codereview.chromium.org/464070 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3436 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: http://codereview.chromium.org/464016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3435 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
This is a port of the IA-32 version from r3400 (http://code.google.com/p/v8/source/detail?r=3400). In the X64 version the additional registers are used to avoid loading the instance type and arguments several times. Review URL: http://codereview.chromium.org/460109 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3434 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Dec, 2009 2 commits
-
-
erik.corry@gmail.com authored
See http://codereview.chromium.org/470001 From sra. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3433 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/464069 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3432 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Dec, 2009 3 commits
-
-
fschneider@chromium.org authored
Review URL: http://codereview.chromium.org/466056 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3430 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
parameters. This could case the initial value to be lost or worse, a crash. Fix by handling the case of a declaration shadowing both stack-allocated parameters and those in the arguments object. This is related to V8 issue 540. http://code.google.com/p/v8/issues/detail?id=540 BUG=29565 Review URL: http://codereview.chromium.org/469006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3429 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Patch from sra. http://codereview.chromium.org/470001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3427 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Dec, 2009 10 commits
-
-
christian.plesner.hansen@gmail.com authored
Review URL: http://codereview.chromium.org/465055 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3426 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
1. Refactor the structure of VisitAssignment: The existing code is not ideal to be extended with support for compound assignments. 2. Reuse common code for keyed property assigments: Now variables rewritten to a property (.arguments access) are treated like normal keyed property assignments. This allows us to remove some code duplication. Review URL: http://codereview.chromium.org/456024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3425 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/466031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3422 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
arguments object. See http://code.google.com/p/v8/issues/detail?id=540 Review URL: http://codereview.chromium.org/460070 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3421 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/462034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3420 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
Review URL: http://codereview.chromium.org/466003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3419 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/460068 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3418 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
variables rather than in a stack-allocated struct. The struct field values turned out not to be available in minidumps. Review URL: http://codereview.chromium.org/460069 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3417 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
The checking for strings when performing binary add was missing on x64 and ARM. This is a prerequisite for adding string add in generated code for these two platforms. Review URL: http://codereview.chromium.org/465028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3416 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Calculate the aligned size of strings when allocating from generated code using kObjectAlignmentMask Add native code assert to make sure allocation from generated code keeps alignment. Review URL: http://codereview.chromium.org/462025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3415 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Dec, 2009 9 commits
-
-
ager@chromium.org authored
TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/466018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3410 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/464002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3407 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
struct on fatal out of memory. This should cause the information to be included in minidumps so we can get a better idea of the state of v8 on OOMs. Review URL: http://codereview.chromium.org/462019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3406 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Strictly speaking NAN from math.h is not in a POSIX standard but in C99. However it seems that all our POSIX platforms have it. Review URL: http://codereview.chromium.org/464015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3405 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
BUG=http://code.google.com/p/v8/issues/detail?id=453 TEST=none Review URL: http://codereview.chromium.org/458016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3404 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
Review URL: http://codereview.chromium.org/466006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3403 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
TBR=ager@chromium.org Review URL: http://codereview.chromium.org/462018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3402 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/465025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3401 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
This adds a code stub which can do most of what Heap::AllocateConsString can do. It bails out if the result cannot fit in new space or if the result is a short (flat) string and one argument is an ascii string and the other a two byte string. It also bails out if adding two one character strings as Heap::AllocateConsString has special handling of this utilizing the symbol table. The stub is used both for the binary add operation and for StringAdd calls from runtime JavaScript files. Extended the string add test to cover all sizes of flat result stings. Review URL: http://codereview.chromium.org/442024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3400 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Dec, 2009 3 commits
-
-
kbr@chromium.org authored
KeyedLoadIC::GenerateExternalArray which was causing it to go to the slow case all the time. Review URL: http://codereview.chromium.org/458008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3399 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Patch by Peter Valchev <pvalchev@gmail.com>. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/465002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3398 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
BUG=http://code.google.com/p/v8/issues/detail?id=536 TEST=cctest/test-strings/ExternalShortStringAdd Review URL: http://codereview.chromium.org/466001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3397 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Dec, 2009 6 commits
-
-
sgjesse@chromium.org authored
Missed out on reflecting changes to Script object layout in objects-debug.cc. Also fixed http://codereview.chromium.org/450034/diff/2006/2010. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/456021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3394 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
For scripts originating from a call to eval the Script object used to hold a reference to the function from where the eval was called together with the code offset within that function of the eval call. This is used by the stack trace and is part of the debugger protocol. In order to avoid storing the function the script, the position within the script and the name of the function calling eval is stored instead. This avoids holding context dependent objects in the script object. The calculation of the position of the eval in the script holding the eval is now done when the eval script is compiled as it is not possible to postpone this unless a reference is kept to the generated code for the function calling eval. BUG=http://code.google.com/p/v8/issues/detail?id=528 TEST=cctest/test-api/Regress528 Review URL: http://codereview.chromium.org/450034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3393 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
TBR=ager Review URL: http://codereview.chromium.org/449055 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3392 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: http://codereview.chromium.org/457021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3391 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
TBR=ager@chromium.org Review URL: http://codereview.chromium.org/449053 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3390 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
can check for these cases before caching the property names instead. Review URL: http://codereview.chromium.org/455020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3389 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-