Skip to content

Commit 56e6952

Browse files
committed
Upgrade V8 to 3.6.6
1 parent 0fec213 commit 56e6952

File tree

282 files changed

+29521
-15453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+29521
-15453
lines changed

deps/v8/ChangeLog

+55
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,58 @@
1+
2011-10-10: Version 3.6.6
2+
3+
Added a GC pause visualization tool.
4+
5+
Added presubmit=no and werror=no flags to Makefile.
6+
7+
ES5/Test262 conformance improvements.
8+
9+
Fixed compilation issues with GCC 4.5.x (issue 1743).
10+
11+
Bug fixes and performance improvements on all platforms.
12+
13+
14+
2011-10-05: Version 3.6.5
15+
16+
New incremental garbage collector.
17+
18+
Removed the hard heap size limit (soft heap size limit is still
19+
700/1400Mbytes by default).
20+
21+
Implemented ES5 generic Array.prototype.toString (Issue 1361).
22+
23+
V8 now allows surrogate pair codes in decodeURIComponent (Issue 1415).
24+
25+
Fixed x64 RegExp start-of-string bug (Issues 1746, 1748).
26+
27+
Fixed propertyIsEnumerable for numeric properties (Issue 1692).
28+
29+
Fixed the MinGW and Windows 2000 builds.
30+
31+
Fixed "Prototype chain is not searched if named property handler does
32+
not set a property" (Issue 1636).
33+
34+
Made the RegExp.prototype object be a RegExp object (Issue 1217).
35+
36+
Disallowed future reserved words as labels in strict mode.
37+
38+
Fixed string split to correctly coerce the separator to a string
39+
(Issue 1711).
40+
41+
API: Added an optional source length field to the Extension
42+
constructor.
43+
44+
API: Added Debug::DisableAgent to match existing Debug::EnableAgent
45+
(Issue 1573).
46+
47+
Added "native" target to Makefile for the benefit of Linux distros.
48+
49+
Fixed: debugger stops stepping outside evaluate (Issue 1639).
50+
51+
More work on ES-Harmony proxies. Still hidden behind a flag.
52+
53+
Bug fixes and performance improvements on all platforms.
54+
55+
156
2011-09-15: Version 3.6.4
257

358
Fixed d8's broken readline history.

deps/v8/Makefile

+39-6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ LINK ?= "g++"
3232
OUTDIR ?= out
3333
TESTJOBS ?= -j16
3434
GYPFLAGS ?=
35+
TESTFLAGS ?=
3536

3637
# Special build flags. Use them like this: "make library=shared"
3738

@@ -50,6 +51,10 @@ endif
5051
ifeq ($(disassembler), on)
5152
GYPFLAGS += -Dv8_enable_disassembler=1
5253
endif
54+
# objectprint=on
55+
ifeq ($(objectprint), on)
56+
GYPFLAGS += -Dv8_object_print=1
57+
endif
5358
# snapshot=off
5459
ifeq ($(snapshot), off)
5560
GYPFLAGS += -Dv8_use_snapshot='false'
@@ -72,12 +77,21 @@ endif
7277
ifdef soname_version
7378
GYPFLAGS += -Dsoname_version=$(soname_version)
7479
endif
80+
# werror=no
81+
ifeq ($(werror), no)
82+
GYPFLAGS += -Dwerror=''
83+
endif
84+
# presubmit=no
85+
ifeq ($(presubmit), no)
86+
TESTFLAGS += --no-presubmit
87+
endif
7588

7689
# ----------------- available targets: --------------------
7790
# - "dependencies": pulls in external dependencies (currently: GYP)
7891
# - any arch listed in ARCHES (see below)
7992
# - any mode listed in MODES
8093
# - every combination <arch>.<mode>, e.g. "ia32.release"
94+
# - "native": current host's architecture, release mode
8195
# - any of the above with .check appended, e.g. "ia32.release.check"
8296
# - default (no target specified): build all ARCHES and MODES
8397
# - "check": build all targets and run all tests
@@ -103,7 +117,7 @@ CHECKS = $(addsuffix .check,$(BUILDS))
103117
# File where previously used GYPFLAGS are stored.
104118
ENVFILE = $(OUTDIR)/environment
105119

106-
.PHONY: all check clean dependencies $(ENVFILE).new \
120+
.PHONY: all check clean dependencies $(ENVFILE).new native \
107121
$(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \
108122
$(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES))
109123

@@ -124,21 +138,31 @@ $(BUILDS): $(OUTDIR)/Makefile-$$(basename $$@)
124138
python -c "print raw_input().capitalize()") \
125139
builddir="$(shell pwd)/$(OUTDIR)/$@"
126140

141+
native: $(OUTDIR)/Makefile-native
142+
@$(MAKE) -C "$(OUTDIR)" -f Makefile-native \
143+
CXX="$(CXX)" LINK="$(LINK)" BUILDTYPE=Release \
144+
builddir="$(shell pwd)/$(OUTDIR)/$@"
145+
127146
# Test targets.
128147
check: all
129-
@tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR)
148+
@tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR) \
149+
$(TESTFLAGS)
130150

131151
$(addsuffix .check,$(MODES)): $$(basename $$@)
132152
@tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR) \
133-
--mode=$(basename $@)
153+
--mode=$(basename $@) $(TESTFLAGS)
134154

135155
$(addsuffix .check,$(ARCHES)): $$(basename $$@)
136156
@tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR) \
137-
--arch=$(basename $@)
157+
--arch=$(basename $@) $(TESTFLAGS)
138158

139159
$(CHECKS): $$(basename $$@)
140160
@tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR) \
141-
--arch-and-mode=$(basename $@)
161+
--arch-and-mode=$(basename $@) $(TESTFLAGS)
162+
163+
native.check: native
164+
@tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR)/native \
165+
--arch-and-mode=. $(TESTFLAGS)
142166

143167
# Clean targets. You can clean each architecture individually, or everything.
144168
$(addsuffix .clean,$(ARCHES)):
@@ -147,7 +171,12 @@ $(addsuffix .clean,$(ARCHES)):
147171
rm -rf $(OUTDIR)/$(basename $@).debug
148172
find $(OUTDIR) -regex '.*\(host\|target\)-$(basename $@)\.mk' -delete
149173

150-
clean: $(addsuffix .clean,$(ARCHES))
174+
native.clean:
175+
rm -f $(OUTDIR)/Makefile-native
176+
rm -rf $(OUTDIR)/native
177+
find $(OUTDIR) -regex '.*\(host\|target\)-native\.mk' -delete
178+
179+
clean: $(addsuffix .clean,$(ARCHES)) native.clean
151180

152181
# GYP file generation targets.
153182
$(OUTDIR)/Makefile-ia32: $(GYPFILES) $(ENVFILE)
@@ -165,6 +194,10 @@ $(OUTDIR)/Makefile-arm: $(GYPFILES) $(ENVFILE)
165194
-Ibuild/standalone.gypi --depth=. -Ibuild/armu.gypi \
166195
-S-arm $(GYPFLAGS)
167196

197+
$(OUTDIR)/Makefile-native: $(GYPFILES) $(ENVFILE)
198+
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
199+
-Ibuild/standalone.gypi --depth=. -S-native $(GYPFLAGS)
200+
168201
# Replaces the old with the new environment file if they're different, which
169202
# will trigger GYP to regenerate Makefiles.
170203
$(ENVFILE): $(ENVFILE).new
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<html>
2+
<head>
3+
<style>
4+
body { text-align: center; }
5+
</style>
6+
</head>
7+
<body>
8+
<script type="text/javascript" src="splay-tree.js"></script>
9+
<script type="text/javascript" src="v.js"></script>
10+
</body>
11+
</html>

0 commit comments

Comments
 (0)