- 19 Sep, 2008 2 commits
-
-
deanm@chromium.org authored
TryFlatten is inlined, while Flatten is not. Make an optimization to avoid the call to Flatten when we're already flat. This gives me 5% on some simple indexOf experiments. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@347 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/2985 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@346 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Sep, 2008 10 commits
-
-
kasperl@chromium.org authored
Review URL: http://codereview.chromium.org/3144 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@344 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Added fast-case for switch statement where all lables are constant Smi's in a limited range (IA32 only so far). Implemented using a jump-table, for constant time lookup. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@343 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Update the lookup and update code for code caches to deal with deleted elements. Do not clear the code cache for the builtins object. If there was a matching element in the code cache, we would have hit the monomorphic prototype failure case and removed it. Review URL: http://codereview.chromium.org/3140 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@340 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
to the assembler. Review URL: http://codereview.chromium.org/2961 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@339 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
information does not work. In certains situations, it will keep alternating between unrelated monomorphic states instead of going megamorphic. Review URL: http://codereview.chromium.org/2959 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@338 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/2958 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@337 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
until a possible debug break location is reached. Currently this is call sites with calls to code objects and JS return. Source position information in the code therefore no longer refers to the "first" instruction generated for a given source position (which was not the case defered code anyway) but to the first break location after that source position was passed (again defered code always start with source position information). This doesn't make a difference for the debugger as it will always be stopped only at debug break locations. However, this makes the life of the peep-hole optimizer much easier as many oportunities for posh/pop eliminations where previosly blocked by relocation information already written to the code object. Two types of source positions are still collected. Statement positions indicate the position of the start of the statement leading to this code and (plain) positions indicate other places typically call sites to help indicate current position in backtraces. The two different types of positions are also used to distinguish between step next and step in. Runs all the tests (including debugger tests) as before. Moved the checking for the FLAG_debug_info to one place. I will do the same changes to the ARM codegenerator in a seperate changelist. Review URL: http://codereview.chromium.org/2957 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@335 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@334 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whessev8 authored
since %DebugPrint is not often used. Needed for some performance testing statistics outputting. Fix the declaration of descriptor enumerated constants to be more readable. Review URL: http://codereview.chromium.org/3100 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@332 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
occured. After a monomorphic prototype failure has been detected, other monomorphic inline caches for the same type will have a code object in the map's code cache which is not the current target. We recognize this case and use the code object that is in the cache instead of going megamorphic. Review URL: http://codereview.chromium.org/2928 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@331 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Sep, 2008 7 commits
-
-
kasperl@chromium.org authored
version 0.3.3. Review URL: http://codereview.chromium.org/3101 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@328 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Changed the formatting of the comment in the disassembler output to contain more information on code targets. Review URL: http://codereview.chromium.org/3099 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@327 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
The old arrangement meant that the alignment requirements of young space were likely to nullify ASLR. Review URL: http://codereview.chromium.org/2925 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@326 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
A change in the way heap was allocated meant that the initial heap size was sometimes not higher than the limit, which mean that the limit started having and effect and prevented V8 from booting up. Fixes http://code.google.com/p/v8/issues/detail?id=25 Review URL: http://codereview.chromium.org/2924 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@325 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: http://codereview.chromium.org/2923 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@324 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/3096 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@323 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
iposva@chromium.org authored
- Add better support for ignoring files in the presubmit tool. Review URL: http://codereview.chromium.org/3082 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@322 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Sep, 2008 7 commits
-
-
iposva@chromium.org authored
TBR=mark Review URL: http://codereview.chromium.org/2892 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@319 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
failure instead of clearing the cache. Clearing the cache makes us miss subsequent monomorphic prototype failures. Review URL: http://codereview.chromium.org/2889 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@318 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
down too. Also fix lint issue in codegen-arm.cc. Reviewed offline by Ivan (iposva@chromium.org). Review URL: http://codereview.chromium.org/3080 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@316 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
http://code.google.com/p/v8/issues/detail?id=69iposva@chromium.org authored
- Simplify the switch statement code generation. - Ensure that the switch value is always popped from the stack. Credit goes to Feng for isolating the issue and proposing a fix. Review URL: http://codereview.chromium.org/2888 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@315 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
macro. Review URL: http://codereview.chromium.org/3079 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@314 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
libraries are loaded lazily. Review URL: http://codereview.chromium.org/2885 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@313 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
of Array.prototype.push and Array.prototype.pop. Avoid going through the arguments adaptor trampoline for call ICs that end up calling a builtin that does not need arguments adaption. Review URL: http://codereview.chromium.org/2884 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@312 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Sep, 2008 5 commits
-
-
kasperl@chromium.org authored
arguments adaptor code to allow builtins to work without argument adaptor frames. Get rid of unused JavaScript implementation of call and apply and the associated code generation hooks. Review URL: http://codereview.chromium.org/2850 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@311 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Fast case for strings that are definitely not numbers. Review URL: http://codereview.chromium.org/2847 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@309 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
the use of fopen. Change use of fopen to OS::FOpen to get rid of warning. Review URL: http://codereview.chromium.org/2846 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@303 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
deanm@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@302 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
deanm@chromium.org authored
Move the Counters to structures that can be POD initialized, avoiding the need for static constructors on program startup. They were only default initializing and doing some unneeded string operations. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Sep, 2008 9 commits
-
-
iposva@chromium.org authored
- Added new compilation-cache.[cc|h] files. - Fixed log.cc to be able to build without ENABLE_LOGGING_AND_PROFILING defined. The next step is to mirror the xcconfigs in a separate change. Review URL: http://codereview.chromium.org/1948 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@300 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
deanm@chromium.org authored
The serialization system handles some flag parsing itself, which is a bad idea. For now, update the internal strings, since they will be underbar versions in the new flag system. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
deanm@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@298 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
deanm@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@297 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
deanm@chromium.org authored
This is a new static flag system, designed to have all flags in a central place, and compiled into the binary without requiring static constructors for registration. All flags are moved out of the specific modules and into flags.defs, with different sections for debug, release, etc. The flag variables are always defined. For example, a debug flag in release mode still exists, but is read only and set to the default value. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@296 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
should be marked explicit. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@295 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
stack, rather than explicitly saving and restoring it. Review URL: http://codereview.chromium.org/3002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@294 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
the same scheme as for gcc on Linux. Review URL: http://codereview.chromium.org/2424 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@292 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
iposva@chromium.org authored
TBR=nobody Review URL: http://codereview.chromium.org/3001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@291 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-