- 29 Aug, 2011 8 commits
-
-
ricow@chromium.org authored
Review URL: http://codereview.chromium.org/7782002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9039 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Ported r9027 (e9a3514) BUG= TEST= Review URL: http://codereview.chromium.org/7736010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9038 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
TEST=compiles without warnings (esp. the shared-lib build with Visual Studio) Review URL: http://codereview.chromium.org/7745053 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9037 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Test regress-91013.js (to ensure that the stored value was returned) passed on mips without this fix, since the input value (in value_reg, a0) also happens to be in mips return value register v0 at the time of call. But it is fragile to depend on that behavior, so an explicit move from a0 to v0 is warranted. This fix puts that move in the delay slot of the Ret(). Patch by Paul Lind. BUG= TEST= Review URL: http://codereview.chromium.org/7779006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9035 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
In some cases the assert that the test function is not optimized fails because the function may be optimized already after the second invocation. (e.g. when running slow in debug mode) Review URL: http://codereview.chromium.org/7778009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9034 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7775007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9033 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Original code review: http://codereview.chromium.org/7777005/ Review URL: http://codereview.chromium.org/7778007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9032 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
After merging the new arguments branch, there is no need for this code anymore. TEST=all tests pass Review URL: http://codereview.chromium.org/7753030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9031 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Aug, 2011 10 commits
-
-
lrn@chromium.org authored
Changes GetGlobalReceiver() to GetDefaultReceiver(func) that returns undefined for strict and native functions, and the function's context's global proxy for "normal" functions. BUG=v8:1547 TEST=cctest/api-test/ForeignFunctionReceiver Review URL: http://codereview.chromium.org/7741042 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9030 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7741041 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9029 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
The debugger exposes all native script which might include duplicates having the same name. This is triggered by debug-script in stress mode on the gc branch. R=sgjesse@chromium.org BUG=v8:1641 TEST=mjsunit/debug-script Review URL: http://codereview.chromium.org/7740050 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9028 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
TEST=test/mjsunit/string-slices.js Review URL: http://codereview.chromium.org/7477045 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9027 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7740049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9026 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Review URL: http://codereview.chromium.org/7748018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9025 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG=v8:1275 Review URL: http://codereview.chromium.org/7740046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7745022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9023 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Due to heavy copy-n-paste, the handling of guard pages was inconsistent and we didn't uncommit exactly the region we previously committed. Furthermore, the LOG calls weren't consistent, either. Review URL: http://codereview.chromium.org/7744025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9021 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Original code review: http://codereview.chromium.org/7740018/ Review URL: http://codereview.chromium.org/7744050 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9020 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 Aug, 2011 7 commits
-
-
jkummerow@chromium.org authored
common.gypi now contains global target defaults and is included by all .gyp files; standalone.gypi contains definitions for stand-alone v8 builds. This fixes d8 for the ARM simulator. TEST=compiles and tests pass on all platforms Review URL: http://codereview.chromium.org/7740020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9019 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Now skips built-in functions called from other built-in functions, so only the initally called built-in function is exposed. Review URL: http://codereview.chromium.org/7740021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9018 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Two tiny refactorings: Removed a bit of copy-n-paste. Moved LargeObjectChunk::Free from header to implementation, it does a syscall, anyway. Review URL: http://codereview.chromium.org/7744023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9017 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
BUG=93759 Review URL: http://codereview.chromium.org/7701023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9016 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
1. Issue 7744014: MIPS: Fixed and optimized MacroAssembler::Trunc_uw_d, Cvt_d_uw, Ext, Ins. (http://codereview.chromium.org/7744014/) 2. Issue 7740019: MIPS: Fix for function argument access in non-strict mode. (http://codereview.chromium.org/7740019/) Review URL: http://codereview.chromium.org/7741016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9014 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Passing a value of type Executability to a function expecting a bool worked only by accident (because of the order of values in the enum). But using boolean parameters is often a bad idea, anyway, so we use Executability directly. Just another example why implicit type conversions in C++ are a bad idea... :-P Review URL: http://codereview.chromium.org/7753001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9013 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/7745017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9010 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Aug, 2011 3 commits
-
-
ricow@chromium.org authored
Review URL: http://codereview.chromium.org/7714033 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9007 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7701024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9006 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7717022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9005 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Aug, 2011 8 commits
-
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7710019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9003 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Also remove the requirement to have an AssertNoAllocation object when getting the flat content. We actually do allow allocation, it's just GC's we don't allow. Review URL: http://codereview.chromium.org/7710018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9001 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
from the constructor function. This works well for binding objects, and this matches DevTools' algorithm for name assignment. R=sgjesse@chromium.org BUG=none TEST=test-heap-profiler/GetConstructorName Review URL: http://codereview.chromium.org/7709026 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9000 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
The tag tells whether the content is ASCII or UC16, or even if the string wasn't flat. BUG: v8:1633 Review URL: http://codereview.chromium.org/7709024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8999 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
This is based on Peter Varga's work in http://codereview.chromium.org/7708004/ but with a different solution for the Operand(0) int/pointer ambiguity. Review URL: http://codereview.chromium.org/7706030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8998 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
This eliminate redundant HChange instructions and allows range information of converted values propagated across control-flow splits. It fixes the performance regression on code like: if (x > 1) { y = x - 1; } where we should eliminate the overflow check on the sub inside the if-statement. Review URL: http://codereview.chromium.org/7709025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8997 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG=v8:1537 TEST=cctest test-api/StringWrite Review URL: http://codereview.chromium.org/7706002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8996 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
This improves our static type information by calculating the result type of conversions (HChange) during range analysis. It allows e.g. to eliminate the write barrier in the following example where it was not possible before: function f(x) { var y = x + 1; if (y > 0 && y < 100) { a[0] = y; } } * Fix bug in Range::Copy. The minus-zero flags has to be preserved by default. Review URL: http://codereview.chromium.org/7634022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Aug, 2011 4 commits
-
-
vitalyr@chromium.org authored
Some AST nodes (Property, Call, etc.) store either a list of receiver types or a monomorphic receiver type. This patch merges the two fields using a small pointer list. GetMonomorphicReceiverType() is now a purely convenience function returning the first and only recorded type. This saves about 500K (of about 39M) on average when compiling V8 benchmark as measured by a simple patch adding a zone allocation counter (https://gist.github.com/1149397). R=kmillikin@chromium.org Review URL: http://codereview.chromium.org/7655017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8993 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: http://codereview.chromium.org/7685005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8992 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
r8833 introduced a regression in our API semantics, showing up in e.g. Chrome 12, which is fixed by this patch. Review URL: http://codereview.chromium.org/7686005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8987 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG=v8:1618 Review URL: http://codereview.chromium.org/7692020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8986 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-