- 08 Apr, 2012 1 commit
-
-
alexeif@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10007009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11247 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Apr, 2012 2 commits
-
-
yurys@chromium.org authored
TBR=mnaganov Review URL: https://chromiumcodereview.appspot.com/10012040 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11246 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
We can avoid putting all nodes into a hash map from HeapEntry to ID and sorting that map as the nodes are already stored in right order in HeapSnapshot::entries_ list. Review URL: https://chromiumcodereview.appspot.com/10012013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11245 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Apr, 2012 13 commits
-
-
mstarzinger@chromium.org authored
R=ulan@chromium.org TEST=cctest/test-heap/OptimizedAllocationAlwaysInNewSpace Review URL: https://chromiumcodereview.appspot.com/10010010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11244 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This is needed so that we can start removing write-barriers in optimized code if we can prove that the receiver object is always in new-space. TEST=cctest/test-heap/OptimizedAllocationAlwaysInNewSpace Review URL: https://chromiumcodereview.appspot.com/10008007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11243 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
This allows compilation of V8 using uClibc. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9702067 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Port r11010 (1daa81bc). MIPS-specific changes: -register codes and registers are defined using a macro to avoid redundancy -renamed s8_fp to fp, removed the "fp" alias -removed kSavedValueRegister (found by check-static-initializers.sh) Original commit message: Landing for pliard@chromium.org: Remove static initializers in v8. This change includes two CLs by pliard@chromium.org: 1. http://codereview.chromium.org/9447052/ (Add CallOnce() and simple LazyInstance implementation): Note that this implementation of LazyInstance does not handle global destructors (i.e. the lazy instances a This CL was initially reviewed on codereview.appspot.com: http://codereview.appspot.com/5687064/ 2. http://codereview.chromium.org/9455088/ (Remove static initializers in v8): This CL depends on CL 9447052 (adding CallOnce and LazyInstance). It is based on a patch sent by Digit. With this patch applied, we have only one static initializer left (in atomicops_internals_x86_gcc.cc). This This CL also modifies the presubmit script to check the number of static initializers. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9689069 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11241 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
The template system converts the actual struct type to an array of chars. Make sure the alignment is kept by the compiler. This fixes a lot of serialization-related HW tests, for example cctest test-serialize/Serialize. BUG= TEST=cctest test-serialize Review URL: https://chromiumcodereview.appspot.com/9702114 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11240 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
BUG=118686 Review URL: https://chromiumcodereview.appspot.com/9976003 Patch from Philippe Liard <pliard@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11239 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Also add additional stack check. R=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/10006010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11238 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
R=danno@chromium.org BUG=V8:2056 TEST=mjsunit/regress/regress-2056.js Review URL: https://chromiumcodereview.appspot.com/10006008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11237 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=mstarzinger@chromium.org TEST=win 64 not red anymore Review URL: https://chromiumcodereview.appspot.com/10008005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11236 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=danno@chromium.org BUG=chromium:118686 TEST=Run chrome with --single-process. Review URL: https://chromiumcodereview.appspot.com/9949008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11233 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
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 2 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
-