- 13 Apr, 2012 15 commits
-
-
fschneider@chromium.org authored
Port r11282 (bd2ab07). Patch by Daniel Kalmar. Original commit message: Some GWT compiled code results in array access that has a heap number (e.g. -0) as an index. Until now this would result in a generic IC. For example: a[-0] === a[0] or a[0.25 * 4] === a[1] This change detects heap numbers that are representable as a smi and converts them. As a result we can still use the fast keyed monomorphic ICs. Optimized code already handles keyed access with a double-key efficiently. As a result the frame rate on the reported benchmark improves by roughly 2x. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10068012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11318 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alexeif@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10037004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11315 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
MIPS: Implement CheckNotCharacterAfterMinusAnd. This is a commit of http://codereview.chromium.org/9721011/ for Daniel Kalmar git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11314 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/10079004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11313 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
added more tests. Review URL: https://chromiumcodereview.appspot.com/10008104 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11312 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Provide empty default implementation of OutputStream::WriteUint32Chunk to make Webkit V8 bindings compile Review URL: https://chromiumcodereview.appspot.com/10084001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11311 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/10038046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11308 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/10071039 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11307 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This passes the isolate through to API callback functions so that it is available through AccessorInfo and Arguments. This allows bindings to avoid unnecessary TLS lookups to retrieve the current isolate. R=danno@chromium.org TEST=cctest/test-api,cctest/test-accessors Review URL: https://chromiumcodereview.appspot.com/10069050 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11306 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Although things are currently OK here, in the future it won't be enough to check for the existence of a CALLBACKS result, we must additionally check that it actually contains an accessor. In a nutshell: 'sed s/IsFound/IsProperty/' once again... Additionally, the control flow in DefinePropertyAccessor has been simplified by using a helper function. Review URL: https://chromiumcodereview.appspot.com/10071009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11305 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
warning: base class 'class v8::OutputStream' should be explicitly initialized in the copy constructor BUG=none TEST=none TBR=mnaganov Review URL: https://chromiumcodereview.appspot.com/10038044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11304 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
This fixes alignment issues on MIPS HW, found for example in mjsunit external-array. The issue originates from r11144 (86563c3e21) which adds a 4-byte header to these arrays. This causes problems on MIPS, where certain pointers need to be 8-byte aligned. BUG= TEST=mjsunit/external-array Review URL: https://chromiumcodereview.appspot.com/9956049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11303 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
The idea is to monitor the heap regulary and track each object in the heap. With this data we will be able do draw heap usage diagram. Where X is time and Y is the number of objects. BUG=none TEST=HeapSnapshotObjectsStats Review URL: https://chromiumcodereview.appspot.com/10049002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11302 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10067032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
BUG=v8:1744, v8:539 Review URL: https://chromiumcodereview.appspot.com/10008082 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11300 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Apr, 2012 8 commits
-
-
vegorov@chromium.org authored
TBR=kmillikin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10067017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
R=kmillikin@chromium.org BUG=chromium:119609 TEST=test/mjsunit/regress/regress-119609.js Review URL: https://chromiumcodereview.appspot.com/10010046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11298 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
R=danno@chromium.org BUG=122271 TEST=mjsunit/regress/regress-crbug-122271 Review URL: https://chromiumcodereview.appspot.com/10038010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11286 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erikcorry authored
case. Review URL: http://codereview.chromium.org/10068010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11285 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This makes the test-alloc test case more robust against changes to the initial heap size. It correctly simulates a full space now instead of trying to fill the space up by allocating filler objects. R=svenpanne@chromium.org TEST=cctest/test-alloc Review URL: https://chromiumcodereview.appspot.com/10071003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11284 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
to the MIPS FPU even when cross-building the snapshot. This is based on code from Daniel Kalmar from http://codereview.chromium.org/9910029/ Review URL: https://chromiumcodereview.appspot.com/10068006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11283 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Some GWT compiled code results in array access that has a heap number (e.g. -0) as an index. Until now this would result in a generic IC. For example: a[-0] === a[0] or a[0.25 * 4] === a[1] This change detects heap numbers that are representable as a smi and converts them. As a result we can still use the fast keyed monomorphic ICs. Optimized code already handles keyed access with a double-key efficiently. As a result the frame rate on the reported benchmark improves by roughly 2x. BUG=v8:1388,v8:1295 Review URL: https://chromiumcodereview.appspot.com/9837109 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11282 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Port regexp microoptimizations to MIPS. Also fix some formatting. This includes http://codereview.chromium.org/9965107/ from Daniel Kalmar git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11281 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Apr, 2012 12 commits
-
-
mstarzinger@chromium.org authored
TBR=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/9969156 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11280 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This fixes processing of WeakMaps so that keys on evacuation candidates which are also reachable by other strong paths are correctly recorded in the slots buffer. Also backing stores that reside in the large-object-space now use the correct anchor slot. R=vegorov@chromium.org BUG=v8:2060 TEST=cctest/test-weakmaps/Regress2060b Review URL: https://chromiumcodereview.appspot.com/10034018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11279 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
- if value is a result of integer32 to double conversion (can't be NaN); - if value was loaded from fast double backing store (already canonicalized). R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/10054009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erikcorry authored
Review URL: http://codereview.chromium.org/10050013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11275 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
When pushing arguments use correct initial values instead of fetching them from the environment which can be modified. R=fschneider@chromium.org TEST=test/mjsunit/compiler/inline-arguments.js Review URL: https://chromiumcodereview.appspot.com/10033028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11274 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/10053011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This change allows hydrogen instructions to keep track of instructions that dominate certain side-effects (GVN flags) in the hydrogen graph. We use the GVN pass to keep track of side-effects because accurate flags are already in place. It also adds a new side-effect (kChangesNewSpacePromotion) indicating whether an instruction can cause a GC and have objects be promoted to old-space. An object allocated in new-space is sure to stay on paths not having said side-effect. R=erik.corry@gmail.com TEST=mjsunit/compiler/inline-construct Review URL: https://chromiumcodereview.appspot.com/10031031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11270 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/10034014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11269 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/10053009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11268 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
64 bit architectures. Review URL: https://chromiumcodereview.appspot.com/10020032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11265 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This fixes processing of WeakMaps so that value entries on an evacuation candidate are correctly recorded in the slots buffer. We didn't pass the correct slot into the backing hashtable while visiting values. Also the live bytes counter for large object space pages was not reset correctly when incremental marking is aborted. R=vegorov@chromium.org BUG=v8:2060 TEST=cctest/test-weakmaps/Regress2060 Review URL: https://chromiumcodereview.appspot.com/10034010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11264 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
This will give us the ability to keep entries_ list sorted by id. And based on that fact we will be able to use it for: 1) GetNodeById method and drop sorted version of entries list in HeapSnapshot; 2) building heap stats; 3) doing the fill stage instead of second iteration over heap. BUG=none TEST=none R=yurys Review URL: https://chromiumcodereview.appspot.com/10031032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11259 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Apr, 2012 5 commits
-
-
vegorov@chromium.org authored
Environment structure for such calls is different from normal global calls. R=fschneider@chromium.org BUG=chromium:122681 Review URL: https://chromiumcodereview.appspot.com/10024060 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11256 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
We use fstp(0) already in other places. ffree does not pop the stack, but only marks a FP register as empty. BUG=v8:2065 Review URL: https://chromiumcodereview.appspot.com/9960066 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11255 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10006032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11252 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
The heap profile generator assumes that for named function expressions, the name is context allocated. This is not necessary true. BUG=v8:2051 TEST=WebKit layout test inspector/profiler/heap-snapshot-inspect-dom-wrapper.html Review URL: https://chromiumcodereview.appspot.com/9960065 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11251 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10024057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11250 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-