machenbach@chromium.org
d57edf3176
Prepare push to trunk. Now working on version 3.24.15.
...
R=rossberg@chromium.org
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/133773003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18539 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 14:15:34 +00:00
jkummerow@chromium.org
9fdee384c3
Add more temporary debugging output to PRESUBMIT.py
...
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/133863002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18538 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 13:48:43 +00:00
ishell@chromium.org
d1453bc92a
Check elimination enabled.
...
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/132143010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18537 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 13:28:26 +00:00
rossberg@chromium.org
94617aa9bb
Work around VS template problem
...
R=machenbach@chromium.org
BUG=
Review URL: https://codereview.chromium.org/133533005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18534 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 12:55:02 +00:00
rossberg@chromium.org
cb28b7f837
Retry "Templatise type representation" after making clang happy
...
The only thing different now is line types.h:208/236, which had a static_cast<Type*> before.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/133683002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18533 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 12:19:01 +00:00
hpayer@chromium.org
4ef951cf43
Allocation site pretenuring.
...
Pretenuring decisions are made based on allocation site lifetime statistics.
BUG=
R=mstarzinger@chromium.org , mvstanton@chromium.org
Review URL: https://codereview.chromium.org/96783002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18532 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 12:11:54 +00:00
bmeurer@chromium.org
967d6499d2
Revert "Temporarily disable performance.now() in the d8 shell."
...
This reverts commit r18529.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/133523003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18531 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 12:07:29 +00:00
bmeurer@chromium.org
1b1c27d916
Temporarily disable performance.now() in the d8 shell.
...
Review URL: https://codereview.chromium.org/133663002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18529 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 11:17:57 +00:00
machenbach@chromium.org
6d2ff2f8d5
Add debug output to presubmit script for investigating tree check behavior.
...
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/133603002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18528 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 10:50:59 +00:00
svenpanne@chromium.org
0874afa53c
Fixed alignment issues of ProfilerEventsProcessor.
...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/131393002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18526 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 10:39:47 +00:00
machenbach@chromium.org
a660f31d68
[Sheriff] Make flaky cpu profiler test.
...
BUG=v8:2999
TBR=yurys@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/133443003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-10 09:02:24 +00:00
machenbach@chromium.org
8ffcd2a281
[Sheriff] Revert "Templatise type representation" and "Fix Mac warnings".
...
This reverts commit r18521 and r18522 for breaking mac and win builders.
BUG=
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/132493002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18524 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 19:52:15 +00:00
plind44@gmail.com
e3f474e158
MIPS: Implement sqrt in inline assembly.
...
Port r18506 (c7b2885)
Original commit message:
Call VSQRT directly to avoid the tiniest (1ulp) precision
error that occurs in the system-supplied sqrt on QNX/ARM.
All precision tests in SunSpider are now passing on this platform.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/131263003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18523 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 19:00:06 +00:00
rossberg@chromium.org
713a74ca09
Fix Mac warnings
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/132263002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18522 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 17:37:48 +00:00
rossberg@chromium.org
1c33a2d840
Templatise type representation
...
This is to support both heap- and zone-allocated types in the future (the latter not yet implemented).
Also, handlify the type API some more.
R=titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/107933005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 17:12:48 +00:00
rossberg@chromium.org
014a86ef8c
ES6: Add Object.getOwnPropertySymbols
...
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.getownpropertysymbols
This allows you to get the symbols used as property keys for an object.
var object = {};
var sym = Symbol();
object[sym] = 42;
assert(Object.getOwnPropertySymbols(object)[0] === sym);
This is only available with --harmony-symbols
BUG=v8:3049
R=rossberg@chromium.org , rossberg
LOG=Y
Review URL: https://codereview.chromium.org/108083005
Patch from Erik Arvidsson <arv@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18520 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 15:57:30 +00:00
jkummerow@chromium.org
839297487f
Skip back edge creation for "do ... while(false)" loops
...
Drive-by fix: Fix disassembling "prefetch" instruction on ia32
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/131733002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18519 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 15:20:25 +00:00
mvstanton@chromium.org
380aa6dc8d
Array constructor can be simplified by loading context from JSFunction.
...
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/128683002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18518 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 15:07:23 +00:00
jochen@chromium.org
6cdcc43ab5
Fix d8 DebugMessageDetails and DebugCommandToJSONRequest
...
They both returned zapped handles. Use an EscapableHandleScope and
properly return handles
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/131443005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18517 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 13:57:09 +00:00
bmeurer@chromium.org
f754bce102
Be sure to also register the BinaryOpWithAllocationSiteStub.
...
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/131483003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18516 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 13:22:18 +00:00
rossberg@chromium.org
3286bc71e3
Promises: some adaptations to spec
...
- Rename Promise.{resolved,rejected,deferred} to Promise.{resolve,reject,defer}
- Rename Promise.one to Promise.race
- Make all failures asynchronous, EXCEPT type errors for resolver
- Disallow non-construct call to Promise constructor
- Don't make combinators go through public this.defer
Also, don't bother using IsCallable.
R=dslomov@chromium.org , yhirano@chromium.org
BUG=
Review URL: https://codereview.chromium.org/99573002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18515 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 13:00:56 +00:00
bmeurer@chromium.org
61692bf294
Fix invalid debug code assertion on x64.
...
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/131323003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18514 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 12:41:05 +00:00
machenbach@chromium.org
a4e831eeca
Prepare push to trunk. Now working on version 3.24.14.
...
R=rossberg@chromium.org
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/131413002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18511 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 10:39:27 +00:00
svenpanne@chromium.org
8f7720aa25
Add Isolate parameter to HandleScope::NumberOfHandles.
...
LOG=y
BUG=324225
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/128233002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18510 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 10:37:15 +00:00
mvstanton@chromium.org
7baadbfac1
FunctionLiteral has work to do in the typing phase.
...
In crankshaft, we searched un-optimized code for a SharedFunctionInfo
that matches the FunctionLiteral we are processing. Ideally, this
work should be done in the typing phase.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/104883006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18508 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 09:00:19 +00:00
bmeurer@chromium.org
e606d03c04
Convert some ifdefs to use their V8_OS_* macros equivalents.
...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/127643002
Patch from Thiago Farina <tfarina@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18507 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 07:57:11 +00:00
bmeurer@chromium.org
bb041d65ee
ARM: Implement sqrt in inline assembly.
...
Call VSQRT directly to avoid the tiniest (1ulp) precision
error that occurs in the system-supplied sqrt on QNX/ARM.
All precision tests in SunSpider are now passing on this platform.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/98363010
Patch from Cosmin Truta <ctruta@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18506 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-09 07:47:58 +00:00
rafaelw@chromium.org
902a05922b
Minor Object.observe optimizations
...
This patch includes the follow two minor optimizations:
1) When Object.unobserve-ing, instead of deleting from changeObservers, set the index position to null, and null-check when iterating elsewhere
2) Isolate creation of null-proto objects inside a utility function
These former (deleting) was clearly showing up in d8 --prof traces and the later was preventing optimization of containing functions because of non-standard literal. Combined, on MDV construction/teardown benchmark, saves about 10%.
Note that this patch also cleans up retrieving objectInfo inside a utility function.
R=rossberg@chromium.org , rossberg
BUG=
Review URL: https://codereview.chromium.org/123523002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18501 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 20:25:08 +00:00
jochen@chromium.org
480a3aeb6d
Roll gyp 1830:1831
...
1831 - Don't try to match mixed source/dir gyp order on MSVS prior to 2010
BUG=none
LOG=n
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/128483002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18498 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 15:54:46 +00:00
svenpanne@chromium.org
39c025135c
Removed a few internal uses of Isolate::Current.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/128313002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18495 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 14:44:30 +00:00
ulan@chromium.org
0ca890fd83
Add 'LOG=N' line to merge-to-branch.sh to avoid presubmit errors when merging to branch.
...
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/128223002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18494 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 14:04:14 +00:00
svenpanne@chromium.org
c2514db458
Removed v8::AssertNoGCScope.
...
Everything was private, so no object could ever be constructed, which
implies that nobody uses it. Furthermore, it contained a TODO and was
overly complicated, an #ifdef-less simple pimpl idiom would have been
enough.
LOG=y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/128113002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18493 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 12:22:42 +00:00
mstarzinger@chromium.org
cf542bd171
Cleanup SetUpMath to use InstallConstants helper.
...
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/127863002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18492 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 11:55:53 +00:00
bmeurer@chromium.org
90fdb82164
Remove redundant NULL check.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/108363008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18491 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 11:40:56 +00:00
jochen@chromium.org
51a107e31f
Roll gyp 1806:1830
...
1830 fixes Makefile generation for v8
BUG=none
LOG=n
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/127803003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18490 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 10:58:25 +00:00
ulan@chromium.org
f92ab22119
Prepare push to trunk. Now working on version 3.24.13.
...
R=machenbach@chromium.org
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/127973002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18487 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 10:55:04 +00:00
ulan@chromium.org
8db7aaa03d
Correctly handle instances without elements in polymorphic keyed load/store.
...
BUG=331416
TEST=mjsunit/regress/regress-331416.js
LOG=Y
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/121893003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18484 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 09:57:28 +00:00
ulan@chromium.org
43d1c23e2a
Fix selection of popular pages in store buffer.
...
BUG=331444
TEST=mjsunit/regress/regress-331444.js
LOG=Y
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/125983002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18483 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 09:49:37 +00:00
jkummerow@chromium.org
7761059a98
Fix d8's Shell::ReadBuffer after r18227
...
BUG=v8:3085
LOG=N
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/127853003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18482 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 09:48:38 +00:00
mstarzinger@chromium.org
f57eff4635
Adapt Webkit test expectations to r18480.
...
R=jkummerow@chromium.org
LOG=N
BUG=v8:3082
TEST=webkit/fast/js/Object-getOwnPropertyNames
Review URL: https://codereview.chromium.org/127853002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18481 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 09:30:49 +00:00
mstarzinger@chromium.org
127c660eab
Upgrade Number constructor to ES6.
...
Add missing constants, predicates and functions to the Number
constructor to have it offer what ES6 now specifies.
That is, extend it with:
* isInteger(), isSafeInteger()
* parseInt(), parseFloat()
* EPSILON, MIN_SAFE_INTEGER, MAX_SAFE_INTEGER
LOG=N
R=mstarzinger@chromium.org
BUG=v8:3082
Review URL: https://codereview.chromium.org/124573002
Patch from Sigbjorn Finne <sigbjornf@opera.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18480 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 09:09:49 +00:00
haitao.feng@intel.com
b712779479
Refactor loading a pointer into a register instruction for X64
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/64453002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18479 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 07:02:02 +00:00
svenpanne@chromium.org
005c0d8178
Prepare removal of ObjectTemplate::New without Isolate parameter.
...
LOG=y
BUG=324225
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/124943004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18478 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 06:53:31 +00:00
haitao.feng@intel.com
ffafe7b9e3
Use PushReturnAddressFrom and PopReturnAddressTo to manipulate return address for X64
...
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/102943003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18477 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-08 04:31:31 +00:00
ishell@chromium.org
b2616f415b
Polymorphic named calls optimized for the case of repetitive call targets.
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/118483003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18476 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-07 16:59:42 +00:00
plind44@gmail.com
a5fd3c1410
MIPS: Reland v8:18458 "Load the global proxy from the context of the target function."
...
Port r18462 (7024b6d)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/126043002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18475 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-07 16:16:20 +00:00
mvstanton@chromium.org
fc5834343f
Remove flag track-allocation-sites.
...
The flag has been on in the build for ~9 months, and we aren't likely to turn it off. The only customer of the flag is a set of tests that want to verify transitioning behavior in isolation. This CL removes the flag and updates those tests to get what they want without the flag.
R=verwaest@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=18385
Review URL: https://codereview.chromium.org/104923010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18474 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-07 15:58:25 +00:00
rmcilroy@chromium.org
687537ded3
Fix some out-of-line constant pool garbage collection bugs.
...
This CL fixes some bugs in the out of line constant pool implementation when
constant pools are GCed. Namely:
- Push/Pop pp register in exit frames and VisitPointer on it to ensure it is
updated if the ConstantPoolArray is moved by GC.
- Mark pp as a SafePoint Register for optimized functions.
- Ensure that StandardFrame::IterateExpressions also iterates over the
constant pool pointer in the stackframe.
- Fix calculation of last_ptr_offset in ConstantPoolArray body iterator.
- Make ensure that CONSTANT_POOL_ARRAY_TYPE is a pointer object InstanceType.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/123263005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18473 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-07 15:53:54 +00:00
machenbach@chromium.org
0030356cd0
Add better remote control to push-to-trunk auto-roll script.
...
This CL enables controlling the automatic push-to-trunk via a settings file .auto-roll in the home directory or via the v8 status app message.
Pushes can be disabled by setting .auto-roll to {"enable_auto_roll": false} or by adding the phrase "nopush" or "no push" to http://v8-status.appspot.com/ .
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/113973003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18472 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-07 15:23:48 +00:00
titzer@chromium.org
286957b474
Add a bit to HObjectAccess to encode immutable fields.
...
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/98163003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18471 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-07 14:42:51 +00:00