adamk@chromium.org [Fri, 9 May 2014 18:22:28 +0000 (18:22 +0000)]
Object.observe: avoid accessing acceptList properties more than once
BUG=v8:3315
LOG=Y
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
270763003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21244
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 17:59:15 +0000 (17:59 +0000)]
Directly create API functions with readonly prototypes rather than converting. Remove FunctionSetReadOnlyPrototype.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
274463003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21243
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 17:56:55 +0000 (17:56 +0000)]
Revert "Reland r20974: Unify and simplify the FastCloneShallowArrayStub"
This breaks nosnap.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
272243002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21242
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 17:39:54 +0000 (17:39 +0000)]
Rename NewFunction without prototype to NewFunctionWithoutPrototype
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
270573003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21241
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Fri, 9 May 2014 17:39:04 +0000 (17:39 +0000)]
MIPS: Reland and fix r21225 and r21226.
Port r21232 (5681b0b)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
275973002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21240
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Fri, 9 May 2014 17:29:21 +0000 (17:29 +0000)]
MIPS: Reland r20974: Unify and simplify the FastCloneShallowArrayStub.
Port r21230 (56ef3ac)
Original commit message:
- Don't bake in length/capacity into full codegen calls of stubs,
allowing boilerplates to increase their capacity without regenerating
code.
- Unify all variants of the clone stub into a single,
length-independent version.
- Various tweaks to make sure that the clone stub doesn't spill and
therefore need an eager stack frame.
- Handle all lengths of array literals in the fast case.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
273103002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21239
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 17:21:51 +0000 (17:21 +0000)]
Always set the class name on installed functions if the target is the JSGlobal
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
261963003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21238
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 16:59:03 +0000 (16:59 +0000)]
Replace NewFunction(MaybeHandle<> prototype by Handle<> prototype
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
264973020
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21237
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 16:42:57 +0000 (16:42 +0000)]
Remove "force_initial_map"
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
267163003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21236
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 16:39:33 +0000 (16:39 +0000)]
Replace NewFunctionWithPrototype(name, prototype) by NewFunction(name)
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
268063008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21235
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 16:37:04 +0000 (16:37 +0000)]
Array Iterator prototype should not have a constructor.
BUG=v8:3293
LOG=Y
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
258793005
Patch from Erik Arvidsson <arv@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21234
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 16:34:58 +0000 (16:34 +0000)]
Merge NewFunction and NewFunctionWithPrototype
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
265763007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21233
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 16:18:58 +0000 (16:18 +0000)]
Reland and fix r21225 and r21226
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
272203002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21232
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Fri, 9 May 2014 16:11:50 +0000 (16:11 +0000)]
Fix typos in unit test for Array.prototype.fill()
BUG=
LOG=y
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
277953002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21231
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Fri, 9 May 2014 15:55:45 +0000 (15:55 +0000)]
Reland r20974: Unify and simplify the FastCloneShallowArrayStub
- Don't bake in length/capacity into full codegen calls of stubs,
allowing boilerplates to increase their capacity without regenerating
code.
- Unify all variants of the clone stub into a single,
length-independent version.
- Various tweaks to make sure that the clone stub doesn't spill and
therefore need an eager stack frame.
- Handle all lengths of array literals in the fast case.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
272513004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21230
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
plind44@gmail.com [Fri, 9 May 2014 15:49:42 +0000 (15:49 +0000)]
MIPS: Improve Array.shift() performance for small arrays.
Port r21203 (eaa92e4)
TEST=mjsunit/array-shift,mjsunit/array-shift2,mjsunit/array-shift3
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
275883002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21229
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Fri, 9 May 2014 15:36:51 +0000 (15:36 +0000)]
Prevent calls to ReturnValue::Set with pointer-valued types.
[2nd try, after the previous version broke the build]
Currently, this code will compile:
SomePointer* p = ...;
ReturnValue r = ...;
r.Set(p);
What happens is that ReturnValue::Set has no pointer-ish overloads, but
a bool one, and hence C++ will convert the pointer to a bool and use
the Set(bool) overload. In other words, the example above is equivalent
to: r.Set(p ? true : false); Which probably isn't what the author had
in mind. This change adds a Set(void*) overload whose body forces a
compile error, to prevent this from happening inadvertently. The only
use of this indeed turned out to be an error.
(Said error was fixed/removed in crrev.com/
267393002.)
Why was crrev.com/
240013004 reverted?
The orginal version compiled fine on gcc (+ MSVC), but not on clang.
There's no clang try-bots, but the ASAN-based buildbots used clang
and hence the build broke. I'm slightly unsure on why, but clang -
unlike those other compilers - eagerly compiled the non-compilable
setter, which predictably broke. Now, the non-compilable setter uses
the same template logic that all other, comparable cases use. I've
tried 'make qc' with both gcc and clang versions.
BUG=
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
279883002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21228
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Fri, 9 May 2014 14:28:59 +0000 (14:28 +0000)]
[Sheriff] This reverts commits r21225 and r21226 for breaking Linux64 build.
Revert "Make BitField3 a raw uint32 field, and move to the start of the map."
Revert "Make space available in bf3 by moving FunctionWithPrototype to bf1"
TBR=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
278883002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21227
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 13:20:40 +0000 (13:20 +0000)]
Make space available in bf3 by moving FunctionWithPrototype to bf1
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
275053002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21226
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 9 May 2014 13:18:25 +0000 (13:18 +0000)]
Make BitField3 a raw uint32 field, and move to the start of the map.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
272163002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21225
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 9 May 2014 13:14:09 +0000 (13:14 +0000)]
Shorten autogenerated error message for functions only.
R=yangguo@chromium.org, Yang, rossberg@chromium.org
BUG=v8:3019, chromium:331971
LOG=Y
Review URL: https://codereview.chromium.org/
271733005
Patch from Andrey Adaykin <aandrey@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21224
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 9 May 2014 13:01:50 +0000 (13:01 +0000)]
Require SSE2 support for the ia32 port.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
275433004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21223
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Fri, 9 May 2014 12:59:24 +0000 (12:59 +0000)]
Presubmit checks recover:
1) runtime/references checks temporarily disabled (56 items left)
2) other errors fixed
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
277913002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21222
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Fri, 9 May 2014 12:51:52 +0000 (12:51 +0000)]
Reland - Arm64: Ensure that csp is always aligned to 16 byte values even if jssp is not.
Even although the Arm64 specification specifies that csp
only needs to be aligned to 16 bytes if it is dereferenced, some
implementations show poor performance.
Also makes the following change:
- Enable CPU support for arm64 to enable probing of cpu implementer and cpu part.
- Add ALWAYS_ALIGN_CSP CpuFeature for Arm64 and set it based on runtime probing of the cpu imp
- Rename PrepareForPush and PrepareForPop to PushPreamble and PopPostamble and move PopPostabl
Original Review URL: https://codereview.chromium.org/
264773004
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
271543004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21221
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Fri, 9 May 2014 12:37:11 +0000 (12:37 +0000)]
Add flag to set minimum semi-space size.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
279513003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21220
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Fri, 9 May 2014 12:33:29 +0000 (12:33 +0000)]
Revert of Prevent calls to ReturnValue::Set with pointer-valued types. (https://codereview.chromium.org/
240013004/)
Reason for revert:
Looks like this broke the "V8 Linux64 ASAN" build.
Original issue's description:
> Prevent calls to ReturnValue::Set with pointer-valued types.
>
> Currently, this code will compile:
> SomePointer* p = ...;
> ReturnValue r = ...;
> r.Set(p);
>
> What happens is that ReturnValue::Set has no pointer-ish overloads, but
> a bool one, and hence C++ will convert the pointer to a bool and use
> the Set(bool) overload. In other words, the example above is equivalent
> to: r.Set(p ? true : false); Which probably isn't what the author had
> in mind. This change adds a Set(void*) overload whose body forces a
> compile error, to prevent this from happening inadvertently. The only
> use of this indeed turned out to be an error.
>
> (Said error was fixed/removed in crrev.com/
267393002.)
>
> BUG=
> R=dcarney@chromium.org
>
> Committed: https://code.google.com/p/v8/source/detail?r=21217
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
271113002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21219
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 9 May 2014 12:19:59 +0000 (12:19 +0000)]
Fix new space array check limit.
Also inline BuildNewSpaceArrayCheck() into its caller, because
the name BuildNewSpaceArrayCheck was confusing anyway, since
it has nothing do with new space actually.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
275453004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21218
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Fri, 9 May 2014 12:07:38 +0000 (12:07 +0000)]
Prevent calls to ReturnValue::Set with pointer-valued types.
Currently, this code will compile:
SomePointer* p = ...;
ReturnValue r = ...;
r.Set(p);
What happens is that ReturnValue::Set has no pointer-ish overloads, but
a bool one, and hence C++ will convert the pointer to a bool and use
the Set(bool) overload. In other words, the example above is equivalent
to: r.Set(p ? true : false); Which probably isn't what the author had
in mind. This change adds a Set(void*) overload whose body forces a
compile error, to prevent this from happening inadvertently. The only
use of this indeed turned out to be an error.
(Wait for issue 364025 before submitting.)
BUG=
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
240013004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21217
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 9 May 2014 12:06:48 +0000 (12:06 +0000)]
Eliminate further write barriers for old space allocations.
Storing a map or an immortal immovable object to old space
allocations requires no write barriers if the object is the
new space dominator.
R=hpayer@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
271103002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21216
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 9 May 2014 12:05:56 +0000 (12:05 +0000)]
Use HType::NonPrimitive() for unclassified HeapObjects (i.e. Maps).
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
279813002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21215
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 9 May 2014 11:29:29 +0000 (11:29 +0000)]
Fixed d8 shutdown.
It is crucial that the Isolate is cleanly disposed, otherwise the
optimizing compiler thread happily continues to run.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
274093002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21214
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 9 May 2014 11:17:45 +0000 (11:17 +0000)]
Sync change log and version file with trunk.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
271583004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21213
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 9 May 2014 09:24:32 +0000 (09:24 +0000)]
Clean up Debugger::NotifyMessageHandler.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
276433004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21210
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Fri, 9 May 2014 09:23:10 +0000 (09:23 +0000)]
Make new space iterable for --log-gc and --heap-stats options
R=hpayer@chromium.org
BUG=370827
TEST=test/mjsunit/regress/regress-370827.js
LOG=N
Review URL: https://codereview.chromium.org/
272503005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21209
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 9 May 2014 09:13:12 +0000 (09:13 +0000)]
Clean up stack guard interrupts.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
264233005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21208
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 9 May 2014 09:02:40 +0000 (09:02 +0000)]
Cleaned up the weak lists hanging off the heap a bit.
* Route all access to the 3 weak lists through getters/setters.
* Removed superfluous visiting already done by ProcessWeakReferences.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
273653006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21207
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 9 May 2014 08:42:17 +0000 (08:42 +0000)]
Use ReplaceCode instead of set_code in debug.cc.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
274043002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21206
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 9 May 2014 08:40:18 +0000 (08:40 +0000)]
Reland "Removed default Isolate."
Changes compared to original CL: Until the Serializer/Isolate chaos is
cleaned up, we can't initalize/dispose cctests in a tidy way, see
cctest.cc.
BUG=359977
LOG=y
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
267383002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21205
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Fri, 9 May 2014 08:38:27 +0000 (08:38 +0000)]
Simplify ConfigureHeap and change --max_new_space_size to --max_semi_space_size.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
271843005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21204
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 9 May 2014 08:28:25 +0000 (08:28 +0000)]
Improve Array.shift() performance for small arrays.
TEST=mjsunit/array-shift,mjsunit/array-shift2,mjsunit/array-shift3
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
279743002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21203
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Thu, 8 May 2014 18:00:26 +0000 (18:00 +0000)]
Restore behavior of PrepareForBreakpoints which was broken by r21145.
Rename Debug::MaybeRecompileFunctionForDebugging to
EnsureFunctionHasDebugBreakSlots and ensure that it does
nothing if the function is unoptimized code with debug
break slots, otherwise, if the shared code has no
debug break slots, it recompile that shared code and
sets the function code to that shared code.
Also removes two incorrect ASSERTs.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
271873003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21201
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 8 May 2014 14:34:37 +0000 (14:34 +0000)]
Skip generated runtime tests that require i18nsupport as needed
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
267343003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21200
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 8 May 2014 13:11:59 +0000 (13:11 +0000)]
Add test case generator for runtime functions
R=dslomov@chromium.org, machenbach@chromium.org
Review URL: https://codereview.chromium.org/
250923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21199
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alph@chromium.org [Thu, 8 May 2014 09:47:17 +0000 (09:47 +0000)]
DevTools: Unflake test-cpu-profiler/JsNativeJsRuntimeJsSample
BUG=v8:3308
LOG=N
R=bmeurer@chromium.org, jochen@chromium.org, yurys@chromium.org
Review URL: https://codereview.chromium.org/
271683002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21198
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 8 May 2014 09:33:11 +0000 (09:33 +0000)]
Harden yet more runtime functions
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
270273005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21197
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Thu, 8 May 2014 08:51:51 +0000 (08:51 +0000)]
Fix index register assignment in LoadFieldByIndex for arm, arm64, and mips.
This instruciton clobbers the index register.
BUG=368243
LOG=N
TEST=mjsunit/regress/regress-368243
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
269273003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21196
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 8 May 2014 06:52:35 +0000 (06:52 +0000)]
Unbreak samples and tools.
Removed a related TODO in d8.cc on the way.
BUG=v8::3318
LOG=y
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
275463002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21195
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 7 May 2014 16:13:04 +0000 (16:13 +0000)]
Broaden test expectation for ARM64.
R=machenbach@chromium.org
BUG=v8:3154
TEST=cctest/test-heap/ReleaseOverReservedPages
Review URL: https://codereview.chromium.org/
270303005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21192
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Wed, 7 May 2014 15:28:30 +0000 (15:28 +0000)]
Commenting out an assert to investigate mac test failure.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
268363010
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21191
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Wed, 7 May 2014 12:31:26 +0000 (12:31 +0000)]
Refactor mjsunit/fuzz-natives-* into a separate test suite.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
252143002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21190
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 7 May 2014 12:18:23 +0000 (12:18 +0000)]
Remove GenerateBooleanCheck() since we have a boolean map now.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
269343003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21189
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 7 May 2014 11:07:18 +0000 (11:07 +0000)]
Add back a dummy --harmony-promises flag
This is mainly meant to help with the transition of chrome using the
flag to promises being enabled by default
BUG=none
LOG=n
R=rossberg@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
270503005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21188
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 7 May 2014 08:42:20 +0000 (08:42 +0000)]
Turn CHECK()s into ASSERT()s.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
275433002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21187
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 7 May 2014 08:41:35 +0000 (08:41 +0000)]
Fix constructors for HLoadNamedField.
Also try to determine an appropriate HType for tracked fields,
instead of (incorrectly) using HType::NonPrimitive() everywhere.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
269353003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21186
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 7 May 2014 07:15:24 +0000 (07:15 +0000)]
Merge counters and v8-counters
BUG=none
LOG=n
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
272433002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21185
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 7 May 2014 06:40:50 +0000 (06:40 +0000)]
Revert "Arm64: Ensure that csp is always aligned to 16 byte values even if jssp is not." and "Arm64: Fix check errors on Arm64 debug after r21177.".
This reverts commit r21177 and r21179 for breaking the arm64 build.
TBR=rmcilroy@chromium.org
Review URL: https://codereview.chromium.org/
271623002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21184
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 7 May 2014 06:24:29 +0000 (06:24 +0000)]
Fix invalid ASSERT() in HasStableMapValue().
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
267363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21183
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
palfia@homejinni.com [Tue, 6 May 2014 19:24:11 +0000 (19:24 +0000)]
MIPS: Fix for 3303 MultithreadedParallelIsolates has a race condition.
Port r21165 (
50673b25)
Original commit message:
The fix is to make the code aging sequence hang off the isolate.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/
264823004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21180
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Tue, 6 May 2014 19:07:31 +0000 (19:07 +0000)]
Arm64: Fix check errors on Arm64 debug after r21177.
r21177 added extra AssertStackConsistency() checks which
increased code size on debug and caused the assembler buffer
to be too large. Increased some of these buffers to
compensate.
Also, ProfileEntryHoolStub could use the wrong number of
instructions for kProfileEntryHookCallSize depending upon
whether debug code was being emitted or ALWAYS_ALIGN_CSP was
enabled. Fixed this by taking ALWAYS_ALIGN_CSP into account
and ensuring that no debug code is emitted during
MaybeCallEntryHook().
TBR=ulan@chromium.org
Review URL: https://codereview.chromium.org/
263213008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21179
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 6 May 2014 16:02:18 +0000 (16:02 +0000)]
Revert "Prevent liveedit on or under generators with open activations"
Seems to crash some tests on buildbots.
TBR=ishell@chromium.org
CC=wingo@igalia.com,yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
273433002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21178
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Tue, 6 May 2014 15:56:17 +0000 (15:56 +0000)]
Arm64: Ensure that csp is always aligned to 16 byte values even if jssp is not.
Even although the Arm64 specification specifies that csp
only needs to be aligned to 16 bytes if it is dereferenced, some implementations show poor performance if csp is every set to a non-aligned value. This CL ensures that csp is always aligned to 16 byte values on these platforms and adds checks to ensure this in debug mode.
Also makes the following change:
- Enable CPU support for arm64 to enable probing of cpu implementer and cpu part.
- Add ALWAYS_ALIGN_CSP CpuFeature for Arm64 and set it based on runtime probing of the cpu implementer.
- Rename PrepareForPush and PrepareForPop to PushPreamble and PopPostamble and move PopPostable after the pop.
-
R=jacob.bramley@arm.com, ulan@chromium.org
Review URL: https://codereview.chromium.org/
264773004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21177
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 6 May 2014 15:25:51 +0000 (15:25 +0000)]
Remove strange v8_target_arch=="mac" conditions from gyp files
mac is not an architecture, and it doesn't make sense to compile in both
the ia32 and x64 archs at the same time
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
255183002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21176
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 6 May 2014 15:01:24 +0000 (15:01 +0000)]
Import features.gypi into BUILD.gn
BUG=none
R=brettw@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
261203003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21175
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Tue, 6 May 2014 14:57:52 +0000 (14:57 +0000)]
Prevent liveedit on or under generators with open activations
R=yangguo@chromium.org
LOG=N
TEST=mjsunit/harmony/generators-debug-liveedit.js
BUG=
Review URL: https://codereview.chromium.org/
266983004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21174
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 6 May 2014 14:48:34 +0000 (14:48 +0000)]
Re^3-land "Ship promises and weak collections"
R=jochen@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
266243003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21173
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
m.m.capewell@googlemail.com [Tue, 6 May 2014 14:28:29 +0000 (14:28 +0000)]
ARM64: Sign extension on MemOperand for keyed ops
SXTW extend mode is usually cheaper on loads and stores than arithmetic,
so move it to the memory accesses where possible for Keyed loads and
stores.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
268483002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21172
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Tue, 6 May 2014 14:20:46 +0000 (14:20 +0000)]
Fixed jump in non-SSE4.1 implementation of LMathFloor instruction on x64.
BUG=chromium:370384
LOG=N
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
261853009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21171
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 6 May 2014 13:06:12 +0000 (13:06 +0000)]
Revert "Removed default Isolate."
This reverts commit r21167, cctest/test-serialize has to be fixed first.
TBR=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
267163002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21170
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 6 May 2014 12:16:24 +0000 (12:16 +0000)]
Only force creating initial maps when we have prototypes.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
261983007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21169
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
baptiste.afsa@arm.com [Tue, 6 May 2014 12:11:00 +0000 (12:11 +0000)]
ARM64: Introduce TempDoubleRegister as a lithium operand constraint.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
261933002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21168
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 6 May 2014 11:48:26 +0000 (11:48 +0000)]
Removed default Isolate.
There is probably room for more cleanup after this...
BUG=359977
LOG=y
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
262163006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21167
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 6 May 2014 11:26:35 +0000 (11:26 +0000)]
Pass in the map while creating JSFunction, and set prototype in the client.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
263083008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21166
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Tue, 6 May 2014 11:25:37 +0000 (11:25 +0000)]
Fix for 3303 MultithreadedParallelIsolates has a race condition.
The fix is to make the code aging sequence hang off the isolate.
BUG=v8:3303
R=svenpanne@chromium.org
LOG=N
Review URL: https://codereview.chromium.org/
261953002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21165
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
marja@chromium.org [Tue, 6 May 2014 11:22:54 +0000 (11:22 +0000)]
Produce cached data only for scripts which compile without errors.
ScriptCompiler::CompileUnbound handles cached data only when there was no
compilation error, so, if we produce the data for erroneous scripts, the
ScriptData object is leaked.
In addition, producing cached data for erroneous scripts makes little sense.
R=ulan@chromium.org
BUG=370327
LOG=N
Review URL: https://codereview.chromium.org/
266423003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21164
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 6 May 2014 11:14:37 +0000 (11:14 +0000)]
Move generated math methods from platform to codegen
BUG=none
R=mstarzinger@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
269823006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21163
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 6 May 2014 11:05:52 +0000 (11:05 +0000)]
Pass dependency to HLoadNamedField for array length load
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
267773004
Patch from Jing Bao <jing.bao@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21162
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
m.m.capewell@googlemail.com [Tue, 6 May 2014 11:00:28 +0000 (11:00 +0000)]
ARM64: Use the shifter operand to merge in previous shift instructions.
When possible, we transform sequences of code of the form
lsl x8, x9, #imm
add x0, x1, x8
into
add x0, x1, x9 LSL #imm
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
257203002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21161
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 6 May 2014 09:28:08 +0000 (09:28 +0000)]
Remove broken %_Log functionality.
R=yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
265283007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21160
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Tue, 6 May 2014 09:08:32 +0000 (09:08 +0000)]
[Android]: Update Makefile.android to use platform-14 as minimum.
The version of the NDK in Chromium only has platform/android-14 and above
(since Chrome only supports API 14 and above). To make it easier for
developers to use the Chromium NDK to build V8, this CL updates the default
platform version to 14.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
267873002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21159
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 6 May 2014 08:34:48 +0000 (08:34 +0000)]
Do not call setters of read-only accessors.
BUG=
TEST=mjsunit/readonly-accessor
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
271433002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21158
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alph@chromium.org [Tue, 6 May 2014 08:18:09 +0000 (08:18 +0000)]
Make sure CPU profiler collects a sample on start.
BUG=369035
LOG=N
R=bmeurer@chromium.org, yurys@chromium.org
Review URL: https://codereview.chromium.org/
263883008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21157
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Jacob.Bramley@arm.com [Tue, 6 May 2014 08:05:27 +0000 (08:05 +0000)]
ARM64: Use default-NaN mode to canonicalize NaNs.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
255343004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21156
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 6 May 2014 07:49:21 +0000 (07:49 +0000)]
Fix Mac64-debug issue introduced with r21154.
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
271443002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21155
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 6 May 2014 07:05:07 +0000 (07:05 +0000)]
Next bunch of fixes for check elimination.
- Canonicalize HCheckMapValue with constant map to
HCheckMaps, and get rid of the special treatment
during check elimination.
- Track only stable object maps for HConstants and
add CHECK()s to verify state during code generation.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
263923004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21154
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Mon, 5 May 2014 21:44:36 +0000 (21:44 +0000)]
Tighten up Object.observe code to ASSERT that it never deals with globals
After r21126, Object.observe no longer allows observing the global proxy
object. This patch replaces codepaths that used to handle that case with
asserts showing that no such observation happens.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
261773006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21151
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Mon, 5 May 2014 18:27:57 +0000 (18:27 +0000)]
Store JSGlobalProxy's identity hash directly on the proxy itself
Previously, the hash was stored on the underlying global object, since
it was stored in the hidden property table. This patch moves to an
implementation modeled on JSProxy, adding a new 'hash' field to JSGlobalProxy.
This allows storing the global proxy in a Map, Set, WeakMap, or WeakSet and
accessing it even after the proxy has been attached to a new global, which
is Firefox's current behavior and was the consensus of a recent thread on public-script-coord:
http://lists.w3.org/Archives/Public/public-script-coord/2014AprJun/0012.html
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
254433002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21150
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Mon, 5 May 2014 16:48:33 +0000 (16:48 +0000)]
Set max new space size in tests to proper MB value.
Revert "Limit old space size in test which require a large new space."
This reverts commit r21103.
Revert "Remove max space limits in tests."
This reverts commit r21104.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
263103006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21149
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Mon, 5 May 2014 16:33:23 +0000 (16:33 +0000)]
FLAG_max_new_space_size is in MB.
Plus, cleanup of the space - generation mess. More to do there...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
268073004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21148
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 5 May 2014 15:16:26 +0000 (15:16 +0000)]
Remove old branch logic from push scripts.
The old temporary branch is not needed anymore. All scripts create a different branch after creating the temporary branch.
This also fixes logging subprocesses and logs a warning to track down script failures due to wrong branches.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
266083003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21147
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
marja@chromium.org [Mon, 5 May 2014 14:55:13 +0000 (14:55 +0000)]
Remove symbol preparse data altogether.
Removing it seems to be a clear win on mobile: producing symbol data makes cold
parsing 20-30% slower, and having symbol data doesn't make warm parsing any
faster.
Notes:
- V8 used to produce symbol data, but because of a bug, it was never used until
recently. (See fix https://codereview.chromium.org/
172753002 which takes the
symbol data into use again.)
- On desktop, warm parsing is faster if we have symbol data, and producing it
during cold parsing doesn't make parsing substantially slower. However, this
doesn't seem to be the case on mobile.
- The preparse data (cached data) will now contain only the positions of the
lazy functions.
BUG=
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
261273003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21146
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Mon, 5 May 2014 14:31:51 +0000 (14:31 +0000)]
Relocate suspended generator activations when enabling debug mode
R=yangguo@chromium.org
BUG=v8:3289
LOG=N
Review URL: https://codereview.chromium.org/
264973014
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21145
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Mon, 5 May 2014 13:56:39 +0000 (13:56 +0000)]
Fix cctest.status typo
TBR=ishell@chromium.org
BUG=none
LOG=n
Review URL: https://codereview.chromium.org/
266823004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21144
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Mon, 5 May 2014 13:29:10 +0000 (13:29 +0000)]
Mark test-cpu-profiler/JsNativeJsRuntimeJsSample as flaky
BUG=v8:3308
LOG=n
TBR=yurys@chromium.org
Review URL: https://codereview.chromium.org/
268093002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21143
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Mon, 5 May 2014 13:28:21 +0000 (13:28 +0000)]
Revert r21141.
Relocate suspended generator activations when enabling debug mode
BUG=v8:3289
LOG=N
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
262193003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21142
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Mon, 5 May 2014 12:57:14 +0000 (12:57 +0000)]
Relocate suspended generator activations when enabling debug mode
R=yangguo@chromium.org
BUG=v8:3289
LOG=N
Review URL: https://codereview.chromium.org/
260423002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21141
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Mon, 5 May 2014 11:06:26 +0000 (11:06 +0000)]
Add a basic gn file for V8
Currently, the gn support is incomplete and only works from within a
chromium checkout.
See https://code.google.com/p/chromium/wiki/gn for details
We move the BUILD.gn file to v8 nevertheless to make renaming files
easier, as the chromium CQ already now checks the gn build.
BUG=none
R=brettw@chromium.org, machenbach@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/
259233002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21140
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 5 May 2014 11:03:14 +0000 (11:03 +0000)]
Don't add code dependencies eagerly for HCheckMaps.
Instead of adding code dependencies on stable during
graph creation, we now add them during code generation
for those HCheckMaps that survived dead code elimination.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
264973013
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21139
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Mon, 5 May 2014 09:57:45 +0000 (09:57 +0000)]
Map::TransitionElementsTo() extracted from JSObject::GetElementsTransitionMap().
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
260803002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21138
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 5 May 2014 09:52:03 +0000 (09:52 +0000)]
Inlined IsFoundByRuntimeProbingOnly.
It is only used internally at a single place.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
265243004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21137
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Mon, 5 May 2014 07:43:29 +0000 (07:43 +0000)]
Remove Message::GetScriptData declaration
This is a left-over after r20683
BUG=None
LOG=N
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
266983003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21136
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00