- 20 Feb, 2012 12 commits
-
-
rossberg@chromium.org authored
* Turned all uses of 'const' into 'var'. * Turned all uses of local 'function' into 'var'. * Added a couple of missing toplevel 'var' declarations. One consequence is that the properties on the builtin object are no longer non-writable, and I had to adapt one test. Is that a problem? Unfortunately, we cannot actually switch the library scripts to strict mode by default, because that makes observable things like poisoned .caller properties for library functions. Also removed dead flag code in Compiler::Compile. R=yangguo@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9415010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10758 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9423041 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10757 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
R=yangguo@chromium.org Review URL: https://chromiumcodereview.appspot.com/9427011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10756 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/9372021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10755 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=ulan@chromium.org Review URL: https://chromiumcodereview.appspot.com/9427010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10754 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Hidden behind --type-info-threshold=X flag, usage dependent on experimental profiler. Review URL: https://chromiumcodereview.appspot.com/9403009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10753 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
R=yangguo@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9424032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10752 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
BUG=v8:1960 TEST=compile with GYPFLAGS=-Dv8_compress_snapshot_data=bz2, then run d8 with valgrind Review URL: https://chromiumcodereview.appspot.com/9395073 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10751 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Function calls that may return a failure must use the result. Enforce this by adding missing MUST_USE_RESULT to their declarations. Review URL: https://chromiumcodereview.appspot.com/9421032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10748 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=rossberg@chromium.org TEST=mozilla,sputnik Review URL: https://chromiumcodereview.appspot.com/9421031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10747 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
To test the upcoming changes for map sharing in the presence of accessors, it is essential that we keep a few global invariants: The map tree should always stay a tree and AccessorPairs should not be shared between different DescriptorArrays and/or StringDictionaries. This CL adds a test method for the latter invariant and makes some changes to the bootstrapping process to avoid such sharing. Note that we can't enable the new test method permanently yet, because we currently go back and forth between fast mode and slow mode when adding an accessor and break this invariant temporarily. This will be handled in a separate CL. Review URL: https://chromiumcodereview.appspot.com/9417043 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10744 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=rossberg@chromium.org TEST=test262/S15.5.4.14_A?_T? Review URL: https://chromiumcodereview.appspot.com/9355005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10743 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Feb, 2012 6 commits
-
-
fschneider@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/9416058 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10742 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
The checks were at the wrong abstraction level, JSObject is the right place for this check. Note that other uses of ValueAtPut either don't need a check at all (like the one used for copying boilerplate) or do the check for themselves. Review URL: https://chromiumcodereview.appspot.com/9417044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10741 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=rossberg@chromium.org TEST=test262 Review URL: https://chromiumcodereview.appspot.com/9415046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10740 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ulan@chromium.org authored
and fix Clang C++11 compile error. Review URL: https://chromiumcodereview.appspot.com/9420049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10739 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Detect those methods by reference to StateTag::EXTERNAL in their bodies. R=fschneider@google.com Review URL: https://chromiumcodereview.appspot.com/9420046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10738 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=rossberg@chromium.org BUG=v8:1790 TEST=mjsunit/regress/regress-1790,test262/15.4.4.22-9-9 Review URL: https://chromiumcodereview.appspot.com/9419044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10737 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Feb, 2012 15 commits
-
-
mstarzinger@chromium.org authored
This extends the current support for nested object literals we already have in Crankshaft, to also support nested array literals and mixed nested literals containing arrays and objects. All three types are generated by the unified HFastLiteral instruction. All previous upper bounds on nested literal graphs remain unchanged, keeping the size of generated code in check. The main intention is to boost performance of two-dimensional array literals containing constant elements (aka. matrices). R=danno@chromium.org TEST=mjsunit/compiler/literals-optimized Review URL: https://chromiumcodereview.appspot.com/9403018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10734 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
TBR=fschneider@chromium.org BUG=v8:1322 Review URL: https://chromiumcodereview.appspot.com/9417013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10733 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/9414007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10732 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Ensure that GVN eliminates all transitions that are dominated by an equivalent transition, even if there is a DependsOn-changing instruction in between. R=fschneider@chromium.org Review URL: https://chromiumcodereview.appspot.com/9365057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10731 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
R=jkummerow@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9416016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10728 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
BUG=v8:1952 Review URL: https://chromiumcodereview.appspot.com/9414006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10727 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Based on r9686 (10e1ea5). BUG= TEST=mozilla regress-355497.js Review URL: https://chromiumcodereview.appspot.com/9309030 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=fschneider@chromium.org BUG=v8:1322 TEST=mjsunit/compiler/inline-literals Review URL: https://chromiumcodereview.appspot.com/9419005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Port r10699 (18a0fc0). Original commit message: (behind FLAG_count_based_interrupts; only on ia32) BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9420005 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG=v8:1945 TEST=regress-1945.js Review URL: https://chromiumcodereview.appspot.com/9418005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
TBR=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/9419003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10718 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
This method works around the Branch offset and relocinfo issues by emulating a pc-relative jump. This allows us to generate larger entry tables. The theoretical limit is 2^16 (number of entries) but even that can be extended by allowing a larger instruction count. Also reverted the mips-specific constant (kNumberOfEntries) in deoptimizer.h BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9347016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10717 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
which were introduced in r10700. Review URL: https://chromiumcodereview.appspot.com/9401005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10716 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
TBR=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/9417002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10715 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Previous behavior diverged in ICs and Crankshaft. When storing to a Float32Array or Float64Array, the ICs treated undefined as zero while Crankshaft treated it as NaN. Now both ICs and Crankshaft treat it as NaN, which is consistent with the WebGL & ECMAScript spec. R=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/9402008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10714 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Feb, 2012 4 commits
-
-
mstarzinger@chromium.org authored
R=ulan@chromium.org TEST=cctest/test-api/IdleNotification Review URL: https://chromiumcodereview.appspot.com/9403014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG=v8:1878 TEST=regress-1878.js Review URL: https://chromiumcodereview.appspot.com/9402009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG= TEST=--smi-only-arrays should be perf-neutral to allocating big arrays in a tight loop. Review URL: https://chromiumcodereview.appspot.com/9356002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9307118 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10710 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Feb, 2012 3 commits
-
-
rossberg@chromium.org authored
Port r10662 (c8054f6). Original commit message: Turns Declaration into an abstract class, and introduces VariableDeclaration as a concrete subclass. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9395015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
TEST=buildbot redness gone Review URL: https://chromiumcodereview.appspot.com/9360043 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10708 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Port r10673 (18d3af5). Original commit message: Supports growing non-COW JSArray by a single element if the backing store has room, and initial allocation of a backing store for the store to index zero of an empty array to kPreallocatedArrayElements elements (e.g. the [] array literal). BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9378005 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10707 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-