Permalink
Browse files

Upgrade V8 to 3.6.1

  • Loading branch information...
1 parent 526c54c commit 0bca54444a5bb869ddebaadc65cd0bf381bb1e81 @ry ry committed Sep 8, 2011
Showing with 5,390 additions and 2,908 deletions.
  1. +43 −0 deps/v8/ChangeLog
  2. +3 −2 deps/v8/Makefile
  3. +1 −1 deps/v8/benchmarks/crypto.js
  4. +25 −25 deps/v8/benchmarks/earley-boyer.js
  5. +3 −3 deps/v8/benchmarks/regexp.js
  6. +2 −8 deps/v8/build/all.gyp
  7. +9 −1 deps/v8/build/common.gypi
  8. +2 −5 deps/v8/build/standalone.gypi
  9. +2 −2 deps/v8/include/v8.h
  10. +2 −4 deps/v8/samples/shell.cc
  11. +2 −0 deps/v8/src/accessors.cc
  12. +4 −4 deps/v8/src/arm/assembler-arm.cc
  13. +8 −8 deps/v8/src/arm/builtins-arm.cc
  14. +150 −75 deps/v8/src/arm/code-stubs-arm.cc
  15. +323 −296 deps/v8/src/arm/full-codegen-arm.cc
  16. +3 −3 deps/v8/src/arm/ic-arm.cc
  17. +7 −8 deps/v8/src/arm/lithium-codegen-arm.cc
  18. +40 −0 deps/v8/src/arm/macro-assembler-arm.cc
  19. +10 −0 deps/v8/src/arm/macro-assembler-arm.h
  20. +1 −1 deps/v8/src/arm/regexp-macro-assembler-arm.cc
  21. +3 −3 deps/v8/src/arm/stub-cache-arm.cc
  22. +38 −25 deps/v8/src/array.js
  23. +1 −33 deps/v8/src/ast.cc
  24. +15 −119 deps/v8/src/ast.h
  25. +13 −7 deps/v8/src/bootstrapper.cc
  26. +3 −3 deps/v8/src/checks.h
  27. +10 −1 deps/v8/src/contexts.cc
  28. +29 −2 deps/v8/src/contexts.h
  29. +2 −2 deps/v8/src/conversions.h
  30. +8 −6 deps/v8/src/d8.cc
  31. +1 −1 deps/v8/src/d8.js
  32. +6 −5 deps/v8/src/date.js
  33. +0 −1 deps/v8/src/elements.cc
  34. +4 −2 deps/v8/src/extensions/externalize-string-extension.cc
  35. +29 −63 deps/v8/src/full-codegen.cc
  36. +60 −29 deps/v8/src/full-codegen.h
  37. +80 −4 deps/v8/src/heap.cc
  38. +23 −2 deps/v8/src/heap.h
  39. +13 −5 deps/v8/src/hydrogen-instructions.cc
  40. +14 −13 deps/v8/src/hydrogen-instructions.h
  41. +263 −187 deps/v8/src/hydrogen.cc
  42. +7 −5 deps/v8/src/hydrogen.h
  43. +7 −7 deps/v8/src/ia32/builtins-ia32.cc
  44. +93 −16 deps/v8/src/ia32/code-stubs-ia32.cc
  45. +346 −325 deps/v8/src/ia32/full-codegen-ia32.cc
  46. +2 −2 deps/v8/src/ia32/ic-ia32.cc
  47. +5 −7 deps/v8/src/ia32/lithium-codegen-ia32.cc
  48. +43 −7 deps/v8/src/ia32/macro-assembler-ia32.cc
  49. +16 −5 deps/v8/src/ia32/macro-assembler-ia32.h
  50. +1 −1 deps/v8/src/ia32/regexp-macro-assembler-ia32.cc
  51. +1 −1 deps/v8/src/ia32/stub-cache-ia32.cc
  52. +0 −5 deps/v8/src/isolate.cc
  53. +0 −4 deps/v8/src/isolate.h
  54. +3 −2 deps/v8/src/json.js
  55. +5 −3 deps/v8/src/jsregexp.cc
  56. +1 −1 deps/v8/src/jsregexp.h
  57. +3 −4 deps/v8/src/liveedit.cc
  58. +16 −2 deps/v8/src/macros.py
  59. +7 −7 deps/v8/src/math.js
  60. +305 −265 deps/v8/src/messages.js
  61. +39 −7 deps/v8/src/mips/assembler-mips.cc
  62. +6 −6 deps/v8/src/mips/builtins-mips.cc
  63. +164 −74 deps/v8/src/mips/code-stubs-mips.cc
  64. +2 −4 deps/v8/src/mips/constants-mips.h
  65. +65 −48 deps/v8/src/mips/frames-mips.h
  66. +156 −50 deps/v8/src/mips/full-codegen-mips.cc
  67. +3 −3 deps/v8/src/mips/ic-mips.cc
  68. +128 −20 deps/v8/src/mips/macro-assembler-mips.cc
  69. +18 −3 deps/v8/src/mips/macro-assembler-mips.h
  70. +1 −1 deps/v8/src/mips/regexp-macro-assembler-mips.cc
  71. +4 −13 deps/v8/src/mips/simulator-mips.cc
  72. +3 −3 deps/v8/src/mips/stub-cache-mips.cc
  73. +0 −12 deps/v8/src/mksnapshot.cc
  74. +11 −5 deps/v8/src/objects-inl.h
  75. +1 −1 deps/v8/src/objects.cc
  76. +5 −0 deps/v8/src/objects.h
  77. +86 −34 deps/v8/src/parser.cc
  78. +11 −0 deps/v8/src/parser.h
  79. +0 −6 deps/v8/src/platform-linux.cc
  80. +38 −60 deps/v8/src/prettyprinter.cc
  81. +0 −3 deps/v8/src/prettyprinter.h
  82. +30 −4 deps/v8/src/profile-generator.cc
  83. +4 −2 deps/v8/src/profile-generator.h
  84. +3 −3 deps/v8/src/regexp.js
  85. +2 −4 deps/v8/src/runtime-profiler.cc
  86. +99 −26 deps/v8/src/runtime.cc
  87. +12 −1 deps/v8/src/runtime.h
  88. +1 −0 deps/v8/src/runtime.js
  89. +1 −1 deps/v8/src/scanner-base.h
  90. +0 −2 deps/v8/src/scanner.h
  91. +29 −36 deps/v8/src/scopeinfo.cc
  92. +111 −40 deps/v8/src/scopes.cc
  93. +12 −7 deps/v8/src/scopes.h
  94. +2 −1 deps/v8/src/spaces-inl.h
  95. +28 −32 deps/v8/src/string.js
  96. +1 −1 deps/v8/src/stub-cache.h
  97. +1 −0 deps/v8/src/token.h
  98. +4 −3 deps/v8/src/uri.js
  99. +136 −125 deps/v8/src/v8natives.js
  100. +2 −29 deps/v8/src/variables.cc
  101. +42 −13 deps/v8/src/variables.h
  102. +3 −3 deps/v8/src/version.cc
  103. +9 −8 deps/v8/src/weakmap.js
  104. +3 −3 deps/v8/src/x64/builtins-x64.cc
  105. +93 −16 deps/v8/src/x64/code-stubs-x64.cc
  106. +339 −324 deps/v8/src/x64/full-codegen-x64.cc
  107. +1 −1 deps/v8/src/x64/ic-x64.cc
  108. +5 −6 deps/v8/src/x64/lithium-codegen-x64.cc
  109. +47 −11 deps/v8/src/x64/macro-assembler-x64.cc
  110. +12 −1 deps/v8/src/x64/macro-assembler-x64.h
  111. +1 −1 deps/v8/src/x64/regexp-macro-assembler-x64.cc
  112. +2 −2 deps/v8/src/x64/stub-cache-x64.cc
  113. +14 −1 deps/v8/test/cctest/cctest.gyp
  114. +4 −0 deps/v8/test/cctest/cctest.status
  115. +15 −11 deps/v8/test/cctest/test-api.cc
  116. +14 −0 deps/v8/test/cctest/test-assembler-arm.cc
  117. +14 −0 deps/v8/test/cctest/test-assembler-ia32.cc
  118. +17 −1 deps/v8/test/cctest/test-assembler-mips.cc
  119. +14 −0 deps/v8/test/cctest/test-assembler-x64.cc
  120. +2 −2 deps/v8/test/cctest/test-compiler.cc
  121. +34 −29 deps/v8/test/cctest/test-disasm-mips.cc
  122. +5 −4 deps/v8/test/cctest/test-regexp.cc
  123. +29 −0 deps/v8/test/cctest/test-strings.cc
  124. +3 −3 deps/v8/test/es5conform/es5conform.status
  125. +4 −4 deps/v8/test/mjsunit/array-constructor.js
  126. +6 −6 deps/v8/test/mjsunit/array-iteration.js
  127. +1 −1 deps/v8/test/mjsunit/array-sort.js
  128. +2 −2 deps/v8/test/mjsunit/bugs/618.js
  129. +3 −3 deps/v8/test/mjsunit/bugs/bug-618.js
  130. +82 −0 deps/v8/test/mjsunit/builtins.js
  131. +4 −3 deps/v8/test/mjsunit/compiler/delete.js
  132. +1 −1 deps/v8/test/mjsunit/compiler/global-accessors.js
  133. +2 −2 deps/v8/test/mjsunit/const-redecl.js
  134. +2 −3 deps/v8/test/mjsunit/d8-os.js
  135. +1 −1 deps/v8/test/mjsunit/date-parse.js
  136. +1 −1 deps/v8/test/mjsunit/debug-compile-event.js
  137. +1 −1 deps/v8/test/mjsunit/debug-evaluate-recursive.js
  138. +2 −2 deps/v8/test/mjsunit/debug-handle.js
  139. +1 −1 deps/v8/test/mjsunit/debug-listbreakpoints.js
  140. +2 −2 deps/v8/test/mjsunit/debug-references.js
  141. +4 −4 deps/v8/test/mjsunit/debug-return-value.js
  142. +2 −2 deps/v8/test/mjsunit/debug-stepin-call-function-stub.js
  143. +1 −1 deps/v8/test/mjsunit/debug-stepin-constructor.js
  144. +1 −1 deps/v8/test/mjsunit/delete-in-with.js
  145. +1 −1 deps/v8/test/mjsunit/function-source.js
  146. +1 −1 deps/v8/test/mjsunit/get-own-property-descriptor.js
  147. +1 −1 deps/v8/test/mjsunit/global-deleted-property-keyed.js
  148. +126 −0 deps/v8/test/mjsunit/harmony/block-conflicts.js
  149. +225 −0 deps/v8/test/mjsunit/harmony/block-leave.js
  150. +63 −0 deps/v8/test/mjsunit/harmony/block-let-crankshaft.js
  151. +0 −2 deps/v8/test/mjsunit/harmony/block-let-declaration.js
  152. +138 −0 deps/v8/test/mjsunit/harmony/block-let-semantics.js
  153. +99 −22 deps/v8/test/mjsunit/harmony/debug-blockscopes.js
  154. +1 −0 deps/v8/test/mjsunit/harmony/weakmaps.js
  155. +1 −1 deps/v8/test/mjsunit/html-string-funcs.js
  156. +1 −1 deps/v8/test/mjsunit/in.js
  157. +3 −3 deps/v8/test/mjsunit/instanceof.js
  158. +1 −1 deps/v8/test/mjsunit/keyed-storage-extend.js
  159. +2 −2 deps/v8/test/mjsunit/mirror-array.js
  160. +1 −1 deps/v8/test/mjsunit/mirror-function.js
  161. +1 −1 deps/v8/test/mjsunit/mirror-script.js
  162. +1 −1 deps/v8/test/mjsunit/mirror-unresolved-function.js
  163. +7 −1 deps/v8/test/mjsunit/mjsunit.status
  164. +2 −2 deps/v8/test/mjsunit/no-semicolon.js
  165. +1 −1 deps/v8/test/mjsunit/object-define-properties.js
  166. +1 −1 deps/v8/test/mjsunit/object-literal-conversions.js
  167. +2 −2 deps/v8/test/mjsunit/object-literal-overwrite.js
  168. +1 −1 deps/v8/test/mjsunit/object-prevent-extensions.js
  169. +13 −0 deps/v8/test/mjsunit/parse-int-float.js
  170. +1 −1 deps/v8/test/mjsunit/regress/regress-1081309.js
  171. +1 −1 deps/v8/test/mjsunit/regress/regress-1092.js
  172. +1 −1 deps/v8/test/mjsunit/regress/regress-1110.js
  173. +1 −1 deps/v8/test/mjsunit/regress/regress-1213575.js
  174. +36 −0 deps/v8/test/mjsunit/regress/regress-1215.js
  175. +8 −0 deps/v8/test/mjsunit/regress/regress-1447.js
  176. +48 −0 deps/v8/test/mjsunit/regress/regress-1548.js
  177. +43 −0 deps/v8/test/mjsunit/regress/regress-1647.js
  178. +60 −0 deps/v8/test/mjsunit/regress/regress-1650.js
  179. +1 −1 deps/v8/test/mjsunit/regress/regress-1919169.js
  180. +1 −1 deps/v8/test/mjsunit/regress/regress-20070207.js
  181. +2 −2 deps/v8/test/mjsunit/regress/regress-269.js
  182. +1 −1 deps/v8/test/mjsunit/regress/regress-619.js
  183. +4 −4 deps/v8/test/mjsunit/regress/regress-678525.js
  184. +1 −1 deps/v8/test/mjsunit/regress/regress-696.js
  185. +1 −1 deps/v8/test/mjsunit/regress/regress-720.js
  186. +2 −2 deps/v8/test/mjsunit/regress/regress-747.js
  187. +1 −1 deps/v8/test/mjsunit/regress/regress-760-1.js
  188. +1 −1 deps/v8/test/mjsunit/regress/regress-760-2.js
  189. +7 −7 deps/v8/test/mjsunit/regress/regress-798.js
  190. +1 −1 deps/v8/test/mjsunit/regress/regress-918.js
  191. +2 −2 deps/v8/test/mjsunit/regress/regress-925537.js
  192. +1 −1 deps/v8/test/mjsunit/regress/regress-937896.js
  193. +46 −0 deps/v8/test/mjsunit/regress/regress-94425.js
  194. +48 −0 deps/v8/test/mjsunit/regress/regress-95113.js
  195. +42 −0 deps/v8/test/mjsunit/regress/regress-95485.js
  196. +44 −0 deps/v8/test/mjsunit/regress/regress-fundecl.js
  197. +13 −13 deps/v8/test/mjsunit/setter-on-constructor-prototype.js
  198. +3 −2 deps/v8/test/mjsunit/string-compare-alignment.js
  199. +2 −2 deps/v8/test/mjsunit/string-indexof-1.js
  200. +3 −3 deps/v8/test/mjsunit/string-indexof-2.js
  201. +6 −5 deps/v8/test/mjsunit/string-slices.js
  202. +2 −2 deps/v8/test/mjsunit/string-split.js
  203. +1 −1 deps/v8/test/mjsunit/substr.js
  204. +1 −1 deps/v8/test/mjsunit/this-property-assignment.js
  205. +2 −2 deps/v8/test/mjsunit/try.js
  206. +2 −2 deps/v8/test/mjsunit/unicode-test.js
  207. +7 −7 deps/v8/test/mjsunit/value-wrapper.js
  208. +6 −2 deps/v8/test/mozilla/mozilla.status
  209. +1 −1 deps/v8/tools/gdb-v8-support.py
  210. +38 −4 deps/v8/tools/presubmit.py
  211. +3 −3 deps/v8/tools/process-heap-prof.py
  212. +14 −2 deps/v8/tools/test-wrapper-gypbuild.py
  213. +8 −1 deps/v8/tools/test.py
View
@@ -1,3 +1,46 @@
+2011-09-07: Version 3.6.1
+
+ Fixed a bug in abrupt exit from with or catch inside finally.
+
+ Fixed possible crash in FixedDoubleArray::Initialize() (Chromium
+ issue 95113).
+
+ Fixed a bug in Page::GetRegionMaskForSpan (Chromium issue 94425).
+
+ Fixed a few clang warnings (which -Werror treated as errors).
+
+ Performance improvements on all platforms.
+
+
+2011-09-05: Version 3.6.0
+
+ Fixed a bug when optimizing named function expression (issue 1647).
+
+ Fixed a bug when optimizing f.call.apply (issue 1650).
+
+ Made arguments and caller always be null on native functions
+ (issues 1548 and 1643).
+
+ Fixed issue 1648 (cross-compiling x64 targeting ia32).
+
+ Fixed issue 371 (d8 printing of strings containing \0).
+
+ Fixed order of evaluation in arguments to parseInt (issue 1649).
+
+ Fixed a problem with large heap snapshots in Chrome DevTools
+ (issue 1658, chromium issue 89268).
+
+ Upped default maximum heap size from 512M to 700M.
+
+
+2011-08-31: Version 3.5.10
+
+ Added dependency of v8_base on WinSocket2 Windows library in
+ the GYP-build.
+
+ Various bugfixes.
+
+
2011-08-29: Version 3.5.9
Made FromPropertyDescriptor not trigger inherited setters.
View
@@ -98,8 +98,9 @@ CHECKS = $(addsuffix .check,$(BUILDS))
# File where previously used GYPFLAGS are stored.
ENVFILE = $(OUTDIR)/environment
-.PHONY: all clean $(ENVFILE).new \
- $(ARCHES) $(MODES) $(BUILDS) $(addsuffix .clean,$(ARCHES))
+.PHONY: all check clean $(ENVFILE).new \
+ $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \
+ $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES))
# Target definitions. "all" is the default.
all: $(MODES)
@@ -1406,7 +1406,7 @@ function rng_seed_int(x) {
// Mix in the current time (w/milliseconds) into the pool
function rng_seed_time() {
- // Use pre-computed date to avoid making the benchmark
+ // Use pre-computed date to avoid making the benchmark
// results dependent on the current date.
rng_seed_int(1122926989487);
}
@@ -134,7 +134,7 @@ function sc_rempropBang(sym, key) {
/*** META ((export #t)) */
function sc_any2String(o) {
return jsstring2string(sc_toDisplayString(o));
-}
+}
/*** META ((export #t)
(peephole (infix 2 2 "==="))
@@ -923,7 +923,7 @@ function sc_dualAppendBang(l1, l2) {
tmp.cdr = l2;
return l1;
}
-
+
/*** META ((export #t)) */
function sc_appendBang() {
var res = null;
@@ -1163,7 +1163,7 @@ sc_Char.readable2char = {
"us": "\037",
"sp": "\040",
"del": "\177"};
-
+
sc_Char.prototype.toString = function() {
return this.val;
};
@@ -1533,7 +1533,7 @@ function sc_mapBang(proc, l1) {
}
return l1_orig;
}
-
+
/*** META ((export #t)) */
function sc_forEach(proc, l1) {
if (l1 === undefined)
@@ -1871,7 +1871,7 @@ function sc_jsNew(c) {
evalStr += ", arguments[" + i + "]";
evalStr +=")";
return eval(evalStr);
-}
+}
// ======================== RegExp ====================
/*** META ((export #t)) */
@@ -1883,9 +1883,9 @@ function sc_pregexp(re) {
function sc_pregexpMatch(re, s) {
var reg = (re instanceof RegExp) ? re : sc_pregexp(re);
var tmp = reg.exec(sc_string2jsstring(s));
-
+
if (tmp == null) return false;
-
+
var res = null;
for (var i = tmp.length-1; i >= 0; i--) {
if (tmp[i] !== null) {
@@ -1896,7 +1896,7 @@ function sc_pregexpMatch(re, s) {
}
return res;
}
-
+
/*** META ((export #t)) */
function sc_pregexpReplace(re, s1, s2) {
var reg;
@@ -1914,7 +1914,7 @@ function sc_pregexpReplace(re, s1, s2) {
return jss1.replace(reg, jss2);
}
-
+
/*** META ((export pregexp-replace*)) */
function sc_pregexpReplaceAll(re, s1, s2) {
var reg;
@@ -1945,7 +1945,7 @@ function sc_pregexpSplit(re, s) {
return sc_vector2list(tmp);
}
-
+
/* =========================================================================== */
/* Other library stuff */
@@ -2136,7 +2136,7 @@ sc_ErrorInputPort.prototype.getNextChar = function() {
sc_ErrorInputPort.prototype.isCharReady = function() {
return false;
};
-
+
/* .............. String port ..........................*/
@@ -2200,7 +2200,7 @@ sc_Tokenizer.prototype.readToken = function() {
};
sc_Tokenizer.prototype.nextToken = function() {
var port = this.port;
-
+
function isNumberChar(c) {
return (c >= "0" && c <= "9");
};
@@ -2280,7 +2280,7 @@ sc_Tokenizer.prototype.nextToken = function() {
else
return new sc_Token(12/*NUMBER*/, res - 0);
};
-
+
function skipWhitespaceAndComments() {
var done = false;
while (!done) {
@@ -2299,7 +2299,7 @@ sc_Tokenizer.prototype.nextToken = function() {
}
}
};
-
+
function readDot() {
if (isWhitespace(port.peekChar()))
return new sc_Token(10/*DOT*/);
@@ -2429,7 +2429,7 @@ sc_Reader.prototype.read = function() {
while (true) {
var token = tokenizer.peekToken();
-
+
switch (token.type) {
case 2/*CLOSE_PAR*/:
case 4/*CLOSE_BRACE*/:
@@ -2491,15 +2491,15 @@ sc_Reader.prototype.read = function() {
else
throw "bad reference: " + nb;
};
-
+
var tokenizer = this.tokenizer;
var token = tokenizer.readToken();
// handle error
if (token.type === 13/*ERROR*/)
throw token.val;
-
+
switch (token.type) {
case 1/*OPEN_PAR*/:
case 3/*OPEN_BRACE*/:
@@ -2550,7 +2550,7 @@ function sc_peekChar(port) {
port = SC_DEFAULT_IN; // THREAD: shared var...
var t = port.peekChar();
return t === SC_EOF_OBJECT? t: new sc_Char(t);
-}
+}
/*** META ((export #t)
(type bool))
*/
@@ -2722,7 +2722,7 @@ sc_StringOutputPort.prototype.close = function() {
function sc_getOutputString(sp) {
return sc_jsstring2string(sp.res);
}
-
+
function sc_ErrorOutputPort() {
}
@@ -2852,7 +2852,7 @@ function sc_newline(p) {
p = SC_DEFAULT_OUT;
p.appendJSString("\n");
}
-
+
/* ------------------ write-char ---------------------------------------------------*/
/*** META ((export #t)) */
@@ -2927,7 +2927,7 @@ sc_Pair.prototype.sc_toWriteCircleString = function(symb, inList) {
}
var res = "";
-
+
if (this[symb] !== undefined) { // implies > 0
this[symb + "use"] = true;
if (inList)
@@ -2939,10 +2939,10 @@ sc_Pair.prototype.sc_toWriteCircleString = function(symb, inList) {
if (!inList)
res += "(";
-
+
// print car
res += sc_genToWriteCircleString(this.car, symb);
-
+
if (sc_isPair(this.cdr)) {
res += " " + this.cdr.sc_toWriteCircleString(symb, true);
} else if (this.cdr !== null) {
@@ -3072,7 +3072,7 @@ function sc_format(s, args) {
p.appendJSString(arguments[j].toString(2));
i += 2; j++;
break;
-
+
case 37:
case 110:
// %, n
@@ -3186,7 +3186,7 @@ function sc_isEqual(o1, o2) {
function sc_number2symbol(x, radix) {
return sc_SYMBOL_PREFIX + sc_number2jsstring(x, radix);
}
-
+
/*** META ((export number->string integer->string)) */
var sc_number2string = sc_number2jsstring;
@@ -33,7 +33,7 @@
// the popularity of the pages where it occurs and the number of times
// it is executed while loading each page. Furthermore the literal
// letters in the data are encoded using ROT13 in a way that does not
-// affect how the regexps match their input. Finally the strings are
+// affect how the regexps match their input. Finally the strings are
// scrambled to exercise the regexp engine on different input strings.
@@ -47,7 +47,7 @@ function RegExpSetup() {
regExpBenchmark = new RegExpBenchmark();
RegExpRun(); // run once to get system initialized
}
-
+
function RegExpRun() {
regExpBenchmark.run();
}
@@ -1759,6 +1759,6 @@ function RegExpBenchmark() {
runBlock11();
}
}
-
+
this.run = run;
}
View
@@ -1,4 +1,4 @@
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Copyright 2011 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -11,13 +11,7 @@
'../preparser/preparser.gyp:*',
'../samples/samples.gyp:*',
'../src/d8.gyp:d8',
- ],
- 'conditions': [
- [ 'component!="shared_library"', {
- 'dependencies': [
- '../test/cctest/cctest.gyp:*',
- ],
- }]
+ '../test/cctest/cctest.gyp:*',
],
}
]
View
@@ -173,6 +173,14 @@
},
},
}],
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ 'conditions': [
+ [ 'target_arch=="ia32"', {
+ 'cflags': [ '-m32' ],
+ 'ldflags': [ '-m32' ],
+ }],
+ ],
+ }],
],
'configurations': {
'Debug': {
@@ -207,7 +215,7 @@
'cflags': [ '-I/usr/local/include' ],
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
- 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter',
+ 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter',
'-Wnon-virtual-dtor' ],
}],
],
@@ -74,15 +74,11 @@
'conditions': [
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'target_defaults': {
- 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter',
+ 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter',
'-Wnon-virtual-dtor', '-pthread', '-fno-rtti',
'-fno-exceptions', '-pedantic' ],
'ldflags': [ '-pthread', ],
'conditions': [
- [ 'target_arch=="ia32"', {
- 'cflags': [ '-m32' ],
- 'ldflags': [ '-m32' ],
- }],
[ 'OS=="linux"', {
'cflags': [ '-ansi' ],
}],
@@ -172,6 +168,7 @@
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
'GCC_VERSION': '4.2',
'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
'MACOSX_DEPLOYMENT_TARGET': '10.4', # -mmacosx-version-min=10.4
View
@@ -1656,7 +1656,7 @@ class Object : public Value {
V8EXPORT bool IsCallable();
/**
- * Call an Object as a function if a callback is set by the
+ * Call an Object as a function if a callback is set by the
* ObjectTemplate::SetCallAsFunctionHandler method.
*/
V8EXPORT Local<Value> CallAsFunction(Handle<Object> recv,
@@ -3562,7 +3562,7 @@ class V8EXPORT Context {
* // V8 Now no longer locked.
* \endcode
*
- *
+ *
*/
class V8EXPORT Unlocker {
public:
Oops, something went wrong.

0 comments on commit 0bca544

Please sign in to comment.