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
plind44@gmail.com
3a3c8e760e
MIPS: Fix test262 failures and x64 compile failure.
...
Port r17082 (fc909df)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/25560006
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17092 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 18:19:44 +00:00
olivf@chromium.org
24c2336d75
Inline some more compare operations.
...
BUG=
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/25009003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17091 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 18:15:57 +00:00
adamk@chromium.org
e5f2d0f7bd
Avoid allocations in Object.observe access check tests
...
BUG=v8:2907
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/24999007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17090 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 18:06:20 +00:00
verwaest@chromium.org
7f6270dbf2
Don't use StubType to probe the code caches.
...
There is only one stub-type in the cache at all times. By ignoring the type up-front, we can in a later phase move cache probing before even computing the type.
BUG=
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/25520003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17089 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 17:23:30 +00:00
verwaest@chromium.org
2c5d0d825e
Use PatchCache for call ICs.
...
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/25464004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17088 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 17:20:58 +00:00
verwaest@chromium.org
8feab2edc7
Cleanup map deprecation handling in the ICs
...
R=ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/25529002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17087 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 17:18:13 +00:00
verwaest@chromium.org
41f660fe07
Rename ComputeLoadStoreField to just handle ComputeStoreField.
...
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/25683005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17086 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 17:17:00 +00:00
plind44@gmail.com
6c8e9df239
MIPS: Add support to load/store byte fields.
...
Port r17079 (0885ac2)
Original commit message:
This adds a new Byte representation and support for zero-extended
loads in HLoadNamedField and truncated stores in HStoreNamedField.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/25460003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17085 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 17:16:27 +00:00
plind44@gmail.com
1db15f849d
MIPS: Improve and simplify removal of unreachable code.
...
Port r17073 (ba68149)
Original commit message:
- Detect unreachable basic blocks of code either following an unconditional deopt or after a provably untaken branch of HBranch or HCompareObjectEqAndBranch instructions.
- Emit dummy uses in unreachable blocks during Hydrogen -> Lithium translation.
BUG=chromium:258519
R=mstarzinger@chromium.org , plind44@gmail.com
Review URL: https://codereview.chromium.org/25708004
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17084 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-02 16:58:37 +00:00