- 05 Apr, 2012 3 commits
-
-
danno@chromium.org authored
TBR=ulan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10006006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11232 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=ulan@chromium.org BUG=v8:2056 TEST=test/mjsunit/regress/regress-2056.js Review URL: https://chromiumcodereview.appspot.com/10006004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11231 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
The two tests (S8.5_A2.1, S8.5_A2.2) fail on ia32 Linux and simulators. They do pass on ARM and MIPS hardware under Linux, and on the other supported platforms and architectures. They are now marked PASS || FAIL_OK. BUG= TEST=test262/S8.5_A2.1, test262/S8.5_A2.2 Review URL: https://chromiumcodereview.appspot.com/9959146 Patch from Paul Lind <plind44@gmail.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11230 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Apr, 2012 5 commits
-
-
mstarzinger@chromium.org authored
BUG=none TEST=cctest/test-strings/AsciiArrayJoin Review URL: https://chromiumcodereview.appspot.com/9963104 Patch from Martyn Capewell <m.m.capewell@googlemail.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11229 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
TBR=mnaganov Review URL: https://chromiumcodereview.appspot.com/9961008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11226 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=ulan@chromium.org,pliard@chromium.org BUG=ui_tests don't crash in Chrome Review URL: https://chromiumcodereview.appspot.com/9979003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11225 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
Now we can correctly optimize top level code that contains a throw (or return) as it's last statement. R=ulan@chromium.org BUG=v8:2054 TEST=mjsunit/regress/regress-2054 Review URL: https://chromiumcodereview.appspot.com/9969146 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11224 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/9950146 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11223 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Apr, 2012 8 commits
-
-
ulan@chromium.org authored
R=mstarzinger@chromium.org BUG=117767,V8:1902 TEST=test/cctest/test-heap/ResetSharedFunctionInfoCountersDuringIncrementalMarking Review URL: https://chromiumcodereview.appspot.com/9903019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11222 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
Array literal boilerplate objects can be transitioned while existing un-transitioned clones are still being populated. This adds a check that prevents us from performing the same transition twice. R=danno@chromium.org BUG=v8:2055 TEST=mjsunit/regress/regress-2055 Review URL: https://chromiumcodereview.appspot.com/9950095 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11221 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=mstarzinger@chromium.org BUG=chromium:119429 Review URL: https://chromiumcodereview.appspot.com/9963108 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11220 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=ager@chromium.org, sgjesse@chromium.org BUG=chromium:119429 TEST= test/mjsunit/regress/regress-119429.js Review URL: https://chromiumcodereview.appspot.com/9965101 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11219 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
strings with a small alphabet. We already have code that handles these regexps well, we were just not always activating it. Review URL: https://chromiumcodereview.appspot.com/9959096 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11218 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
The test case failed to stop the preemption thread before destroying the isolate which led to a race condition where the isolate was accessed after it had been destroyed. R=ulan@chromium.org BUG=v8:2049 TEST=cctest/test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate Review URL: https://chromiumcodereview.appspot.com/9969092 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11217 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=mstarzinger@chromium.org BUG=chromium:121407 TEST=test/mjsunit/regress/regress-121407.js Review URL: https://chromiumcodereview.appspot.com/9968056 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11214 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
R=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/9965054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11213 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Apr, 2012 9 commits
-
-
danno@chromium.org authored
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9950015 Patch from Rodolph Perfetta <rodolph.perfetta@gmail.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11212 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/9969051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11209 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
BUG=121147 TEST=chromium gpu_tests/WebGLConformanceTests Review URL: https://chromiumcodereview.appspot.com/9956060 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11208 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/9963051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11207 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
MIPS: RegExp: Add support for table-based character class code generation. This is a commit of http://codereview.chromium.org/9968032/ for Daniel Kalmar git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11206 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
R=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/9958062 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11205 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erikcorry authored
regexp can match by using a Boyer-Moore-like table. This is done by identifying non-greedy non-capturing loops in the nodes that eat any character one at a time. For example in the middle of the regexp /foo[\s\S]*?bar/ we find such a loop. There is also such a loop implicitly inserted at the start of any non-anchored regexp. When we have found such a loop we look ahead in the nodes to find the set of characters that can come at given distances. For example for the regexp /.?foo/ we know that there are at least 3 characters ahead of us, and the sets of characters that can occur are [any, [f, o], [o]]. We find a range in the lookahead info where the set of characters is reasonably constrained. In our example this is from index 1 to 2 (0 is not constrained). We can now look 3 characters ahead and if we don't find one of [f, o] (the union of [f, o] and [o]) then we can skip forwards by the range size (in this case 2). For Unicode input strings we do the same, but modulo 128. We also look at the first string fed to the regexp and use that to get a hint of the character frequencies in the inputs. This affects the assessment of whether the set of characters is 'reasonably constrained'. We still have the old lookahead mechanism, which uses a wide load of multiple characters followed by a mask and compare to determine whether a match is possible at this point. Review URL: http://codereview.chromium.org/9965010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11204 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
http://codereview.chromium.org/9179012 was trying to achieve. This time I am going for 80% of the benefit with around 5% of the complexity. It works by reducing the size of the first page in each space. Unlike the previous change there is no attempt to grow pages, we just allocate more full-sized pages when we need more memory. For this reason the first pages are not quite as small (compare http://codereview.chromium.org/9179012/diff/1/src/snapshot.h with the changes in spaces.cc in this cl): We want to be able to do a little bit of allocation before we have to add a full-sized page to the space. Review URL: https://chromiumcodereview.appspot.com/9950048 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11203 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
The [[Extensible]] property prevented the very first hidden property from being added. If any hidden property was added to the object before preventing extension, adding subsequent hidden properties would have succeed however. R=svenpanne@chromium.org BUG=v8:2034 TEST=mjsunit/regress/regress-2034 Review URL: https://chromiumcodereview.appspot.com/9844025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11202 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Mar, 2012 8 commits
-
-
danno@chromium.org authored
This also fixes a style issue in lazy-instance.h. Review URL: https://chromiumcodereview.appspot.com/9960006 Patch from Philippe Liard <pliard@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11201 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Note that in order to build for 64bits mode, you'll have to specify the target architecture explicitely, the default is still 32bits for Mac OS X. Example with make and gcc: $ export GYP_GENERATORS=make $ make dependencies $ make -j 8 library=shared x64.release Example with make and clang: $ export GYP_GENERATORS=make $ export CC=/usr/bin/clang $ export CXX=/usr/bin/clang++ $ export GYP_DEFINES="clang=1" $ make dependencies $ make -j 8 library=shared x64.release Example with xcode: $ export GYP_GENERATORS=xcode $ build/gyp_v8 -Dtarget_arch=x64 $ xcodebuild -project build/all.xcodeproj -configuration Release Contributed by Filipe David Manana <fdmanana@gmail.com> BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9808065 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11199 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
This CL: - Adds a new trait parameter to LazyInstance to let it initialize the instance without paying the cost of atomic operations (which are expensive on Mac). This only works for users who don't care about thread-safety and this is now the default initialization trait used by LazyInstance in v8. - Reverts the changes that were made in r11010 in isolate.{cc,h}. That lets Isolate's accessors be as cheap as they were before (but adds one static initializer). - Adds OS::PostSetup() used to initialize the math functions which depend on CPU features. That lets the math functions get rid of CallOnce(). BUG=118686 Review URL: https://chromiumcodereview.appspot.com/9873023 Patch from Philippe Liard <pliard@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11198 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=jkummerow@chromium.org TEST=shell_g doesn't crash Review URL: https://chromiumcodereview.appspot.com/9959014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11195 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Lithium translation rebuilds hydrogen environments from scratch so we have to ensure that arguments object is correctly bound on function entry otherwise deoptimization will not materialize it. This fix was implemented as part of r11109 and then reverted. R=danno@chromium.org BUG=v8:2045 TEST=test/mjsunit/regress/regress-2045.js Review URL: https://chromiumcodereview.appspot.com/9963008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11194 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/9966002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11191 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/9963006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11190 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
code generation. This is performance neutral for all our tests, but a factor 6 faster for the Unicode based regexp in the new test (and much more compact code). Review URL: https://chromiumcodereview.appspot.com/9854020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11189 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Mar, 2012 6 commits
-
-
loislo@chromium.org authored
BUG=none TEST=none TBR=mnaganov Review URL: https://chromiumcodereview.appspot.com/9921014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11188 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
As the result the test is flaky. BUG=v8/2042 TEST=HeapEntryIdsAndGC R=mnaganov Review URL: https://chromiumcodereview.appspot.com/9918005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11187 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
R=jkummerow@chromium.org BUG=v8:2039 Review URL: https://chromiumcodereview.appspot.com/9903015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11186 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
TEST=no more warning "Missing input file tools\gyp\..\..\src\src\list-inl.h" Review URL: https://chromiumcodereview.appspot.com/9924006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11185 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
This fixes 4 leaks, returning 196 bytes of lost memory. Review URL: https://chromiumcodereview.appspot.com/9864034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11184 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/9844015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11181 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Mar, 2012 1 commit
-
-
mstarzinger@chromium.org authored
R=svenpanne@chromium.org BUG=chromium:12009 TEST=mjsunit/regress/regress-120099 Review URL: https://chromiumcodereview.appspot.com/9873027 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11180 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-