diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-12-07 13:56:11 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-12-07 13:56:11 -0800 |
commit | c30f1137121315b0d3641af6dc61e3b047f940e1 (patch) | |
tree | f118eaf670505e6a63f28bc8df845520f67adc55 /deps/v8/tools | |
parent | 5b8c62f7d12c1c5a553e765ba05bbd8a7e17ee47 (diff) | |
download | node-new-c30f1137121315b0d3641af6dc61e3b047f940e1.tar.gz |
Upgrade V8 to 3.0.0
Diffstat (limited to 'deps/v8/tools')
-rw-r--r-- | deps/v8/tools/gyp/v8.gyp | 24 | ||||
-rwxr-xr-x | deps/v8/tools/test.py | 27 | ||||
-rw-r--r-- | deps/v8/tools/visual_studio/v8_base.vcproj | 36 | ||||
-rw-r--r-- | deps/v8/tools/visual_studio/v8_base_arm.vcproj | 4 | ||||
-rw-r--r-- | deps/v8/tools/visual_studio/v8_base_x64.vcproj | 4 |
5 files changed, 89 insertions, 6 deletions
diff --git a/deps/v8/tools/gyp/v8.gyp b/deps/v8/tools/gyp/v8.gyp index c1a5aab198..df8f5473a1 100644 --- a/deps/v8/tools/gyp/v8.gyp +++ b/deps/v8/tools/gyp/v8.gyp @@ -280,6 +280,7 @@ '../../src/ast.cc', '../../src/ast-inl.h', '../../src/ast.h', + '../../src/atomicops_internals_x86_gcc.cc', '../../src/bignum.cc', '../../src/bignum.h', '../../src/bignum-dtoa.cc', @@ -328,6 +329,8 @@ '../../src/debug.h', '../../src/debug-agent.cc', '../../src/debug-agent.h', + '../../src/deoptimizer.cc', + '../../src/deoptimizer.h', '../../src/disasm.h', '../../src/disassembler.cc', '../../src/disassembler.h', @@ -369,6 +372,10 @@ '../../src/heap.h', '../../src/heap-profiler.cc', '../../src/heap-profiler.h', + '../../src/hydrogen.cc', + '../../src/hydrogen.h', + '../../src/hydrogen-instructions.cc', + '../../src/hydrogen-instructions.h', '../../src/ic-inl.h', '../../src/ic.cc', '../../src/ic.h', @@ -381,6 +388,8 @@ '../../src/jsregexp.h', '../../src/list-inl.h', '../../src/list.h', + '../../src/lithium-allocator.cc', + '../../src/lithium-allocator.h', '../../src/liveedit.cc', '../../src/liveedit.h', '../../src/log-inl.h', @@ -433,6 +442,10 @@ '../../src/rewriter.h', '../../src/runtime.cc', '../../src/runtime.h', + '../../src/runtime-profiler.cc', + '../../src/runtime-profiler.h', + '../../src/safepoint-table.cc', + '../../src/safepoint-table.h', '../../src/scanner-base.cc', '../../src/scanner-base.h', '../../src/scanner.cc', @@ -520,12 +533,17 @@ '../../src/arm/constants-arm.cc', '../../src/arm/cpu-arm.cc', '../../src/arm/debug-arm.cc', + '../../src/arm/deoptimizer-arm.cc', '../../src/arm/disasm-arm.cc', '../../src/arm/frames-arm.cc', '../../src/arm/frames-arm.h', '../../src/arm/full-codegen-arm.cc', '../../src/arm/ic-arm.cc', '../../src/arm/jump-target-arm.cc', + '../../src/arm/lithium-codegen-arm.cc', + '../../src/arm/lithium-codegen-arm.h', + '../../src/arm/lithium-arm.cc', + '../../src/arm/lithium-arm.h', '../../src/arm/macro-assembler-arm.cc', '../../src/arm/macro-assembler-arm.h', '../../src/arm/regexp-macro-assembler-arm.cc', @@ -566,12 +584,17 @@ '../../src/ia32/codegen-ia32.h', '../../src/ia32/cpu-ia32.cc', '../../src/ia32/debug-ia32.cc', + '../../src/ia32/deoptimizer-ia32.cc', '../../src/ia32/disasm-ia32.cc', '../../src/ia32/frames-ia32.cc', '../../src/ia32/frames-ia32.h', '../../src/ia32/full-codegen-ia32.cc', '../../src/ia32/ic-ia32.cc', '../../src/ia32/jump-target-ia32.cc', + '../../src/ia32/lithium-codegen-ia32.cc', + '../../src/ia32/lithium-codegen-ia32.h', + '../../src/ia32/lithium-ia32.cc', + '../../src/ia32/lithium-ia32.h', '../../src/ia32/macro-assembler-ia32.cc', '../../src/ia32/macro-assembler-ia32.h', '../../src/ia32/regexp-macro-assembler-ia32.cc', @@ -602,6 +625,7 @@ '../../src/x64/codegen-x64.h', '../../src/x64/cpu-x64.cc', '../../src/x64/debug-x64.cc', + '../../src/x64/deoptimizer-x64.cc', '../../src/x64/disasm-x64.cc', '../../src/x64/frames-x64.cc', '../../src/x64/frames-x64.h', diff --git a/deps/v8/tools/test.py b/deps/v8/tools/test.py index 4b916f8599..6aa9831879 100755 --- a/deps/v8/tools/test.py +++ b/deps/v8/tools/test.py @@ -358,7 +358,7 @@ class TestCase(object): full_command = self.context.processor(command) output = Execute(full_command, self.context, - self.context.GetTimeout(self.mode)) + self.context.GetTimeout(self, self.mode)) self.Cleanup() return TestOutput(self, full_command, @@ -569,7 +569,7 @@ class TestSuite(object): # Use this to run several variants of the tests, e.g.: # VARIANT_FLAGS = [[], ['--always_compact', '--noflush_code']] -VARIANT_FLAGS = [[]] +VARIANT_FLAGS = [[], ['--stress-opt', '--always-opt'], ['--nocrankshaft']] class TestRepository(TestSuite): @@ -673,8 +673,12 @@ class Context(object): def GetVmFlags(self, testcase, mode): return testcase.variant_flags + FLAGS[mode] - def GetTimeout(self, mode): - return self.timeout * TIMEOUT_SCALEFACTOR[mode] + def GetTimeout(self, testcase, mode): + result = self.timeout * TIMEOUT_SCALEFACTOR[mode] + if '--stress-opt' in self.GetVmFlags(testcase, mode): + return result * 2 + else: + return result def RunTestCases(cases_to_run, progress, tasks): progress = PROGRESS_INDICATORS[progress](cases_to_run) @@ -1159,12 +1163,18 @@ def BuildOptions(): result.add_option("--no-suppress-dialogs", help="Display Windows dialogs for crashing tests", dest="suppress_dialogs", action="store_false") result.add_option("--shell", help="Path to V8 shell", default="shell") - result.add_option("--store-unexpected-output", + result.add_option("--store-unexpected-output", help="Store the temporary JS files from tests that fails", dest="store_unexpected_output", default=True, action="store_true") - result.add_option("--no-store-unexpected-output", + result.add_option("--no-store-unexpected-output", help="Deletes the temporary JS files from tests that fails", dest="store_unexpected_output", action="store_false") + result.add_option("--stress-only", + help="Only run tests with --always-opt --stress-opt", + default=False, action="store_true") + result.add_option("--nostress", + help="Don't run crankshaft --always-opt --stress-op test", + default=False, action="store_true") return result @@ -1194,6 +1204,11 @@ def ProcessOptions(options): options.scons_flags.append("arch=" + options.arch) if options.snapshot: options.scons_flags.append("snapshot=on") + global VARIANT_FLAGS + if options.stress_only: + VARIANT_FLAGS = [['--stress-opt', '--always-opt']] + if options.nostress: + VARIANT_FLAGS = [[],['--nocrankshaft']] return True diff --git a/deps/v8/tools/visual_studio/v8_base.vcproj b/deps/v8/tools/visual_studio/v8_base.vcproj index 902faff635..fc61f46a1c 100644 --- a/deps/v8/tools/visual_studio/v8_base.vcproj +++ b/deps/v8/tools/visual_studio/v8_base.vcproj @@ -577,6 +577,22 @@ > </File> <File + RelativePath="..\..\src\hydrogen.cc" + > + </File> + <File + RelativePath="..\..\src\hydrogen.h" + > + </File> + <File + RelativePath="..\..\src\hydrogen-instructions.cc" + > + </File> + <File + RelativePath="..\..\src\hydrogen-instructions.h" + > + </File> + <File RelativePath="..\..\src\ia32\ic-ia32.cc" > </File> @@ -886,6 +902,22 @@ > </File> <File + RelativePath="..\..\src\runtime-profiler.cc" + > + </File> + <File + RelativePath="..\..\src\runtime-profiler.h" + > + </File> + <File + RelativePath="..\..\src\safepoint-table.cc" + > + </File> + <File + RelativePath="..\..\src\safepoint-table.h" + > + </File> + <File RelativePath="..\..\src\scanner-base.cc" > </File> @@ -1182,6 +1214,10 @@ > </File> <File + RelativePath="..\..\include\v8-testing.h" + > + </File> + <File RelativePath="..\..\include\v8.h" > </File> diff --git a/deps/v8/tools/visual_studio/v8_base_arm.vcproj b/deps/v8/tools/visual_studio/v8_base_arm.vcproj index b87fdf8da4..949e6df1c2 100644 --- a/deps/v8/tools/visual_studio/v8_base_arm.vcproj +++ b/deps/v8/tools/visual_studio/v8_base_arm.vcproj @@ -1156,6 +1156,10 @@ > </File> <File + RelativePath="..\..\include\v8-testing.h" + > + </File> + <File RelativePath="..\..\include\v8.h" > </File> diff --git a/deps/v8/tools/visual_studio/v8_base_x64.vcproj b/deps/v8/tools/visual_studio/v8_base_x64.vcproj index 6d27472ae3..5abe923b55 100644 --- a/deps/v8/tools/visual_studio/v8_base_x64.vcproj +++ b/deps/v8/tools/visual_studio/v8_base_x64.vcproj @@ -1138,6 +1138,10 @@ > </File> <File + RelativePath="..\..\include\v8-testing.h" + > + </File> + <File RelativePath="..\..\include\v8.h" > </File> |