diff options
author | Trevor Norris <trev.norris@gmail.com> | 2013-07-22 15:26:27 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2013-07-22 15:53:10 -0700 |
commit | 5777d7ab3038983d368046ab40eb34075f635348 (patch) | |
tree | da7c01759b83e7afa463cbaac095a051f158eb44 /deps/v8/tools | |
parent | 254b711155996e379a41a569a38dd98dbd7a6e47 (diff) | |
download | node-new-5777d7ab3038983d368046ab40eb34075f635348.tar.gz |
v8: upgrade to v8 3.20.7
Diffstat (limited to 'deps/v8/tools')
-rw-r--r-- | deps/v8/tools/blink_tests/TestExpectations | 8 | ||||
-rwxr-xr-x | deps/v8/tools/grokdump.py | 5 | ||||
-rw-r--r-- | deps/v8/tools/gyp/v8.gyp | 37 | ||||
-rw-r--r-- | deps/v8/tools/oom_dump/oom_dump.cc | 1 | ||||
-rwxr-xr-x | deps/v8/tools/presubmit.py | 36 | ||||
-rw-r--r-- | deps/v8/tools/profviz/composer.js | 4 |
6 files changed, 82 insertions, 9 deletions
diff --git a/deps/v8/tools/blink_tests/TestExpectations b/deps/v8/tools/blink_tests/TestExpectations index 5c75db0d7e..b5f4905f60 100644 --- a/deps/v8/tools/blink_tests/TestExpectations +++ b/deps/v8/tools/blink_tests/TestExpectations @@ -17,3 +17,11 @@ [ Linux Debug ] fast/text/international/danda-space.html [ Pass Failure Slow ] [ Linux Debug ] fast/text/international/thai-baht-space.html [ Pass Failure Slow ] [ Linux Debug ] fast/text/international/thai-line-breaks.html [ Pass Failure Slow ] +crbug.com/108833 [ Win Debug ] plugins/geturlnotify-during-document-teardown.html [ Crash Failure Timeout ] +webkit.org/b/48655 [ Win Debug ] plugins/js-from-destroy.html [ Crash Timeout ] +crbug.com/178745 [ Win Debug ] plugins/open-and-close-window-with-plugin.html [ Crash Failure Timeout ] + +# Slow on the trunk builder: +[ Linux Debug ] fast/js/regress/function-dot-apply.html [ Slow ] +crbug.com/249894 [ Linux Debug ] fast/js/regress/inline-arguments-access.html [ Pass Failure Crash Slow ] +[ Linux Debug ] fast/js/regress/inline-arguments-local-escape.html [ Slow ] diff --git a/deps/v8/tools/grokdump.py b/deps/v8/tools/grokdump.py index ccdc4b379e..9719376d7f 100755 --- a/deps/v8/tools/grokdump.py +++ b/deps/v8/tools/grokdump.py @@ -918,8 +918,9 @@ INSTANCE_TYPES = { 180: "JS_ARRAY_TYPE", 171: "JS_PROXY_TYPE", 183: "JS_WEAK_MAP_TYPE", - 184: "JS_REGEXP_TYPE", - 185: "JS_FUNCTION_TYPE", + 184: "JS_WEAK_SET_TYPE", + 185: "JS_REGEXP_TYPE", + 186: "JS_FUNCTION_TYPE", 170: "JS_FUNCTION_PROXY_TYPE", 165: "DEBUG_INFO_TYPE", 166: "BREAK_POINT_INFO_TYPE", diff --git a/deps/v8/tools/gyp/v8.gyp b/deps/v8/tools/gyp/v8.gyp index 892e437dce..3f666039d7 100644 --- a/deps/v8/tools/gyp/v8.gyp +++ b/deps/v8/tools/gyp/v8.gyp @@ -29,7 +29,7 @@ 'variables': { 'v8_code': 1, }, - 'includes': ['../../build/common.gypi'], + 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 'targets': [ { 'target_name': 'v8', @@ -335,6 +335,16 @@ '../../src/heap-snapshot-generator.h', '../../src/heap.cc', '../../src/heap.h', + '../../src/hydrogen-bce.cc', + '../../src/hydrogen-bce.h', + '../../src/hydrogen-canonicalize.cc', + '../../src/hydrogen-canonicalize.h', + '../../src/hydrogen-dce.cc', + '../../src/hydrogen-dce.h', + '../../src/hydrogen-dehoist.cc', + '../../src/hydrogen-dehoist.h', + '../../src/hydrogen-deoptimizing-mark.cc', + '../../src/hydrogen-deoptimizing-mark.h', '../../src/hydrogen-environment-liveness.cc', '../../src/hydrogen-environment-liveness.h', '../../src/hydrogen-escape-analysis.cc', @@ -347,12 +357,26 @@ '../../src/hydrogen-gvn.h', '../../src/hydrogen-infer-representation.cc', '../../src/hydrogen-infer-representation.h', + '../../src/hydrogen-infer-types.cc', + '../../src/hydrogen-infer-types.h', + '../../src/hydrogen-minus-zero.cc', + '../../src/hydrogen-minus-zero.h', '../../src/hydrogen-range-analysis.cc', '../../src/hydrogen-range-analysis.h', + '../../src/hydrogen-redundant-phi.cc', + '../../src/hydrogen-redundant-phi.h', + '../../src/hydrogen-removable-simulates.cc', + '../../src/hydrogen-removable-simulates.h', + '../../src/hydrogen-representation-changes.cc', + '../../src/hydrogen-representation-changes.h', + '../../src/hydrogen-sce.cc', + '../../src/hydrogen-sce.h', '../../src/hydrogen-uint32-analysis.cc', '../../src/hydrogen-uint32-analysis.h', '../../src/hydrogen-osr.cc', '../../src/hydrogen-osr.h', + '../../src/icu_util.cc', + '../../src/icu_util.h', '../../src/ic-inl.h', '../../src/ic.cc', '../../src/ic.h', @@ -813,9 +837,15 @@ '../../src/extensions/i18n/number-format.h', ], 'dependencies': [ - '<(DEPTH)/third_party/icu/icu.gyp:*', + '<(DEPTH)/third_party/icu/icu.gyp:icui18n', + '<(DEPTH)/third_party/icu/icu.gyp:icuuc', ] }], + ['OS=="win" and v8_enable_i18n_support==1', { + 'dependencies': [ + '<(DEPTH)/third_party/icu/icu.gyp:icudata', + ], + }], ], }, { @@ -874,7 +904,8 @@ '../../src/object-observe.js', '../../src/arraybuffer.js', '../../src/typedarray.js', - '../../src/generator.js' + '../../src/generator.js', + '../../src/array-iterator.js' ], 'i18n_library_files': [ '../../src/extensions/i18n/header.js', diff --git a/deps/v8/tools/oom_dump/oom_dump.cc b/deps/v8/tools/oom_dump/oom_dump.cc index 1bf5ac19fc..5dfb5dff35 100644 --- a/deps/v8/tools/oom_dump/oom_dump.cc +++ b/deps/v8/tools/oom_dump/oom_dump.cc @@ -108,6 +108,7 @@ class IndirectSorter { int* a_; }; + void DumpHeapStats(const char *minidump_file) { Minidump minidump(minidump_file); CHECK(minidump.Read()); diff --git a/deps/v8/tools/presubmit.py b/deps/v8/tools/presubmit.py index c717ee88f5..12475b33c4 100755 --- a/deps/v8/tools/presubmit.py +++ b/deps/v8/tools/presubmit.py @@ -331,6 +331,14 @@ class SourceProcessor(SourceFileProcessor): 'gnuplot-4.6.3-emscripten.js'] IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'html-comments.js'] + def EndOfDeclaration(self, line): + return line == "}" or line == "};" + + def StartOfDeclaration(self, line): + return line.find("//") == 0 or \ + line.find("/*") == 0 or \ + line.find(") {") != -1 + def ProcessContents(self, name, contents): result = True base = basename(name) @@ -342,7 +350,6 @@ class SourceProcessor(SourceFileProcessor): if not COPYRIGHT_HEADER_PATTERN.search(contents): print "%s is missing a correct copyright header." % name result = False - ext = base.split('.').pop() if ' \n' in contents or contents.endswith(' '): line = 0 lines = [] @@ -358,6 +365,30 @@ class SourceProcessor(SourceFileProcessor): else: print "%s has trailing whitespaces in line %s." % (name, linenumbers) result = False + # Check two empty lines between declarations. + if name.endswith(".cc"): + line = 0 + lines = [] + parts = contents.split('\n') + while line < len(parts) - 2: + if self.EndOfDeclaration(parts[line]): + if self.StartOfDeclaration(parts[line + 1]): + lines.append(str(line + 1)) + line += 1 + elif parts[line + 1] == "" and \ + self.StartOfDeclaration(parts[line + 2]): + lines.append(str(line + 1)) + line += 2 + line += 1 + if len(lines) >= 1: + linenumbers = ', '.join(lines) + if len(lines) > 1: + print "%s does not have two empty lines between declarations " \ + "in lines %s." % (name, linenumbers) + else: + print "%s does not have two empty lines between declarations " \ + "in line %s." % (name, linenumbers) + result = False return result def ProcessFiles(self, files, path): @@ -391,7 +422,8 @@ def Main(): print "Running C++ lint check..." if not options.no_lint: success = CppLintProcessor().Run(workspace) and success - print "Running copyright header and trailing whitespaces check..." + print "Running copyright header, trailing whitespaces and " \ + "two empty lines between declarations check..." success = SourceProcessor().Run(workspace) and success if success: return 0 diff --git a/deps/v8/tools/profviz/composer.js b/deps/v8/tools/profviz/composer.js index bcc17b2ac8..cdfc0b7b39 100644 --- a/deps/v8/tools/profviz/composer.js +++ b/deps/v8/tools/profviz/composer.js @@ -337,7 +337,7 @@ function PlotScriptComposer(kResX, kResY) { }; var processTickEvent = function( - pc, sp, timer, unused_x, unused_y, vmstate, stack) { + pc, timer, unused_x, unused_y, vmstate, stack) { var tick = new Tick(timer); var entry = code_map.findEntry(pc); @@ -365,7 +365,7 @@ function PlotScriptComposer(kResX, kResY) { processor: processCodeDeleteEvent }, 'code-deopt': { parsers: [parseTimeStamp, parseInt], processor: processCodeDeoptEvent }, - 'tick': { parsers: [parseInt, parseInt, parseTimeStamp, + 'tick': { parsers: [parseInt, parseTimeStamp, null, null, parseInt, 'var-args'], processor: processTickEvent } }); |