- 15 Apr, 2011 15 commits
-
-
vitalyr@chromium.org authored
ThreadLocalTop used to be static and was zero initialized by the linker. With isolates we have to give it a constructor. BUG=http://crbug.com/79393 Review URL: http://codereview.chromium.org/6862005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
cira@chromium.org authored
Bug occured somewhere in the merge process. Review URL: http://codereview.chromium.org/6875013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7634 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Corresponding Chromium issue: http://code.google.com/p/chromium/issues/detail?id=74412 Review URL: http://codereview.chromium.org/6875005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7633 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/6793016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Use movapd instead of movsd to move between xmm registers. Avoids partial register writes and potential stalls. Use xorps instead of xorpd to zero a register. Same effect and latency, but one byte smaller. Review URL: http://codereview.chromium.org/6873006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7631 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Clean up the use of js2c. We generated two identical files. R=sgjesse@chromium.org,rossberg@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6865013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7630 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/6875002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7629 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Encapsulate the helper functions in mjsunit.js. Now only exposes the exception class and the assertXXX functions. Make assertEquals use === instead of ==. This prevents a lot of possiblefalse positives in tests, and avoids having to do assertTrue(expected === actual) when you need it. Fixed some tests that were either buggy or assuming == test. Review URL: http://codereview.chromium.org/6869007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7628 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
karlklose@chromium.org authored
This patch provides testing for values that have a fraction part of 0.5 and uses a different rounding method for them. The original method of VFPTruncating the value with round-to-nearest is not correct because it does not round to the larger number in case of a tie. BUG=http://code.google.com/p/v8/issues/detail?id=958 Review URL: http://codereview.chromium.org/6840051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7627 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Buildbot now has python 2.6 Also, remove some semicolons. Review URL: http://codereview.chromium.org/6871007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Review URL: http://codereview.chromium.org/6869006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Original code review: http://codereview.chromium.org/6838018/ TBR=ager@chromium.org Review URL: http://codereview.chromium.org/6869005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7624 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
The full code generator does not generate inline code for property loads and stores. All this code is unused with Crankshaft. Review URL: http://codereview.chromium.org/6850015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7623 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
o The type recording binary stub got a new type for string + string. o Added HStringAdd and LStringAdd based on the new type info. o Started using HValue types to avoid unneccesary checks. Review URL: http://codereview.chromium.org/6852015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
Review URL: http://codereview.chromium.org/6850031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7621 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Apr, 2011 7 commits
-
-
cira@chromium.org authored
This is a partial implementation of Collator per what's agreed upon at the last ECMAScript meeting + mailing list. Only the following three options are implemented: ignoreAccent, ignoreCase, numeric. ChromeOS and Chrome need this feature for M12. This could be added as chrome extension API. Giiven that we have a rough agreement on the collation part of ECMAScript API, we thought it'd save us some duplicated work adding this to v8 (experimental i18n api) now rather than implementing it in Chrome now and moving it later. BUG=28604 TEST=http://i18nl10n.com/chrome/coll2.html Review URL: http://codereview.chromium.org/6673011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Not used in Crankshaft anymore. Review URL: http://codereview.chromium.org/6849023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7619 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
karlklose@chromium.org authored
Review URL: http://codereview.chromium.org/6851015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7617 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
For instructions that are marked as calls we can use: 1. Fixed input registers 2. Use-at-start policy (register, memory or constant). (Memory or constant would not need the use-at-start policy, but not specifying use-at-start prevents the allocator from using a register even if there is one available. That's why use-at-start is required and guarded by assertion) Review URL: http://codereview.chromium.org/6853010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7616 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
TEST=mjsunit/math-floor Review URL: http://codereview.chromium.org/6835021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7613 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
BUG=http://crbug.com/77725 Review URL: http://codereview.chromium.org/6837028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7612 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
karlklose@chromium.org authored
Review URL: http://codereview.chromium.org/6720014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7611 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Apr, 2011 12 commits
-
-
cira@chromium.org authored
Review URL: http://codereview.chromium.org/6837034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7609 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
cira@chromium.org authored
Moving locale code from i18n-extension.cc. Each part of the API now has separate cc file, and only extension related code is left in i18n-extension.{cc,h}. There are no functional changes in this CL. Review URL: http://codereview.chromium.org/6840024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7608 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/6840013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7606 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
After Kevin's change to the graph builder to allow aborting graph construction inside arbitrary expressions this just works. BUG=v8:1143 Review URL: http://codereview.chromium.org/6839017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7605 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
When inlining a polymorphic variant, the inlined function indicates we should bailout of the entire compilation by setting the stack overflow flag on the visitor. We need to check this flag and bailout if a call to TryInline succeeds and it is not in tail position in a graph builder function. R=fschneider@chromium.org Review URL: http://codereview.chromium.org/6840012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7604 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
The type recording binary operations stub contained a number of issues which broke V8 when running without VFPv3 supoort. 1. The order of the high/low words of doubles in core register pairs where wrong 2. Missing allocation of a heap number for the result 3. Missing call to runtime Added the option for printing the double values in register pairs to the simulator. R=karlklose@chromium.org BUG=v8:1315 TEST= Review URL: http://codereview.chromium.org//6834020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7603 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
TBR=fschneider@chromium.org Review URL: http://codereview.chromium.org/6837020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7602 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
Previously we assumed that control was always live after visiting an expression, and that control was live to both basic block targets of an expression in a test context. Now we allow any expression to exit the graph. R=fschneider@chromium.org,danno@chromium.org Review URL: http://codereview.chromium.org/6839015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7601 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/6838012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Make math-round.js test check both normal and optimized version. Add some cases to the tests. BUG=v8:958 TEST=mjsunit/math-round Review URL: http://codereview.chromium.org/6837018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7599 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/6833021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7595 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
karlklose@chromium.org authored
The changes caused mozilla date test failures on ARM. TBR=ager Review URL: http://codereview.chromium.org/6833020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7594 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Apr, 2011 6 commits
-
-
vitalyr@chromium.org authored
Whether it's enabled or not must not change while we're running. Let's not waste time recomputing it. This also makes the VM state tracking code slightly more lightweight. Review URL: http://codereview.chromium.org/6825054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7593 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
Review URL: http://codereview.chromium.org/6813091 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7592 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
cira@chromium.org authored
tools/js2c.py script. Added new type I18N to natives.h enum. Review URL: http://codereview.chromium.org/6825049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7591 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
BUG=1323 TEST=mjsunit/regress/regress-1323.js, run with simulator=arm Review URL: http://codereview.chromium.org/6822054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7590 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Uses a shorter opcode for movl and movb with immediates. Make movl preferable to movq in Set(register, int64_t) and use Set in more places. Review URL: http://codereview.chromium.org/6824074 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
R=karl.klose@chromium.org BUG=v8:1075 TEST= Review URL: http://codereview.chromium.org//6825073 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7588 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-