Permalink
Browse files

Roll V8 back to 3.9.24.31

  • Loading branch information...
1 parent 569acea commit 940a6863ead6622e5439e07be631359c31e63b68 @isaacs isaacs committed Jun 9, 2012
Showing with 5,143 additions and 22,142 deletions.
  1. +0 −1 deps/v8/AUTHORS
  2. +0 −160 deps/v8/ChangeLog
  3. +47 −27 deps/v8/Makefile
  4. +13 −0 deps/v8/SConstruct
  5. +36 −0 deps/v8/build/armu.gypi
  6. +14 −38 deps/v8/build/common.gypi
  7. +12 −26 deps/v8/build/gyp_v8
  8. +33 −0 deps/v8/build/mipsu.gypi
  9. +4 −4 deps/v8/build/standalone.gypi
  10. +10 −71 deps/v8/include/v8-profiler.h
  11. +26 −187 deps/v8/include/v8.h
  12. +3 −3 deps/v8/samples/lineprocessor.cc
  13. +1 −7 deps/v8/samples/samples.gyp
  14. +11 −14 deps/v8/samples/shell.cc
  15. +25 −74 deps/v8/src/api.cc
  16. +0 −1 deps/v8/src/api.h
  17. +2 −7 deps/v8/src/apiutils.h
  18. +5 −8 deps/v8/src/arguments.h
  19. +33 −22 deps/v8/src/arm/code-stubs-arm.cc
  20. +65 −170 deps/v8/src/arm/full-codegen-arm.cc
  21. +41 −100 deps/v8/src/arm/lithium-arm.cc
  22. +33 −57 deps/v8/src/arm/lithium-arm.h
  23. +41 −223 deps/v8/src/arm/lithium-codegen-arm.cc
  24. +1 −18 deps/v8/src/arm/lithium-codegen-arm.h
  25. +8 −21 deps/v8/src/arm/macro-assembler-arm.cc
  26. +3 −8 deps/v8/src/arm/macro-assembler-arm.h
  27. +4 −50 deps/v8/src/arm/regexp-macro-assembler-arm.cc
  28. +0 −8 deps/v8/src/arm/regexp-macro-assembler-arm.h
  29. +36 −82 deps/v8/src/arm/stub-cache-arm.cc
  30. +32 −134 deps/v8/src/array.js
  31. +31 −40 deps/v8/src/assembler.cc
  32. +0 −2 deps/v8/src/assembler.h
  33. +134 −84 deps/v8/src/ast.cc
  34. +4 −7 deps/v8/src/ast.h
  35. +2 −2 deps/v8/src/bootstrapper.cc
  36. +64 −2 deps/v8/src/builtins.cc
  37. +1 −0 deps/v8/src/builtins.h
  38. +18 −17 deps/v8/src/bytecodes-irregexp.h
  39. +10 −9 deps/v8/src/code-stubs.cc
  40. +0 −17 deps/v8/src/compiler-intrinsics.h
  41. +1 −1 deps/v8/src/contexts.h
  42. +3 −1 deps/v8/src/conversions-inl.h
  43. +5 −21 deps/v8/src/d8.cc
  44. +1 −1 deps/v8/src/d8.js
  45. +13 −13 deps/v8/src/debug-agent.cc
  46. +19 −38 deps/v8/src/debug-debugger.js
  47. +7 −0 deps/v8/src/debug.cc
  48. +2 −3 deps/v8/src/debug.h
  49. +6 −0 deps/v8/src/double.h
  50. +11 −9 deps/v8/src/elements.cc
  51. +0 −1 deps/v8/src/elements.h
  52. +5 −2 deps/v8/src/extensions/externalize-string-extension.cc
  53. +3 −2 deps/v8/src/extensions/gc-extension.cc
  54. +4 −19 deps/v8/src/factory.cc
  55. +3 −9 deps/v8/src/factory.h
  56. +1 −10 deps/v8/src/flag-definitions.h
  57. +17 −11 deps/v8/src/frames.cc
  58. +0 −2 deps/v8/src/frames.h
  59. +67 −66 deps/v8/src/full-codegen.cc
  60. +22 −9 deps/v8/src/full-codegen.h
  61. +3 −3 deps/v8/src/handles.cc
  62. +3 −7 deps/v8/src/hashmap.h
  63. +3 −4 deps/v8/src/heap-inl.h
  64. +1 −41 deps/v8/src/heap-profiler.cc
  65. +2 −9 deps/v8/src/heap-profiler.h
  66. +52 −206 deps/v8/src/heap.cc
  67. +14 −23 deps/v8/src/heap.h
  68. +10 −101 deps/v8/src/hydrogen-instructions.cc
  69. +50 −183 deps/v8/src/hydrogen-instructions.h
  70. +238 −838 deps/v8/src/hydrogen.cc
  71. +15 −55 deps/v8/src/hydrogen.h
  72. +5 −6 deps/v8/src/ia32/builtins-ia32.cc
  73. +51 −61 deps/v8/src/ia32/code-stubs-ia32.cc
  74. +1 −17 deps/v8/src/ia32/codegen-ia32.cc
  75. +4 −4 deps/v8/src/ia32/debug-ia32.cc
  76. +8 −8 deps/v8/src/ia32/deoptimizer-ia32.cc
  77. +76 −178 deps/v8/src/ia32/full-codegen-ia32.cc
  78. +86 −78 deps/v8/src/ia32/ic-ia32.cc
  79. +51 −123 deps/v8/src/ia32/lithium-codegen-ia32.cc
  80. +1 −7 deps/v8/src/ia32/lithium-codegen-ia32.h
  81. +35 −35 deps/v8/src/ia32/lithium-ia32.cc
  82. +28 −35 deps/v8/src/ia32/lithium-ia32.h
  83. +8 −55 deps/v8/src/ia32/regexp-macro-assembler-ia32.cc
  84. +0 −8 deps/v8/src/ia32/regexp-macro-assembler-ia32.h
  85. +152 −181 deps/v8/src/ia32/stub-cache-ia32.cc
  86. +8 −27 deps/v8/src/ic.cc
  87. +0 −13 deps/v8/src/incremental-marking.cc
  88. +2 −11 deps/v8/src/interface.cc
  89. +3 −43 deps/v8/src/interface.h
  90. +54 −33 deps/v8/src/interpreter-irregexp.cc
  91. +1 −8 deps/v8/src/isolate.cc
  92. +14 −14 deps/v8/src/isolate.h
  93. +649 −1,225 deps/v8/src/jsregexp.cc
  94. +163 −287 deps/v8/src/jsregexp.h
  95. +3 −7 deps/v8/src/lazy-instance.h
  96. +6 −17 deps/v8/src/list-inl.h
  97. +3 −5 deps/v8/src/list.h
  98. +1 −1 deps/v8/src/lithium-allocator.cc
  99. +14 −20 deps/v8/src/lithium.cc
  100. +10 −22 deps/v8/src/lithium.h
  101. +0 −5 deps/v8/src/liveedit-debugger.js
  102. +4 −11 deps/v8/src/log.cc
  103. +0 −2 deps/v8/src/log.h
  104. +0 −10 deps/v8/src/macros.py
  105. +24 −33 deps/v8/src/mark-compact.cc
  106. +0 −2 deps/v8/src/mark-compact.h
  107. +1 −0 deps/v8/src/math.js
  108. +36 −23 deps/v8/src/mips/code-stubs-mips.cc
  109. +5 −0 deps/v8/src/mips/constants-mips.h
  110. +70 −175 deps/v8/src/mips/full-codegen-mips.cc
  111. +42 −105 deps/v8/src/mips/lithium-codegen-mips.cc
  112. +1 −7 deps/v8/src/mips/lithium-codegen-mips.h
  113. +41 −37 deps/v8/src/mips/lithium-mips.cc
  114. +32 −37 deps/v8/src/mips/lithium-mips.h
  115. +27 −70 deps/v8/src/mips/regexp-macro-assembler-mips.cc
  116. +0 −8 deps/v8/src/mips/regexp-macro-assembler-mips.h
  117. +46 −91 deps/v8/src/mips/stub-cache-mips.cc
  118. +13 −75 deps/v8/src/mirror-debugger.js
  119. +0 −12 deps/v8/src/objects-debug.cc
  120. +40 −41 deps/v8/src/objects-inl.h
  121. +1 −18 deps/v8/src/objects-printer.cc
  122. +3 −1 deps/v8/src/objects-visiting-inl.h
  123. +0 −1 deps/v8/src/objects-visiting.cc
  124. +0 −17 deps/v8/src/objects-visiting.h
  125. +41 −33 deps/v8/src/objects.cc
  126. +14 −43 deps/v8/src/objects.h
  127. +17 −32 deps/v8/src/parser.cc
  128. +19 −27 deps/v8/src/platform-cygwin.cc
  129. +19 −27 deps/v8/src/platform-freebsd.cc
  130. +39 −47 deps/v8/src/platform-linux.cc
  131. +15 −23 deps/v8/src/platform-macos.cc
  132. +0 −5 deps/v8/src/platform-nullos.cc
  133. +15 −23 deps/v8/src/platform-openbsd.cc
  134. +18 −12 deps/v8/src/platform-posix.cc
  135. +3 −2 deps/v8/src/platform-posix.h
  136. +19 −27 deps/v8/src/platform-solaris.cc
  137. +54 −56 deps/v8/src/platform-win32.cc
  138. +0 −3 deps/v8/src/platform.h
  139. +6 −4 deps/v8/src/preparser.cc
  140. +2 −13 deps/v8/src/preparser.h
  141. +0 −6 deps/v8/src/profile-generator-inl.h
  142. +433 −747 deps/v8/src/profile-generator.cc
  143. +33 −86 deps/v8/src/profile-generator.h
  144. +7 −0 deps/v8/src/property.h
  145. +0 −10 deps/v8/src/regexp-macro-assembler-irregexp-inl.h
  146. +0 −36 deps/v8/src/regexp-macro-assembler-irregexp.cc
  147. +0 −8 deps/v8/src/regexp-macro-assembler-irregexp.h
  148. +12 −97 deps/v8/src/regexp-macro-assembler-tracer.cc
  149. +0 −7 deps/v8/src/regexp-macro-assembler-tracer.h
  150. +1 −17 deps/v8/src/regexp-macro-assembler.h
  151. +12 −10 deps/v8/src/regexp.js
  152. +1 −1 deps/v8/src/rewriter.cc
  153. +22 −5 deps/v8/src/runtime-profiler.cc
  154. +9 −1 deps/v8/src/runtime-profiler.h
  155. +170 −310 deps/v8/src/runtime.cc
  156. +0 −5 deps/v8/src/runtime.h
  157. +9 −9 deps/v8/src/scanner.cc
  158. +3 −6 deps/v8/src/scanner.h
  159. +4 −6 deps/v8/src/scopeinfo.cc
  160. +15 −29 deps/v8/src/scopes.cc
  161. +13 −6 deps/v8/src/scopes.h
  162. +1 −1 deps/v8/src/serialize.cc
  163. +0 −10 deps/v8/src/small-pointer-list.h
  164. +2 −18 deps/v8/src/spaces-inl.h
  165. +11 −47 deps/v8/src/spaces.cc
  166. +9 −12 deps/v8/src/spaces.h
  167. +89 −62 deps/v8/src/string.js
  168. +4 −6 deps/v8/src/stub-cache.cc
  169. +0 −15 deps/v8/src/utils.cc
  170. +0 −26 deps/v8/src/utils.h
  171. +0 −2 deps/v8/src/v8-counters.h
  172. +2 −14 deps/v8/src/v8.cc
  173. +0 −4 deps/v8/src/v8globals.h
  174. +3 −3 deps/v8/src/version.cc
  175. +42 −22 deps/v8/src/x64/code-stubs-x64.cc
  176. +12 −30 deps/v8/src/x64/deoptimizer-x64.cc
  177. +2 −4 deps/v8/src/x64/disasm-x64.cc
  178. +107 −277 deps/v8/src/x64/full-codegen-x64.cc
  179. +47 −110 deps/v8/src/x64/lithium-codegen-x64.cc
  180. +1 −7 deps/v8/src/x64/lithium-codegen-x64.h
  181. +41 −37 deps/v8/src/x64/lithium-x64.cc
  182. +34 −38 deps/v8/src/x64/lithium-x64.h
  183. +2 −16 deps/v8/src/x64/macro-assembler-x64.cc
  184. +0 −2 deps/v8/src/x64/macro-assembler-x64.h
  185. +6 −50 deps/v8/src/x64/regexp-macro-assembler-x64.cc
  186. +0 −8 deps/v8/src/x64/regexp-macro-assembler-x64.h
  187. +38 −73 deps/v8/src/x64/stub-cache-x64.cc
  188. +1 −8 deps/v8/test/cctest/test-accessors.cc
  189. +22 −14 deps/v8/test/cctest/test-alloc.cc
  190. +59 −227 deps/v8/test/cctest/test-api.cc
  191. +1 −4 deps/v8/test/cctest/test-debug.cc
  192. +7 −9 deps/v8/test/cctest/test-decls.cc
  193. +0 −1 deps/v8/test/cctest/test-disasm-x64.cc
  194. +15 −0 deps/v8/test/cctest/test-double.cc
  195. +75 −373 deps/v8/test/cctest/test-heap-profiler.cc
  196. +3 −58 deps/v8/test/cctest/test-heap.cc
  197. +4 −4 deps/v8/test/cctest/test-mark-compact.cc
  198. +74 −6 deps/v8/test/cctest/test-regexp.cc
  199. +4 −4 deps/v8/test/cctest/test-spaces.cc
  200. +0 −85 deps/v8/test/cctest/test-strings.cc
  201. +0 −4 deps/v8/test/cctest/test-thread-termination.cc
  202. +4 −76 deps/v8/test/cctest/test-weakmaps.cc
  203. +2 −0 deps/v8/test/cctest/testcfg.py
  204. +0 −145 deps/v8/test/mjsunit/array-bounds-check-removal.js
  205. +3 −0 deps/v8/test/mjsunit/big-array-literal.js
  206. +1 −1 deps/v8/test/mjsunit/compiler/alloc-object-huge.js
  207. +0 −67 deps/v8/test/mjsunit/compiler/inline-arguments.js
  208. +12 −12 deps/v8/test/mjsunit/compiler/literals.js
  209. +0 −42 deps/v8/test/mjsunit/compiler/optimize-bitnot.js
  210. +14 −3 deps/v8/test/mjsunit/debug-evaluate-locals-optimized-double.js
  211. +14 −3 deps/v8/test/mjsunit/debug-evaluate-locals-optimized.js
  212. +0 −162 deps/v8/test/mjsunit/debug-function-scopes.js
  213. +2 −4 deps/v8/test/mjsunit/debug-scripts-request.js
  214. +0 −157 deps/v8/test/mjsunit/debug-stepin-builtin-callback.js
  215. +2 −4 deps/v8/test/mjsunit/declare-locally.js
  216. +0 −115 deps/v8/test/mjsunit/harmony/debug-function-scopes.js
  217. +0 −121 deps/v8/test/mjsunit/harmony/module-linking.js
  218. +5 −5 deps/v8/test/mjsunit/harmony/module-parsing.js
  219. +1 −1 deps/v8/test/mjsunit/harmony/module-resolution.js
  220. +0 −216 deps/v8/test/mjsunit/math-floor-of-div.js
  221. +1 −1 deps/v8/test/mjsunit/mjsunit.js
  222. +1 −190 deps/v8/test/mjsunit/regexp-capture-3.js
  223. +0 −2 deps/v8/test/mjsunit/regexp-capture.js
  224. +5 −7 deps/v8/test/mjsunit/regress/regress-1119.js
  225. +10 −9 deps/v8/test/mjsunit/regress/regress-115452.js
  226. +19 −45 deps/v8/test/mjsunit/regress/regress-1170.js
  227. +0 −71 deps/v8/test/mjsunit/regress/regress-119609.js
  228. +0 −40 deps/v8/test/mjsunit/regress/regress-120099.js
  229. +1 −1 deps/v8/test/mjsunit/regress/regress-1217.js
  230. +0 −78 deps/v8/test/mjsunit/regress/regress-123512.js
  231. +0 −47 deps/v8/test/mjsunit/regress/regress-123919.js
  232. +0 −33 deps/v8/test/mjsunit/regress/regress-126412.js
  233. +0 −53 deps/v8/test/mjsunit/regress/regress-2030.js
  234. +0 −64 deps/v8/test/mjsunit/regress/regress-2032.js
  235. +0 −46 deps/v8/test/mjsunit/regress/regress-2034.js
  236. +0 −34 deps/v8/test/mjsunit/regress/regress-2054.js
  237. +0 −48 deps/v8/test/mjsunit/regress/regress-2055.js
  238. +0 −37 deps/v8/test/mjsunit/regress/regress-2058.js
  239. +0 −53 deps/v8/test/mjsunit/regress/regress-2110.js
  240. +0 −62 deps/v8/test/mjsunit/regress/regress-fast-literal-transition.js
  241. +0 −4,914 deps/v8/test/mjsunit/unicodelctest-no-optimization.js
  242. +0 −4,912 deps/v8/test/mjsunit/unicodelctest.js
  243. +0 −14 deps/v8/test/mozilla/mozilla.status
  244. +26 −14 deps/v8/test/sputnik/sputnik.status
  245. +2 −2 deps/v8/test/test262/README
  246. +13 −11 deps/v8/test/test262/test262.status
  247. +25 −22 deps/v8/test/test262/testcfg.py
  248. +11 −3 deps/v8/tools/check-static-initializers.sh
  249. +1 −6 deps/v8/tools/gyp/v8.gyp
  250. 0 deps/v8/tools/merge-to-branch.sh
  251. +3 −5 deps/v8/tools/presubmit.py
  252. +0 −9 deps/v8/tools/push-to-trunk.sh
  253. +15 −6 deps/v8/tools/test-wrapper-gypbuild.py
View
@@ -23,7 +23,6 @@ Daniel James <dnljms@gmail.com>
Dineel D Sule <dsule@codeaurora.org>
Erich Ocean <erich.ocean@me.com>
Fedor Indutny <fedor@indutny.com>
-Filipe David Manana <fdmanana@gmail.com>
Ioseb Dzmanashvili <ioseb.dzmanashvili@gmail.com>
Jan de Mooij <jandemooij@gmail.com>
Jay Freeman <saurik@saurik.com>
View
@@ -1,163 +1,3 @@
-2012-05-03: Version 3.10.8
-
- Enabled MIPS cross-compilation.
-
- Ensured reload of elements pointer in StoreFastDoubleElement stub.
- (Chromium issue 125515)
-
- Fixed corner cases in truncation behavior when storing to
- TypedArrays. (issue 2110)
-
- Fixed failure to properly recognize and report out-of-memory
- conditions when allocating code space pages. (Chromium issue
- 118625)
-
- Fixed idle notifications to perform a round of incremental GCs
- after context disposal. (issue 2107)
-
- Fixed preparser for try statement. (issue 2109)
-
- Performance and stability improvements on all platforms.
-
-
-2012-04-30: Version 3.10.7
-
- Performance and stability improvements on all platforms.
-
-
-2012-04-26: Version 3.10.6
-
- Fixed some bugs in accessing details of the last regexp match.
-
- Fixed source property of empty RegExp objects. (issue 1982)
-
- Enabled inlining some V8 API functions.
-
- Performance and stability improvements on all platforms.
-
-
-2012-04-23: Version 3.10.5
-
- Put new global var semantics behind a flag until WebKit tests are
- cleaned up.
-
- Enabled stepping into callback passed to builtins.
- (Chromium issue 109564)
-
- Performance and stability improvements on all platforms.
-
-
-2012-04-19: Version 3.10.4
-
- Fixed issues when stressing compaction with WeakMaps.
-
- Fixed missing GVN flag for new-space promotion. (Chromium issue 123919)
-
- Simplify invocation sequence at monomorphic function invocation sites.
- (issue 2079)
-
- Performance and stability improvements on all platforms.
-
-
-2012-04-17: Version 3.10.3
-
- Fixed several bugs in heap profiles (including issue 2078).
-
- Throw syntax errors on illegal escape sequences.
-
- Implemented rudimentary module linking (behind --harmony flag)
-
- Implemented ES5 erratum: Global declarations should shadow
- inherited properties.
-
- Made handling of const more consistent when combined with 'eval'
- and 'with'.
-
- Fixed V8 on MinGW-x64 (issue 2026).
-
- Performance and stability improvements on all platforms.
-
-
-2012-04-13: Version 3.10.2
-
- Fixed native ARM build (issues 1744, 539)
-
- Return LOOKUP variable instead of CONTEXT for non-context allocated
- outer scope parameters (Chromium issue 119609).
-
- Fixed regular and ElementsKind transitions interfering with each other
- (Chromium issue 122271).
-
- Improved performance of keyed loads/stores which have a HeapNumber
- index (issues 1388, 1295).
-
- Fixed WeakMap processing for evacuation candidates (issue 2060).
-
- Bailout on possible direct eval calls (Chromium issue 122681).
-
- Do not assume that names of function expressions are context-allocated
- (issue 2051).
-
- Performance and stability improvements on all platforms.
-
-
-2012-04-10: Version 3.10.1
-
- Fixed bug with arguments object in inlined functions (issue 2045).
-
- Fixed performance bug with lazy initialization (Chromium issue
- 118686).
-
- Added suppport for Mac OS X 64bit builds with GYP.
- (Patch contributed by Filipe David Manana <fdmanana@gmail.com>)
-
- Fixed bug with hidden properties (issue 2034).
-
- Fixed a performance bug when reloading pages (Chromium issue 117767,
- V8 issue 1902).
-
- Fixed bug when optimizing throw in top-level code (issue 2054).
-
- Fixed two bugs with array literals (issue 2055, Chromium issue 121407).
-
- Fixed bug with Math.min/Math.max with NaN inputs (issue 2056).
-
- Fixed a bug with the new runtime profiler (Chromium issue 121147).
-
- Fixed compilation of V8 using uClibc.
-
- Optimized boot-up memory use.
-
- Optimized regular expressions.
-
-
-2012-03-30: Version 3.10.0
-
- Fixed store IC writability check in strict mode
- (Chromium issue 120099).
-
- Resynchronize timers if the Windows system time was changed.
- (Chromium issue 119815)
-
- Removed "-mfloat-abi=hard" from host compiler cflags when building for
- hardfp ARM
- (https://code.google.com/p/chrome-os-partner/issues/detail?id=8539)
-
- Fixed edge case for case independent regexp character classes
- (issue 2032).
-
- Reset function info counters after context disposal.
- (Chromium issue 117767, V8 issue 1902)
-
- Fixed missing write barrier in CopyObjectToObjectElements.
- (Chromium issue 119926)
-
- Fixed missing bounds check in HasElementImpl.
- (Chromium issue 119925)
-
- Performance and stability improvements on all platforms.
-
-
2012-03-23: Version 3.9.24
Activated count-based profiler for ARM.
View
@@ -137,28 +137,34 @@ ENVFILE = $(OUTDIR)/environment
# Target definitions. "all" is the default.
all: $(MODES)
+# Special target for the buildbots to use. Depends on $(OUTDIR)/Makefile
+# having been created before.
+buildbot:
+ $(MAKE) -C "$(OUTDIR)" BUILDTYPE=$(BUILDTYPE) \
+ builddir="$(abspath $(OUTDIR))/$(BUILDTYPE)"
+
# Compile targets. MODES and ARCHES are convenience targets.
.SECONDEXPANSION:
$(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES))
$(ARCHES): $(addprefix $$@.,$(MODES))
# Defines how to build a particular target (e.g. ia32.release).
-$(BUILDS): $(OUTDIR)/Makefile.$$(basename $$@)
- @$(MAKE) -C "$(OUTDIR)" -f Makefile.$(basename $@) \
+$(BUILDS): $(OUTDIR)/Makefile-$$(basename $$@)
+ @$(MAKE) -C "$(OUTDIR)" -f Makefile-$(basename $@) \
CXX="$(CXX)" LINK="$(LINK)" \
BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \
python -c "print raw_input().capitalize()") \
builddir="$(shell pwd)/$(OUTDIR)/$@"
-native: $(OUTDIR)/Makefile.native
- @$(MAKE) -C "$(OUTDIR)" -f Makefile.native \
+native: $(OUTDIR)/Makefile-native
+ @$(MAKE) -C "$(OUTDIR)" -f Makefile-native \
CXX="$(CXX)" LINK="$(LINK)" BUILDTYPE=Release \
builddir="$(shell pwd)/$(OUTDIR)/$@"
# TODO(jkummerow): add "android.debug" when we need it.
-android android.release: $(OUTDIR)/Makefile.android
- @$(MAKE) -C "$(OUTDIR)" -f Makefile.android \
+android android.release: $(OUTDIR)/Makefile-android
+ @$(MAKE) -C "$(OUTDIR)" -f Makefile-android \
CXX="$(ANDROID_TOOL_PREFIX)-g++" \
AR="$(ANDROID_TOOL_PREFIX)-ar" \
RANLIB="$(ANDROID_TOOL_PREFIX)-ranlib" \
@@ -191,40 +197,55 @@ native.check: native
--arch-and-mode=. $(TESTFLAGS)
# Clean targets. You can clean each architecture individually, or everything.
-$(addsuffix .clean,$(ARCHES)) android.clean:
- rm -f $(OUTDIR)/Makefile.$(basename $@)
+$(addsuffix .clean,$(ARCHES)):
+ rm -f $(OUTDIR)/Makefile-$(basename $@)
rm -rf $(OUTDIR)/$(basename $@).release
rm -rf $(OUTDIR)/$(basename $@).debug
- find $(OUTDIR) -regex '.*\(host\|target\).$(basename $@)\.mk' -delete
+ find $(OUTDIR) -regex '.*\(host\|target\)-$(basename $@)\.mk' -delete
native.clean:
- rm -f $(OUTDIR)/Makefile.native
+ rm -f $(OUTDIR)/Makefile-native
rm -rf $(OUTDIR)/native
- find $(OUTDIR) -regex '.*\(host\|target\).native\.mk' -delete
+ find $(OUTDIR) -regex '.*\(host\|target\)-native\.mk' -delete
+
+android.clean:
+ rm -f $(OUTDIR)/Makefile-android
+ rm -rf $(OUTDIR)/android.release
+ find $(OUTDIR) -regex '.*\(host\|target\)-android\.mk' -delete
-clean: $(addsuffix .clean,$(ARCHES)) native.clean android.clean
+clean: $(addsuffix .clean,$(ARCHES)) native.clean
# GYP file generation targets.
-MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ARCHES))
-$(MAKEFILES): $(GYPFILES) $(ENVFILE)
- GYP_GENERATORS=make \
+$(OUTDIR)/Makefile-ia32: $(GYPFILES) $(ENVFILE)
+ build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
+ -Ibuild/standalone.gypi --depth=. -Dtarget_arch=ia32 \
+ -S-ia32 $(GYPFLAGS)
+
+$(OUTDIR)/Makefile-x64: $(GYPFILES) $(ENVFILE)
+ build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
+ -Ibuild/standalone.gypi --depth=. -Dtarget_arch=x64 \
+ -S-x64 $(GYPFLAGS)
+
+$(OUTDIR)/Makefile-arm: $(GYPFILES) $(ENVFILE) build/armu.gypi
+ build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
+ -Ibuild/standalone.gypi --depth=. -Ibuild/armu.gypi \
+ -S-arm $(GYPFLAGS)
+
+$(OUTDIR)/Makefile-mips: $(GYPFILES) $(ENVFILE) build/mipsu.gypi
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
- -Ibuild/standalone.gypi --depth=. \
- -Dv8_target_arch=$(subst .,,$(suffix $@)) \
- -S.$(subst .,,$(suffix $@)) $(GYPFLAGS)
+ -Ibuild/standalone.gypi --depth=. -Ibuild/mipsu.gypi \
+ -S-mips $(GYPFLAGS)
-$(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE)
- GYP_GENERATORS=make \
+$(OUTDIR)/Makefile-native: $(GYPFILES) $(ENVFILE)
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
- -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS)
+ -Ibuild/standalone.gypi --depth=. -S-native $(GYPFLAGS)
-$(OUTDIR)/Makefile.android: $(GYPFILES) $(ENVFILE) build/android.gypi \
+$(OUTDIR)/Makefile-android: $(GYPFILES) $(ENVFILE) build/android.gypi \
must-set-ANDROID_NDK_ROOT
- GYP_GENERATORS=make \
CC="${ANDROID_TOOL_PREFIX}-gcc" \
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
-Ibuild/standalone.gypi --depth=. -Ibuild/android.gypi \
- -S.android $(GYPFLAGS)
+ -S-android $(GYPFLAGS)
must-set-ANDROID_NDK_ROOT:
ifndef ANDROID_NDK_ROOT
@@ -240,10 +261,9 @@ $(ENVFILE): $(ENVFILE).new
# Stores current GYPFLAGS in a file.
$(ENVFILE).new:
- @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \
- echo "CXX=$(CXX)" >> $(ENVFILE).new
+ @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new;
# Dependencies.
dependencies:
svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
- --revision 1282
+ --revision 1026
View
@@ -1601,4 +1601,17 @@ except:
pass
+def WarnAboutDeprecation():
+ print """
+#######################################################
+# WARNING: Building V8 with SCons is deprecated and #
+# will not work much longer. Please switch to using #
+# the GYP-based build now. Instructions are at #
+# http://code.google.com/p/v8/wiki/BuildingWithGYP. #
+#######################################################
+ """
+
+WarnAboutDeprecation()
+import atexit
+atexit.register(WarnAboutDeprecation)
Build()
@@ -0,0 +1,36 @@
+# Copyright 2011 the V8 project authors. All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following
+# disclaimer in the documentation and/or other materials provided
+# with the distribution.
+# * Neither the name of Google Inc. nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+{
+ 'variables': {
+ 'target_arch': 'ia32',
+ 'v8_target_arch': 'arm',
+ 'armv7': 1,
+ 'arm_neon': 0,
+ 'arm_fpu': 'vfpv3',
+ },
+}
Oops, something went wrong.

2 comments on commit 940a686

@mscdex
mscdex commented on 940a686 Jun 9, 2012

Back to 3.9? What was wrong with 3.10.8.x ?

@bnoordhuis
Member
Please sign in to comment.