titzer@chromium.org
d67585f060
Implement first version of HFlowEngine, a framework for performing global flow-sensitive analyses.
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/25254002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17159 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-11 13:00:42 +00:00
verwaest@chromium.org
83a113482e
Add a slow stub for store ICs.
...
BUG=
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/26807003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17158 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-11 10:50:26 +00:00
mvstanton@chromium.org
faa0741bd6
Prepare push to trunk. Now working on version 3.22.11.
...
R=verwaest@chromium.org
BUG=
Review URL: https://codereview.chromium.org/26977003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17155 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-11 10:34:17 +00:00
mvstanton@chromium.org
71af6c86a1
Allow FastCloneShallowObjectStub to use AllocationMementos.
...
(currently turned off)
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/26827002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17154 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-11 09:25:14 +00:00
jochen@chromium.org
06f16a132c
Revert r17018 - "Turn on handle zapping for release builds"
...
BUG=none
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/26457002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17152 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-11 07:42:43 +00:00
bmeurer@chromium.org
2c631933d5
Load/Store cannot handle double representation.
...
Assert that the representation for Load/Store in the X64 MacroAssembler
is never Double. Also add missing test case for the Load/Store macros.
TEST=cctest/test-macro-assembler-x64
R=mvstanton@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=17135
Review URL: https://codereview.chromium.org/25990002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17151 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-11 07:12:06 +00:00
dslomov@chromium.org
12250f23d8
Add instruction factories to HHasInstanceTypeAndBranch.
...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/26859003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17150 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 20:01:42 +00:00
dslomov@chromium.org
0610773db7
Revert "Fixing timezone issues with date-time/parse-* tests."
...
This reverts commit r17148 for breaking tests on Windows.
TBR=cira@google.com ,titzer@chromium.org
Review URL: https://codereview.chromium.org/26467005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17149 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 19:43:05 +00:00
cira@chromium.org
2986f94c14
Fixing timezone issues with date-time/parse-* tests.
...
BUG=2919
TEST=All tests passing when local timezone was set to EST.
R=mnita@google.com , titzer@chromium.org
Review URL: https://codereview.chromium.org/25855005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17148 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 17:54:33 +00:00
olivf@chromium.org
4b6d0e33f2
Only set binary operation side effects flags, when observable.
...
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/26712002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17147 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 16:49:25 +00:00
yangguo@chromium.org
907f079d25
Handlify GetPropertyWithFailedAccessCheck.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/25732002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17146 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 15:38:52 +00:00
yangguo@chromium.org
995ea2bd82
Handlify JSObject::GetProperty????Interceptor.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/25669004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17145 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 15:27:02 +00:00
olivf@chromium.org
caeb19fa28
Fix potential deopt-loop introduced in r17143.
...
TBR=verwaest@chromium.org
BUG=
Review URL: https://codereview.chromium.org/26805004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17144 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 14:54:31 +00:00
olivf@chromium.org
1384cc0a3d
Fixing tagged binary operation input type feedback.
...
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/26710002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17143 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 13:32:00 +00:00
yurys@chromium.org
344d836d0f
Add column getter to CpuProfileNode
...
CpuProfileNode currently exposes only line number which is not enough for the cases when there is more than one function on the same line. This change exposes column number on CpuProfileNode.
BUG=302537
R=jkummerow@chromium.org , loislo@chromium.org
Review URL: https://codereview.chromium.org/25541003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17142 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 13:15:47 +00:00
ulan@chromium.org
f9fbe4fcfb
Enable weak embedded objects in optimized code with a fix for heap verifier.
...
BUG=v8:2073
R=mstarzinger@chromium.org
Review URL: https://chromiumcodereview.appspot.com/25702008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17141 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 13:14:37 +00:00
yurys@chromium.org
3228e953f9
Unflake cctest/test-cpu-profiler/JsNativeJsRuntimeJsSample on Win32 Debug
...
Profiler is now started from JavaScript. Since we always capture stack trace when starting profiler there should always be at least one expected sample in the profile.
Also changed ProfilerEventsProcessor::AddCurrentStack to make sure it call TickSample::Init to instead of custom initialization code.
BUG=v8:2920
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/25686011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17140 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 13:03:41 +00:00
rossberg@chromium.org
792dd705af
More precise type lub for numbers
...
R=jkummerow@chromium.org
BUG=v8:2910
Review URL: https://codereview.chromium.org/25722002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17139 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 12:30:06 +00:00
rossberg@chromium.org
3c01f30e3f
Revert "Load/Store cannot handle double representation."
...
This reverts r17135 -- test crashes on x64.
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/26653004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17138 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 12:28:52 +00:00
mstarzinger@chromium.org
63d8abb6c6
Unify and fix checkers for duplicate object literal properties.
...
R=ulan@chromium.org
TEST=preparser/duplicate-property,mjsunit/regress/regress-parse-object-literal
Review URL: https://codereview.chromium.org/26375004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17136 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 11:58:16 +00:00
bmeurer@chromium.org
ef8dc50e55
Load/Store cannot handle double representation.
...
Assert that the representation for Load/Store in the X64 MacroAssembler
is never Double. Also add missing test case for the Load/Store macros.
TEST=cctest/test-macro-assembler-x64
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/25990002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17135 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 11:42:00 +00:00
jkummerow@chromium.org
cf1257d2be
Add myself to a watchlist for the public API.
...
See https://groups.google.com/d/msg/v8-users/jq8k9s4xEu8/N-es0or3uz4J
BUG=none
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/26574009
Patch from Paweł Hajdan Jr. <phajdan.jr@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17134 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 11:37:48 +00:00
ulan@chromium.org
49b739dec2
Fix windows shared library build.
...
R=svenpanne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/26814002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17131 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 10:59:02 +00:00
olivf@chromium.org
49b5c77409
Only crosscompile binary op stubs if we compile a snapshot.
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/26266005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17130 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 10:37:18 +00:00
verwaest@chromium.org
5e25707540
Use the new introduced block's reachable flag.
...
BUG=
R=verwaest@chromium.org
Review URL: https://chromiumcodereview.appspot.com/26459002
Patch from Weiliang Lin <weiliang.lin2@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17129 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 09:35:35 +00:00
mvstanton@chromium.org
7f5f106b58
Prepare push to trunk. Now working on version 3.22.10.
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/26698003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17126 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 09:23:28 +00:00
mvstanton@chromium.org
59c8d36c00
Revert "Debug: Allow stepping into on a given call frame."
...
This reverts commit r17095.
There were test failures (flaky).
BUG=chromium:296963
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/26703009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17125 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 09:05:28 +00:00
titzer@chromium.org
5104731254
Simplify redundant phi elimination and use during canonicalization too.
...
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/25896006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17124 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 08:50:44 +00:00
olivf@chromium.org
256de3235f
Ensure only whitelisted stubs have sse2 versions in the snapshot.
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/26680002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17123 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 08:45:40 +00:00
mvstanton@chromium.org
fc95207750
Revert "Unify and fix checkers for duplicate object literal properties."
...
This reverts commit 12c68518bd2c74dc4e44d928c84c17f98ca63359.
(r17114)
R=mstarzinger@chromium.org
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/26732006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17122 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 08:45:19 +00:00
dslomov@chromium.org
380d0ca582
Implement ArrayBuffer.isView.
...
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/25700010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-10 08:36:44 +00:00
bmeurer@chromium.org
eace510108
Get rid of the HInstanceSize instruction.
...
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/25666006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17116 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 19:04:34 +00:00
mstarzinger@chromium.org
067a266426
Unify and fix checkers for duplicate object literal properties.
...
R=ulan@chromium.org
TEST=preparser/duplicate-property
Review URL: https://codereview.chromium.org/25755002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17114 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 16:58:01 +00:00
mstarzinger@chromium.org
3c8e87d840
Remove obsolete preparser binary.
...
R=danno@chromium.org
Review URL: https://codereview.chromium.org/25277003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17113 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 16:21:23 +00:00
jkummerow@chromium.org
66fb917684
Prepare push to trunk. Now working on version 3.22.9.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/25579003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17110 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 15:31:39 +00:00
jkummerow@chromium.org
1cc549747e
Fix shared_library build after r17107
...
R=rmcilroy@chromium.org
Review URL: https://codereview.chromium.org/26004003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17109 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 14:53:16 +00:00
jkummerow@chromium.org
7d819d713f
MIPS: Hydrogenisation of binops
...
Port r17104.
R=olivf@chromium.org
Review URL: https://codereview.chromium.org/26002002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17108 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 12:31:57 +00:00
jkummerow@chromium.org
07b15bdfc1
Explicitly include defaults.cc in the shared_library gyp target.
...
Explicitly include defaults.cc in the shared_library gyp target, otherwise
the whole compilation unit is stripped by the Windows linker, since none of it's
symbols are referenced by any other compilation unit in V8.
BUG=None
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/25994002
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17107 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 11:57:42 +00:00
olivf@chromium.org
7d456285d3
Calm down GCMole after r17104.
...
TBR=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/25409003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17106 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 11:25:30 +00:00
olivf@chromium.org
c566aed204
Bump code space size for cctest/DeserializeFromSecondSerialization.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/25996002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17105 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 11:11:50 +00:00
olivf@chromium.org
66c610398f
Reland "Hydrogenisation of binops"
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/25494007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17104 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 08:17:11 +00:00
ulan@chromium.org
f1dfb9072e
Disable weak embedded objects in optimized code because of failing test.
...
BUG=test/mjsunit/json.js fails
R=bmeurer@chromium.org
Review URL: https://chromiumcodereview.appspot.com/25982002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17103 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 07:50:36 +00:00
ulan@chromium.org
52c421956a
Make objects embedded in optimized code weak.
...
This introduces a global weak hash table that maps objects embedded in
optimized code to dependent code lists. Using this table we can deoptimize
optimized code whenever a weak object embedded in the code dies.
BUG=v8:2073
R=hpayer@chromium.org , mstarzinger@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23477061
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17102 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 07:25:24 +00:00
bmeurer@chromium.org
a9d8970bf6
Fix SmiMove unit test.
...
TEST=cctest/test-macro-assembler-x64.cc
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/25426006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17101 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 07:21:31 +00:00
bmeurer@chromium.org
42dc3faf9a
Add support to load/store byte fields.
...
This adds a new Byte representation and support for zero-extended
loads in HLoadNamedField and truncated stores in HStoreNamedField.
R=mvstanton@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=17079
Review URL: https://codereview.chromium.org/25696004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17100 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 07:13:43 +00:00
bmeurer@chromium.org
5e8c902991
Revert "Add support to load/store byte fields." and "MIPS: Add support to load/store byte fields.".
...
This reverts commit r17079 and r17085. Will reland after fix.
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/25679008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17099 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-04 05:47:35 +00:00
jkummerow@chromium.org
36072e610c
Prepare push to trunk. Now working on version 3.22.8.
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/25674012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17096 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-03 12:13:01 +00:00
yurys@chromium.org
ce61a704e3
Debug: Allow stepping into on a given call frame.
...
BUG=chromium:296963
R=yangguo@chromium.org , yurys
Review URL: https://codereview.chromium.org/25605005
Patch from Andrey Adaikin <aandrey@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-03 07:42:44 +00:00
haitao.feng@intel.com
66e53dc046
Use StackArgumenstAccessor and kPCOnStackSize/kFPOnStackSize to compute stack address/operand for X64
...
R=danno@chromium.org
Review URL: https://codereview.chromium.org/22267005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17094 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-03 01:22:25 +00:00
haitao.feng@intel.com
df37f91699
Use StackArgumentsAccessor for PropertyCallback and FunctionCallback for X64
...
R=danno@chromium.org
Review URL: https://codereview.chromium.org/25682002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-03 00:33:23 +00:00