diff options
author | Steve Block <steveblock@google.com> | 2009-10-30 11:49:59 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-10-30 19:03:37 +0000 |
commit | 20bb23f8cbd4643c5da24601959b015e98374b44 (patch) | |
tree | 743b40f3f7b5b7a4ad2b32906dcea772730a0792 /V8Binding/v8/tools | |
parent | 84191aa5bc11de486d662f98d4d618b179ca45ca (diff) | |
download | external_webkit-20bb23f8cbd4643c5da24601959b015e98374b44.zip external_webkit-20bb23f8cbd4643c5da24601959b015e98374b44.tar.gz external_webkit-20bb23f8cbd4643c5da24601959b015e98374b44.tar.bz2 |
Move V8 to external/v8
Change-Id: I9ef85bb1a4fd0e808ca37ac532803542b6dfb04d
Diffstat (limited to 'V8Binding/v8/tools')
71 files changed, 0 insertions, 15922 deletions
diff --git a/V8Binding/v8/tools/codemap.js b/V8Binding/v8/tools/codemap.js deleted file mode 100644 index 404127f..0000000 --- a/V8Binding/v8/tools/codemap.js +++ /dev/null @@ -1,258 +0,0 @@ -// Copyright 2009 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. - - -// Initlialize namespaces -var devtools = devtools || {}; -devtools.profiler = devtools.profiler || {}; - - -/** - * Constructs a mapper that maps addresses into code entries. - * - * @constructor - */ -devtools.profiler.CodeMap = function() { - /** - * Dynamic code entries. Used for JIT compiled code. - */ - this.dynamics_ = new goog.structs.SplayTree(); - - /** - * Name generator for entries having duplicate names. - */ - this.dynamicsNameGen_ = new devtools.profiler.CodeMap.NameGenerator(); - - /** - * Static code entries. Used for statically compiled code. - */ - this.statics_ = new goog.structs.SplayTree(); - - /** - * Libraries entries. Used for the whole static code libraries. - */ - this.libraries_ = new goog.structs.SplayTree(); - - /** - * Map of memory pages occupied with static code. - */ - this.pages_ = []; -}; - - -/** - * The number of alignment bits in a page address. - */ -devtools.profiler.CodeMap.PAGE_ALIGNMENT = 12; - - -/** - * Page size in bytes. - */ -devtools.profiler.CodeMap.PAGE_SIZE = - 1 << devtools.profiler.CodeMap.PAGE_ALIGNMENT; - - -/** - * Adds a dynamic (i.e. moveable and discardable) code entry. - * - * @param {number} start The starting address. - * @param {devtools.profiler.CodeMap.CodeEntry} codeEntry Code entry object. - */ -devtools.profiler.CodeMap.prototype.addCode = function(start, codeEntry) { - this.dynamics_.insert(start, codeEntry); -}; - - -/** - * Moves a dynamic code entry. Throws an exception if there is no dynamic - * code entry with the specified starting address. - * - * @param {number} from The starting address of the entry being moved. - * @param {number} to The destination address. - */ -devtools.profiler.CodeMap.prototype.moveCode = function(from, to) { - var removedNode = this.dynamics_.remove(from); - this.dynamics_.insert(to, removedNode.value); -}; - - -/** - * Discards a dynamic code entry. Throws an exception if there is no dynamic - * code entry with the specified starting address. - * - * @param {number} start The starting address of the entry being deleted. - */ -devtools.profiler.CodeMap.prototype.deleteCode = function(start) { - var removedNode = this.dynamics_.remove(start); -}; - - -/** - * Adds a library entry. - * - * @param {number} start The starting address. - * @param {devtools.profiler.CodeMap.CodeEntry} codeEntry Code entry object. - */ -devtools.profiler.CodeMap.prototype.addLibrary = function( - start, codeEntry) { - this.markPages_(start, start + codeEntry.size); - this.libraries_.insert(start, codeEntry); -}; - - -/** - * Adds a static code entry. - * - * @param {number} start The starting address. - * @param {devtools.profiler.CodeMap.CodeEntry} codeEntry Code entry object. - */ -devtools.profiler.CodeMap.prototype.addStaticCode = function( - start, codeEntry) { - this.statics_.insert(start, codeEntry); -}; - - -/** - * @private - */ -devtools.profiler.CodeMap.prototype.markPages_ = function(start, end) { - for (var addr = start; addr <= end; - addr += devtools.profiler.CodeMap.PAGE_SIZE) { - this.pages_[addr >>> devtools.profiler.CodeMap.PAGE_ALIGNMENT] = 1; - } -}; - - -/** - * @private - */ -devtools.profiler.CodeMap.prototype.isAddressBelongsTo_ = function(addr, node) { - return addr >= node.key && addr < (node.key + node.value.size); -}; - - -/** - * @private - */ -devtools.profiler.CodeMap.prototype.findInTree_ = function(tree, addr) { - var node = tree.findGreatestLessThan(addr); - return node && this.isAddressBelongsTo_(addr, node) ? node.value : null; -}; - - -/** - * Finds a code entry that contains the specified address. Both static and - * dynamic code entries are considered. - * - * @param {number} addr Address. - */ -devtools.profiler.CodeMap.prototype.findEntry = function(addr) { - var pageAddr = addr >>> devtools.profiler.CodeMap.PAGE_ALIGNMENT; - if (pageAddr in this.pages_) { - // Static code entries can contain "holes" of unnamed code. - // In this case, the whole library is assigned to this address. - return this.findInTree_(this.statics_, addr) || - this.findInTree_(this.libraries_, addr); - } - var min = this.dynamics_.findMin(); - var max = this.dynamics_.findMax(); - if (max != null && addr < (max.key + max.value.size) && addr >= min.key) { - var dynaEntry = this.findInTree_(this.dynamics_, addr); - if (dynaEntry == null) return null; - // Dedupe entry name. - if (!dynaEntry.nameUpdated_) { - dynaEntry.name = this.dynamicsNameGen_.getName(dynaEntry.name); - dynaEntry.nameUpdated_ = true; - } - return dynaEntry; - } - return null; -}; - - -/** - * Returns an array of all dynamic code entries. - */ -devtools.profiler.CodeMap.prototype.getAllDynamicEntries = function() { - return this.dynamics_.exportValues(); -}; - - -/** - * Returns an array of all static code entries. - */ -devtools.profiler.CodeMap.prototype.getAllStaticEntries = function() { - return this.statics_.exportValues(); -}; - - -/** - * Returns an array of all libraries entries. - */ -devtools.profiler.CodeMap.prototype.getAllLibrariesEntries = function() { - return this.libraries_.exportValues(); -}; - - -/** - * Creates a code entry object. - * - * @param {number} size Code entry size in bytes. - * @param {string} opt_name Code entry name. - * @constructor - */ -devtools.profiler.CodeMap.CodeEntry = function(size, opt_name) { - this.size = size; - this.name = opt_name || ''; - this.nameUpdated_ = false; -}; - - -devtools.profiler.CodeMap.CodeEntry.prototype.getName = function() { - return this.name; -}; - - -devtools.profiler.CodeMap.CodeEntry.prototype.toString = function() { - return this.name + ': ' + this.size.toString(16); -}; - - -devtools.profiler.CodeMap.NameGenerator = function() { - this.knownNames_ = []; -}; - - -devtools.profiler.CodeMap.NameGenerator.prototype.getName = function(name) { - if (!(name in this.knownNames_)) { - this.knownNames_[name] = 0; - return name; - } - var count = ++this.knownNames_[name]; - return name + ' {' + count + '}'; -}; diff --git a/V8Binding/v8/tools/consarray.js b/V8Binding/v8/tools/consarray.js deleted file mode 100644 index c67abb7..0000000 --- a/V8Binding/v8/tools/consarray.js +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2009 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. - - -/** - * Constructs a ConsArray object. It is used mainly for tree traversal. - * In this use case we have lots of arrays that we need to iterate - * sequentally. The internal Array implementation is horribly slow - * when concatenating on large (10K items) arrays due to memory copying. - * That's why we avoid copying memory and insead build a linked list - * of arrays to iterate through. - * - * @constructor - */ -function ConsArray() { - this.tail_ = new ConsArray.Cell(null, null); - this.currCell_ = this.tail_; - this.currCellPos_ = 0; -}; - - -/** - * Concatenates another array for iterating. Empty arrays are ignored. - * This operation can be safely performed during ongoing ConsArray - * iteration. - * - * @param {Array} arr Array to concatenate. - */ -ConsArray.prototype.concat = function(arr) { - if (arr.length > 0) { - this.tail_.data = arr; - this.tail_ = this.tail_.next = new ConsArray.Cell(null, null); - } -}; - - -/** - * Whether the end of iteration is reached. - */ -ConsArray.prototype.atEnd = function() { - return this.currCell_ === null || - this.currCell_.data === null || - this.currCellPos_ >= this.currCell_.data.length; -}; - - -/** - * Returns the current item, moves to the next one. - */ -ConsArray.prototype.next = function() { - var result = this.currCell_.data[this.currCellPos_++]; - if (this.currCellPos_ >= this.currCell_.data.length) { - this.currCell_ = this.currCell_.next; - this.currCellPos_ = 0; - } - return result; -}; - - -/** - * A cell object used for constructing a list in ConsArray. - * - * @constructor - */ -ConsArray.Cell = function(data, next) { - this.data = data; - this.next = next; -}; - diff --git a/V8Binding/v8/tools/csvparser.js b/V8Binding/v8/tools/csvparser.js deleted file mode 100644 index 9e58dea..0000000 --- a/V8Binding/v8/tools/csvparser.js +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2009 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. - - -// Initlialize namespaces. -var devtools = devtools || {}; -devtools.profiler = devtools.profiler || {}; - - -/** - * Creates a CSV lines parser. - */ -devtools.profiler.CsvParser = function() { -}; - - -/** - * A regex for matching a trailing quote. - * @private - */ -devtools.profiler.CsvParser.TRAILING_QUOTE_RE_ = /\"$/; - - -/** - * A regex for matching a double quote. - * @private - */ -devtools.profiler.CsvParser.DOUBLE_QUOTE_RE_ = /\"\"/g; - - -/** - * Parses a line of CSV-encoded values. Returns an array of fields. - * - * @param {string} line Input line. - */ -devtools.profiler.CsvParser.prototype.parseLine = function(line) { - var insideQuotes = false; - var fields = []; - var prevPos = 0; - for (var i = 0, n = line.length; i < n; ++i) { - switch (line.charAt(i)) { - case ',': - if (!insideQuotes) { - fields.push(line.substring(prevPos, i)); - prevPos = i + 1; - } - break; - case '"': - if (!insideQuotes) { - insideQuotes = true; - // Skip the leading quote. - prevPos++; - } else { - if (i + 1 < n && line.charAt(i + 1) != '"') { - insideQuotes = false; - } else { - i++; - } - } - break; - } - } - if (n > 0) { - fields.push(line.substring(prevPos)); - } - - for (i = 0; i < fields.length; ++i) { - // Eliminate trailing quotes. - fields[i] = fields[i].replace(devtools.profiler.CsvParser.TRAILING_QUOTE_RE_, ''); - // Convert quoted quotes into single ones. - fields[i] = fields[i].replace(devtools.profiler.CsvParser.DOUBLE_QUOTE_RE_, '"'); - } - return fields; -}; diff --git a/V8Binding/v8/tools/gyp/v8.gyp b/V8Binding/v8/tools/gyp/v8.gyp deleted file mode 100644 index 46a00f4..0000000 --- a/V8Binding/v8/tools/gyp/v8.gyp +++ /dev/null @@ -1,574 +0,0 @@ -# Copyright 2009 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': { - 'chromium_code': 1, - 'msvs_use_common_release': 0, - 'gcc_version%': 'unknown', - 'target_arch%': 'ia32', - 'v8_use_snapshot%': 'true', - 'v8_regexp%': 'native', - }, - 'target_defaults': { - 'defines': [ - 'ENABLE_LOGGING_AND_PROFILING', - 'ENABLE_DEBUGGER_SUPPORT', - ], - 'conditions': [ - ['target_arch=="arm"', { - 'defines': [ - 'V8_TARGET_ARCH_ARM', - ], - }], - ['target_arch=="ia32"', { - 'defines': [ - 'V8_TARGET_ARCH_IA32', - 'V8_NATIVE_REGEXP', - ], - }], - ['target_arch=="x64"', { - 'defines': [ - 'V8_TARGET_ARCH_X64', - 'V8_NATIVE_REGEXP', - ], - }], - ], - 'configurations': { - 'Debug': { - 'defines': [ - 'DEBUG', - '_DEBUG', - 'ENABLE_DISASSEMBLER', - 'V8_ENABLE_CHECKS' - ], - 'msvs_settings': { - 'VCCLCompilerTool': { - 'Optimizations': '0', - 'RuntimeLibrary': '1', - }, - 'VCLinkerTool': { - 'LinkIncremental': '2', - }, - }, - }, - 'Release': { - 'conditions': [ - ['OS=="linux"', { - 'cflags!': [ - '-O2', - ], - 'cflags': [ - '-fomit-frame-pointer', - '-O3', - ], - 'conditions': [ - [ 'gcc_version==44', { - 'cflags': [ - # Avoid gcc 4.4 strict aliasing issues in dtoa.c - '-fno-strict-aliasing', - # Avoid crashes with gcc 4.4 in the v8 test suite. - '-fno-tree-vrp', - ], - }], - ], - }], - ['OS=="mac"', { - 'xcode_settings': { - 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 - 'GCC_STRICT_ALIASING': 'YES', # -fstrict-aliasing. Mainline gcc - # enables this at -O2 and above, - # but Apple gcc does not unless it - # is specified explicitly. - }, - }], - ['OS=="win"', { - 'msvs_configuration_attributes': { - 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)', - 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', - 'CharacterSet': '1', - }, - 'msvs_settings': { - 'VCCLCompilerTool': { - 'RuntimeLibrary': '0', - 'Optimizations': '2', - 'InlineFunctionExpansion': '2', - 'EnableIntrinsicFunctions': 'true', - 'FavorSizeOrSpeed': '0', - 'OmitFramePointers': 'true', - 'StringPooling': 'true', - }, - 'VCLinkerTool': { - 'LinkIncremental': '1', - 'OptimizeReferences': '2', - 'OptimizeForWindows98': '1', - 'EnableCOMDATFolding': '2', - }, - }, - }], - ], - }, - }, - }, - 'targets': [ - { - 'target_name': 'v8', - 'type': 'none', - 'conditions': [ - ['v8_use_snapshot=="true"', { - 'dependencies': ['v8_snapshot'], - }, - { - 'dependencies': ['v8_nosnapshot'], - }], - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '../../include', - ], - }, - }, - { - 'target_name': 'v8_snapshot', - 'type': '<(library)', - 'dependencies': [ - 'mksnapshot', - 'js2c', - 'v8_base', - ], - 'include_dirs+': [ - '../../src', - ], - 'sources': [ - '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', - '<(INTERMEDIATE_DIR)/snapshot.cc', - ], - 'actions': [ - { - 'action_name': 'run_mksnapshot', - 'inputs': [ - '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', - ], - 'outputs': [ - '<(INTERMEDIATE_DIR)/snapshot.cc', - ], - 'action': ['<@(_inputs)', '<@(_outputs)'], - }, - ], - }, - { - 'target_name': 'v8_nosnapshot', - 'type': '<(library)', - 'dependencies': [ - 'js2c', - 'v8_base', - ], - 'include_dirs+': [ - '../../src', - ], - 'sources': [ - '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', - '../../src/snapshot-empty.cc', - ], - }, - { - 'target_name': 'v8_base', - 'type': '<(library)', - 'include_dirs+': [ - '../../src', - ], - 'sources': [ - '../../src/accessors.cc', - '../../src/accessors.h', - '../../src/allocation.cc', - '../../src/allocation.h', - '../../src/api.cc', - '../../src/api.h', - '../../src/apiutils.h', - '../../src/arguments.h', - '../../src/assembler.cc', - '../../src/assembler.h', - '../../src/ast.cc', - '../../src/ast.h', - '../../src/bootstrapper.cc', - '../../src/bootstrapper.h', - '../../src/builtins.cc', - '../../src/builtins.h', - '../../src/bytecodes-irregexp.h', - '../../src/char-predicates-inl.h', - '../../src/char-predicates.h', - '../../src/checks.cc', - '../../src/checks.h', - '../../src/code-stubs.cc', - '../../src/code-stubs.h', - '../../src/code.h', - '../../src/codegen-inl.h', - '../../src/codegen.cc', - '../../src/codegen.h', - '../../src/compilation-cache.cc', - '../../src/compilation-cache.h', - '../../src/compiler.cc', - '../../src/compiler.h', - '../../src/contexts.cc', - '../../src/contexts.h', - '../../src/conversions-inl.h', - '../../src/conversions.cc', - '../../src/conversions.h', - '../../src/counters.cc', - '../../src/counters.h', - '../../src/cpu.h', - '../../src/dateparser.cc', - '../../src/dateparser.h', - '../../src/dateparser-inl.h', - '../../src/debug.cc', - '../../src/debug.h', - '../../src/debug-agent.cc', - '../../src/debug-agent.h', - '../../src/disasm.h', - '../../src/disassembler.cc', - '../../src/disassembler.h', - '../../src/dtoa-config.c', - '../../src/execution.cc', - '../../src/execution.h', - '../../src/factory.cc', - '../../src/factory.h', - '../../src/flag-definitions.h', - '../../src/flags.cc', - '../../src/flags.h', - '../../src/frames-inl.h', - '../../src/frames.cc', - '../../src/frames.h', - '../../src/frame-element.cc', - '../../src/frame-element.h', - '../../src/func-name-inferrer.cc', - '../../src/func-name-inferrer.h', - '../../src/global-handles.cc', - '../../src/global-handles.h', - '../../src/globals.h', - '../../src/handles-inl.h', - '../../src/handles.cc', - '../../src/handles.h', - '../../src/hashmap.cc', - '../../src/hashmap.h', - '../../src/heap-inl.h', - '../../src/heap.cc', - '../../src/heap.h', - '../../src/heap-profiler.cc', - '../../src/heap-profiler.h', - '../../src/ic-inl.h', - '../../src/ic.cc', - '../../src/ic.h', - '../../src/interpreter-irregexp.cc', - '../../src/interpreter-irregexp.h', - '../../src/jump-target.cc', - '../../src/jump-target.h', - '../../src/jump-target-inl.h', - '../../src/jsregexp.cc', - '../../src/jsregexp.h', - '../../src/list-inl.h', - '../../src/list.h', - '../../src/log.cc', - '../../src/log-inl.h', - '../../src/log.h', - '../../src/log-utils.cc', - '../../src/log-utils.h', - '../../src/macro-assembler.h', - '../../src/mark-compact.cc', - '../../src/mark-compact.h', - '../../src/memory.h', - '../../src/messages.cc', - '../../src/messages.h', - '../../src/natives.h', - '../../src/objects-debug.cc', - '../../src/objects-inl.h', - '../../src/objects.cc', - '../../src/objects.h', - '../../src/oprofile-agent.h', - '../../src/oprofile-agent.cc', - '../../src/parser.cc', - '../../src/parser.h', - '../../src/platform.h', - '../../src/prettyprinter.cc', - '../../src/prettyprinter.h', - '../../src/property.cc', - '../../src/property.h', - '../../src/regexp-macro-assembler-irregexp-inl.h', - '../../src/regexp-macro-assembler-irregexp.cc', - '../../src/regexp-macro-assembler-irregexp.h', - '../../src/regexp-macro-assembler-tracer.cc', - '../../src/regexp-macro-assembler-tracer.h', - '../../src/regexp-macro-assembler.cc', - '../../src/regexp-macro-assembler.h', - '../../src/regexp-stack.cc', - '../../src/regexp-stack.h', - '../../src/register-allocator.h', - '../../src/register-allocator-inl.h', - '../../src/register-allocator.cc', - '../../src/rewriter.cc', - '../../src/rewriter.h', - '../../src/runtime.cc', - '../../src/runtime.h', - '../../src/scanner.cc', - '../../src/scanner.h', - '../../src/scopeinfo.cc', - '../../src/scopeinfo.h', - '../../src/scopes.cc', - '../../src/scopes.h', - '../../src/serialize.cc', - '../../src/serialize.h', - '../../src/shell.h', - '../../src/smart-pointer.h', - '../../src/snapshot-common.cc', - '../../src/snapshot.h', - '../../src/spaces-inl.h', - '../../src/spaces.cc', - '../../src/spaces.h', - '../../src/string-stream.cc', - '../../src/string-stream.h', - '../../src/stub-cache.cc', - '../../src/stub-cache.h', - '../../src/token.cc', - '../../src/token.h', - '../../src/top.cc', - '../../src/top.h', - '../../src/unicode-inl.h', - '../../src/unicode.cc', - '../../src/unicode.h', - '../../src/usage-analyzer.cc', - '../../src/usage-analyzer.h', - '../../src/utils.cc', - '../../src/utils.h', - '../../src/v8-counters.cc', - '../../src/v8-counters.h', - '../../src/v8.cc', - '../../src/v8.h', - '../../src/v8threads.cc', - '../../src/v8threads.h', - '../../src/variables.cc', - '../../src/variables.h', - '../../src/version.cc', - '../../src/version.h', - '../../src/virtual-frame.h', - '../../src/virtual-frame.cc', - '../../src/zone-inl.h', - '../../src/zone.cc', - '../../src/zone.h', - ], - 'conditions': [ - ['target_arch=="arm"', { - 'include_dirs+': [ - '../../src/arm', - ], - 'sources': [ - '../../src/arm/assembler-arm-inl.h', - '../../src/arm/assembler-arm.cc', - '../../src/arm/assembler-arm.h', - '../../src/arm/builtins-arm.cc', - '../../src/arm/codegen-arm.cc', - '../../src/arm/codegen-arm.h', - '../../src/arm/constants-arm.h', - '../../src/arm/cpu-arm.cc', - '../../src/arm/debug-arm.cc', - '../../src/arm/disasm-arm.cc', - '../../src/arm/frames-arm.cc', - '../../src/arm/frames-arm.h', - '../../src/arm/ic-arm.cc', - '../../src/arm/jump-target-arm.cc', - '../../src/arm/macro-assembler-arm.cc', - '../../src/arm/macro-assembler-arm.h', - '../../src/arm/regexp-macro-assembler-arm.cc', - '../../src/arm/regexp-macro-assembler-arm.h', - '../../src/arm/register-allocator-arm.cc', - '../../src/arm/simulator-arm.cc', - '../../src/arm/stub-cache-arm.cc', - '../../src/arm/virtual-frame-arm.cc', - '../../src/arm/virtual-frame-arm.h', - ], - }], - ['target_arch=="ia32"', { - 'include_dirs+': [ - '../../src/ia32', - ], - 'sources': [ - '../../src/ia32/assembler-ia32-inl.h', - '../../src/ia32/assembler-ia32.cc', - '../../src/ia32/assembler-ia32.h', - '../../src/ia32/builtins-ia32.cc', - '../../src/ia32/codegen-ia32.cc', - '../../src/ia32/codegen-ia32.h', - '../../src/ia32/cpu-ia32.cc', - '../../src/ia32/debug-ia32.cc', - '../../src/ia32/disasm-ia32.cc', - '../../src/ia32/frames-ia32.cc', - '../../src/ia32/frames-ia32.h', - '../../src/ia32/ic-ia32.cc', - '../../src/ia32/jump-target-ia32.cc', - '../../src/ia32/macro-assembler-ia32.cc', - '../../src/ia32/macro-assembler-ia32.h', - '../../src/ia32/regexp-macro-assembler-ia32.cc', - '../../src/ia32/regexp-macro-assembler-ia32.h', - '../../src/ia32/register-allocator-ia32.cc', - '../../src/ia32/stub-cache-ia32.cc', - '../../src/ia32/virtual-frame-ia32.cc', - '../../src/ia32/virtual-frame-ia32.h', - ], - }], - ['target_arch=="x64"', { - 'include_dirs+': [ - '../../src/x64', - ], - 'sources': [ - '../../src/x64/assembler-x64-inl.h', - '../../src/x64/assembler-x64.cc', - '../../src/x64/assembler-x64.h', - '../../src/x64/builtins-x64.cc', - '../../src/x64/codegen-x64.cc', - '../../src/x64/codegen-x64.h', - '../../src/x64/cpu-x64.cc', - '../../src/x64/debug-x64.cc', - '../../src/x64/disasm-x64.cc', - '../../src/x64/frames-x64.cc', - '../../src/x64/frames-x64.h', - '../../src/x64/ic-x64.cc', - '../../src/x64/jump-target-x64.cc', - '../../src/x64/macro-assembler-x64.cc', - '../../src/x64/macro-assembler-x64.h', - '../../src/x64/regexp-macro-assembler-x64.cc', - '../../src/x64/regexp-macro-assembler-x64.h', - '../../src/x64/register-allocator-x64.cc', - '../../src/x64/stub-cache-x64.cc', - '../../src/x64/virtual-frame-x64.cc', - '../../src/x64/virtual-frame-x64.h', - ], - }], - ['OS=="linux"', { - 'link_settings': { - 'libraries': [ - # Needed for clock_gettime() used by src/platform-linux.cc. - '-lrt', - ]}, - 'sources': [ - '../../src/platform-linux.cc', - '../../src/platform-posix.cc' - ], - } - ], - ['OS=="mac"', { - 'sources': [ - '../../src/platform-macos.cc', - '../../src/platform-posix.cc' - ]}, - ], - ['OS=="win"', { - 'sources': [ - '../../src/platform-win32.cc', - ], - # 4355, 4800 came from common.vsprops - # 4018, 4244 were a per file config on dtoa-config.c - # TODO: It's probably possible and desirable to stop disabling the - # dtoa-specific warnings by modifying dtoa as was done in Chromium - # r9255. Refer to that revision for details. - 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], - 'link_settings': { - 'libraries': [ '-lwinmm.lib' ], - }, - }], - ], - }, - { - 'target_name': 'js2c', - 'type': 'none', - 'variables': { - 'library_files': [ - '../../src/runtime.js', - '../../src/v8natives.js', - '../../src/array.js', - '../../src/string.js', - '../../src/uri.js', - '../../src/math.js', - '../../src/messages.js', - '../../src/apinatives.js', - '../../src/debug-delay.js', - '../../src/mirror-delay.js', - '../../src/date-delay.js', - '../../src/json-delay.js', - '../../src/regexp-delay.js', - '../../src/macros.py', - ], - }, - 'actions': [ - { - 'action_name': 'js2c', - 'inputs': [ - '../../tools/js2c.py', - '<@(library_files)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', - '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', - ], - 'action': [ - 'python', - '../../tools/js2c.py', - '<@(_outputs)', - 'CORE', - '<@(library_files)' - ], - }, - ], - }, - { - 'target_name': 'mksnapshot', - 'type': 'executable', - 'dependencies': [ - 'v8_nosnapshot', - ], - 'include_dirs+': [ - '../../src', - ], - 'sources': [ - '../../src/mksnapshot.cc', - ], - }, - { - 'target_name': 'v8_shell', - 'type': 'executable', - 'dependencies': [ - 'v8' - ], - 'sources': [ - '../../samples/shell.cc', - ], - 'conditions': [ - [ 'OS=="win"', { - # This could be gotten by not setting chromium_code, if that's OK. - 'defines': ['_CRT_SECURE_NO_WARNINGS'], - }], - ], - }, - ], -} diff --git a/V8Binding/v8/tools/js2c.py b/V8Binding/v8/tools/js2c.py deleted file mode 100755 index 2b7dbdf..0000000 --- a/V8Binding/v8/tools/js2c.py +++ /dev/null @@ -1,376 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2006-2008 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. - -# This is a utility for converting JavaScript source code into C-style -# char arrays. It is used for embedded JavaScript code in the V8 -# library. - -import os, re, sys, string -import jsmin - - -def ToCArray(lines): - result = [] - for chr in lines: - value = ord(chr) - assert value < 128 - result.append(str(value)) - result.append("0") - return ", ".join(result) - - -def RemoveCommentsAndTrailingWhitespace(lines): - lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments - lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments. - lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace - return lines - - -def ReadFile(filename): - file = open(filename, "rt") - try: - lines = file.read() - finally: - file.close() - return lines - - -def ReadLines(filename): - result = [] - for line in open(filename, "rt"): - if '#' in line: - line = line[:line.index('#')] - line = line.strip() - if len(line) > 0: - result.append(line) - return result - - -def LoadConfigFrom(name): - import ConfigParser - config = ConfigParser.ConfigParser() - config.read(name) - return config - - -def ParseValue(string): - string = string.strip() - if string.startswith('[') and string.endswith(']'): - return string.lstrip('[').rstrip(']').split() - else: - return string - - -EVAL_PATTERN = re.compile(r'\beval\s*\('); -WITH_PATTERN = re.compile(r'\bwith\s*\('); - - -def Validate(lines, file): - lines = RemoveCommentsAndTrailingWhitespace(lines) - # Because of simplified context setup, eval and with is not - # allowed in the natives files. - eval_match = EVAL_PATTERN.search(lines) - if eval_match: - raise ("Eval disallowed in natives: %s" % file) - with_match = WITH_PATTERN.search(lines) - if with_match: - raise ("With statements disallowed in natives: %s" % file) - - -def ExpandConstants(lines, constants): - for key, value in constants.items(): - lines = lines.replace(key, str(value)) - return lines - - -def ExpandMacros(lines, macros): - for name, macro in macros.items(): - start = lines.find(name + '(', 0) - while start != -1: - # Scan over the arguments - assert lines[start + len(name)] == '(' - height = 1 - end = start + len(name) + 1 - last_match = end - arg_index = 0 - mapping = { } - def add_arg(str): - # Remember to expand recursively in the arguments - replacement = ExpandMacros(str.strip(), macros) - mapping[macro.args[arg_index]] = replacement - while end < len(lines) and height > 0: - # We don't count commas at higher nesting levels. - if lines[end] == ',' and height == 1: - add_arg(lines[last_match:end]) - last_match = end + 1 - elif lines[end] in ['(', '{', '[']: - height = height + 1 - elif lines[end] in [')', '}', ']']: - height = height - 1 - end = end + 1 - # Remember to add the last match. - add_arg(lines[last_match:end-1]) - result = macro.expand(mapping) - # Replace the occurrence of the macro with the expansion - lines = lines[:start] + result + lines[end:] - start = lines.find(name + '(', end) - return lines - -class TextMacro: - def __init__(self, args, body): - self.args = args - self.body = body - def expand(self, mapping): - result = self.body - for key, value in mapping.items(): - result = result.replace(key, value) - return result - -class PythonMacro: - def __init__(self, args, fun): - self.args = args - self.fun = fun - def expand(self, mapping): - args = [] - for arg in self.args: - args.append(mapping[arg]) - return str(self.fun(*args)) - -CONST_PATTERN = re.compile(r'^const\s+([a-zA-Z0-9_]+)\s*=\s*([^;]*);$') -MACRO_PATTERN = re.compile(r'^macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$') -PYTHON_MACRO_PATTERN = re.compile(r'^python\s+macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$') - -def ReadMacros(lines): - constants = { } - macros = { } - for line in lines: - hash = line.find('#') - if hash != -1: line = line[:hash] - line = line.strip() - if len(line) is 0: continue - const_match = CONST_PATTERN.match(line) - if const_match: - name = const_match.group(1) - value = const_match.group(2).strip() - constants[name] = value - else: - macro_match = MACRO_PATTERN.match(line) - if macro_match: - name = macro_match.group(1) - args = map(string.strip, macro_match.group(2).split(',')) - body = macro_match.group(3).strip() - macros[name] = TextMacro(args, body) - else: - python_match = PYTHON_MACRO_PATTERN.match(line) - if python_match: - name = python_match.group(1) - args = map(string.strip, python_match.group(2).split(',')) - body = python_match.group(3).strip() - fun = eval("lambda " + ",".join(args) + ': ' + body) - macros[name] = PythonMacro(args, fun) - else: - raise ("Illegal line: " + line) - return (constants, macros) - - -HEADER_TEMPLATE = """\ -// Copyright 2008 Google Inc. All Rights Reserved. - -// This file was generated from .js source files by SCons. If you -// want to make changes to this file you should either change the -// javascript source files or the SConstruct script. - -#include "v8.h" -#include "natives.h" - -namespace v8 { -namespace internal { - -%(source_lines)s\ - - template <> - int NativesCollection<%(type)s>::GetBuiltinsCount() { - return %(builtin_count)i; - } - - template <> - int NativesCollection<%(type)s>::GetDelayCount() { - return %(delay_count)i; - } - - template <> - int NativesCollection<%(type)s>::GetIndex(const char* name) { -%(get_index_cases)s\ - return -1; - } - - template <> - Vector<const char> NativesCollection<%(type)s>::GetScriptSource(int index) { -%(get_script_source_cases)s\ - return Vector<const char>("", 0); - } - - template <> - Vector<const char> NativesCollection<%(type)s>::GetScriptName(int index) { -%(get_script_name_cases)s\ - return Vector<const char>("", 0); - } - -} // internal -} // v8 -""" - - -SOURCE_DECLARATION = """\ - static const char %(id)s[] = { %(data)s }; -""" - - -GET_DELAY_INDEX_CASE = """\ - if (strcmp(name, "%(id)s") == 0) return %(i)i; -""" - - -GET_DELAY_SCRIPT_SOURCE_CASE = """\ - if (index == %(i)i) return Vector<const char>(%(id)s, %(length)i); -""" - - -GET_DELAY_SCRIPT_NAME_CASE = """\ - if (index == %(i)i) return Vector<const char>("%(name)s", %(length)i); -""" - -def JS2C(source, target, env): - ids = [] - delay_ids = [] - modules = [] - # Locate the macros file name. - consts = {} - macros = {} - for s in source: - if 'macros.py' == (os.path.split(str(s))[1]): - (consts, macros) = ReadMacros(ReadLines(str(s))) - else: - modules.append(s) - - # Build source code lines - source_lines = [ ] - - minifier = jsmin.JavaScriptMinifier() - - source_lines_empty = [] - for module in modules: - filename = str(module) - delay = filename.endswith('-delay.js') - lines = ReadFile(filename) - lines = ExpandConstants(lines, consts) - lines = ExpandMacros(lines, macros) - Validate(lines, filename) - lines = minifier.JSMinify(lines) - data = ToCArray(lines) - id = (os.path.split(filename)[1])[:-3] - if delay: id = id[:-6] - if delay: - delay_ids.append((id, len(lines))) - else: - ids.append((id, len(lines))) - source_lines.append(SOURCE_DECLARATION % { 'id': id, 'data': data }) - source_lines_empty.append(SOURCE_DECLARATION % { 'id': id, 'data': 0 }) - - # Build delay support functions - get_index_cases = [ ] - get_script_source_cases = [ ] - get_script_name_cases = [ ] - - i = 0 - for (id, length) in delay_ids: - native_name = "native %s.js" % id - get_index_cases.append(GET_DELAY_INDEX_CASE % { 'id': id, 'i': i }) - get_script_source_cases.append(GET_DELAY_SCRIPT_SOURCE_CASE % { - 'id': id, - 'length': length, - 'i': i - }) - get_script_name_cases.append(GET_DELAY_SCRIPT_NAME_CASE % { - 'name': native_name, - 'length': len(native_name), - 'i': i - }); - i = i + 1 - - for (id, length) in ids: - native_name = "native %s.js" % id - get_index_cases.append(GET_DELAY_INDEX_CASE % { 'id': id, 'i': i }) - get_script_source_cases.append(GET_DELAY_SCRIPT_SOURCE_CASE % { - 'id': id, - 'length': length, - 'i': i - }) - get_script_name_cases.append(GET_DELAY_SCRIPT_NAME_CASE % { - 'name': native_name, - 'length': len(native_name), - 'i': i - }); - i = i + 1 - - # Emit result - output = open(str(target[0]), "w") - output.write(HEADER_TEMPLATE % { - 'builtin_count': len(ids) + len(delay_ids), - 'delay_count': len(delay_ids), - 'source_lines': "\n".join(source_lines), - 'get_index_cases': "".join(get_index_cases), - 'get_script_source_cases': "".join(get_script_source_cases), - 'get_script_name_cases': "".join(get_script_name_cases), - 'type': env['TYPE'] - }) - output.close() - - if len(target) > 1: - output = open(str(target[1]), "w") - output.write(HEADER_TEMPLATE % { - 'builtin_count': len(ids) + len(delay_ids), - 'delay_count': len(delay_ids), - 'source_lines': "\n".join(source_lines_empty), - 'get_index_cases': "".join(get_index_cases), - 'get_script_source_cases': "".join(get_script_source_cases), - 'get_script_name_cases': "".join(get_script_name_cases), - 'type': env['TYPE'] - }) - output.close() - -def main(): - natives = sys.argv[1] - natives_empty = sys.argv[2] - type = sys.argv[3] - source_files = sys.argv[4:] - JS2C(source_files, [natives, natives_empty], { 'TYPE': type }) - -if __name__ == "__main__": - main() diff --git a/V8Binding/v8/tools/jsmin.py b/V8Binding/v8/tools/jsmin.py deleted file mode 100644 index fd1abe4..0000000 --- a/V8Binding/v8/tools/jsmin.py +++ /dev/null @@ -1,278 +0,0 @@ -#!/usr/bin/python2.4 - -# Copyright 2009 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. - -"""A JavaScript minifier. - -It is far from being a complete JS parser, so there are many valid -JavaScript programs that will be ruined by it. Another strangeness is that -it accepts $ and % as parts of identifiers. It doesn't merge lines or strip -out blank lines in order to ease debugging. Variables at the top scope are -properties of the global object so we can't rename them. It is assumed that -you introduce variables with var as if JavaScript followed C++ scope rules -around curly braces, so the declaration must be above the first use. - -Use as: -import jsmin -minifier = JavaScriptMinifier() -program1 = minifier.JSMinify(program1) -program2 = minifier.JSMinify(program2) -""" - -import re - - -class JavaScriptMinifier(object): - """An object that you can feed code snippets to to get them minified.""" - - def __init__(self): - # We prepopulate the list of identifiers that shouldn't be used. These - # short language keywords could otherwise be used by the script as variable - # names. - self.seen_identifiers = {"do": True, "in": True} - self.identifier_counter = 0 - self.in_comment = False - self.map = {} - self.nesting = 0 - - def LookAtIdentifier(self, m): - """Records identifiers or keywords that we see in use. - - (So we can avoid renaming variables to these strings.) - Args: - m: The match object returned by re.search. - - Returns: - Nothing. - """ - identifier = m.group(1) - self.seen_identifiers[identifier] = True - - def Push(self): - """Called when we encounter a '{'.""" - self.nesting += 1 - - def Pop(self): - """Called when we encounter a '}'.""" - self.nesting -= 1 - # We treat each top-level opening brace as a single scope that can span - # several sets of nested braces. - if self.nesting == 0: - self.map = {} - self.identifier_counter = 0 - - def Declaration(self, m): - """Rewrites bits of the program selected by a regexp. - - These can be curly braces, literal strings, function declarations and var - declarations. (These last two must be on one line including the opening - curly brace of the function for their variables to be renamed). - - Args: - m: The match object returned by re.search. - - Returns: - The string that should replace the match in the rewritten program. - """ - matched_text = m.group(0) - if matched_text == "{": - self.Push() - return matched_text - if matched_text == "}": - self.Pop() - return matched_text - if re.match("[\"'/]", matched_text): - return matched_text - m = re.match(r"var ", matched_text) - if m: - var_names = matched_text[m.end():] - var_names = re.split(r",", var_names) - return "var " + ",".join(map(self.FindNewName, var_names)) - m = re.match(r"(function\b[^(]*)\((.*)\)\{$", matched_text) - if m: - up_to_args = m.group(1) - args = m.group(2) - args = re.split(r",", args) - self.Push() - return up_to_args + "(" + ",".join(map(self.FindNewName, args)) + "){" - - if matched_text in self.map: - return self.map[matched_text] - - return matched_text - - def CharFromNumber(self, number): - """A single-digit base-52 encoding using a-zA-Z.""" - if number < 26: - return chr(number + 97) - number -= 26 - return chr(number + 65) - - def FindNewName(self, var_name): - """Finds a new 1-character or 2-character name for a variable. - - Enters it into the mapping table for this scope. - - Args: - var_name: The name of the variable before renaming. - - Returns: - The new name of the variable. - """ - new_identifier = "" - # Variable names that end in _ are member variables of the global object, - # so they can be visible from code in a different scope. We leave them - # alone. - if var_name in self.map: - return self.map[var_name] - if self.nesting == 0: - return var_name - while True: - identifier_first_char = self.identifier_counter % 52 - identifier_second_char = self.identifier_counter / 52 - new_identifier = self.CharFromNumber(identifier_first_char) - if identifier_second_char != 0: - new_identifier = ( - self.CharFromNumber(identifier_second_char - 1) + new_identifier) - self.identifier_counter += 1 - if not new_identifier in self.seen_identifiers: - break - - self.map[var_name] = new_identifier - return new_identifier - - def RemoveSpaces(self, m): - """Returns literal strings unchanged, replaces other inputs with group 2. - - Other inputs are replaced with the contents of capture 1. This is either - a single space or an empty string. - - Args: - m: The match object returned by re.search. - - Returns: - The string that should be inserted instead of the matched text. - """ - entire_match = m.group(0) - replacement = m.group(1) - if re.match(r"'.*'$", entire_match): - return entire_match - if re.match(r'".*"$', entire_match): - return entire_match - if re.match(r"/.+/$", entire_match): - return entire_match - return replacement - - def JSMinify(self, text): - """The main entry point. Takes a text and returns a compressed version. - - The compressed version hopefully does the same thing. Line breaks are - preserved. - - Args: - text: The text of the code snippet as a multiline string. - - Returns: - The compressed text of the code snippet as a multiline string. - """ - new_lines = [] - for line in re.split(r"\n", text): - line = line.replace("\t", " ") - if self.in_comment: - m = re.search(r"\*/", line) - if m: - line = line[m.end():] - self.in_comment = False - else: - new_lines.append("") - continue - - if not self.in_comment: - line = re.sub(r"/\*.*?\*/", " ", line) - line = re.sub(r"//.*", "", line) - m = re.search(r"/\*", line) - if m: - line = line[:m.start()] - self.in_comment = True - - # Strip leading and trailing spaces. - line = re.sub(r"^ +", "", line) - line = re.sub(r" +$", "", line) - # A regexp that matches a literal string surrounded by "double quotes". - # This regexp can handle embedded backslash-escaped characters including - # embedded backslash-escaped double quotes. - double_quoted_string = r'"(?:[^"\\]|\\.)*"' - # A regexp that matches a literal string surrounded by 'double quotes'. - single_quoted_string = r"'(?:[^'\\]|\\.)*'" - # A regexp that matches a regexp literal surrounded by /slashes/. - slash_quoted_regexp = r"/(?:[^/\\]|\\.)+/" - # Replace multiple spaces with a single space. - line = re.sub("|".join([double_quoted_string, - single_quoted_string, - slash_quoted_regexp, - "( )+"]), - self.RemoveSpaces, - line) - # Strip single spaces unless they have an identifier character both before - # and after the space. % and $ are counted as identifier characters. - line = re.sub("|".join([double_quoted_string, - single_quoted_string, - slash_quoted_regexp, - r"(?<![a-zA-Z_0-9$%]) | (?![a-zA-Z_0-9$%])()"]), - self.RemoveSpaces, - line) - # Collect keywords and identifiers that are already in use. - if self.nesting == 0: - re.sub(r"([a-zA-Z0-9_$%]+)", self.LookAtIdentifier, line) - function_declaration_regexp = ( - r"\bfunction" # Function definition keyword... - r"( [\w$%]+)?" # ...optional function name... - r"\([\w$%,]+\)\{") # ...argument declarations. - # Unfortunately the keyword-value syntax { key:value } makes the key look - # like a variable where in fact it is a literal string. We use the - # presence or absence of a question mark to try to distinguish between - # this case and the ternary operator: "condition ? iftrue : iffalse". - if re.search(r"\?", line): - block_trailing_colon = r"" - else: - block_trailing_colon = r"(?![:\w$%])" - # Variable use. Cannot follow a period precede a colon. - variable_use_regexp = r"(?<![.\w$%])[\w$%]+" + block_trailing_colon - line = re.sub("|".join([double_quoted_string, - single_quoted_string, - slash_quoted_regexp, - r"\{", # Curly braces. - r"\}", - r"\bvar [\w$%,]+", # var declarations. - function_declaration_regexp, - variable_use_regexp]), - self.Declaration, - line) - new_lines.append(line) - - return "\n".join(new_lines) + "\n" diff --git a/V8Binding/v8/tools/linux-tick-processor b/V8Binding/v8/tools/linux-tick-processor deleted file mode 100755 index ca1c721..0000000 --- a/V8Binding/v8/tools/linux-tick-processor +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -tools_path=`cd $(dirname "$0");pwd` -if [ ! "$D8_PATH" ]; then - d8_public=`which d8` - if [ $d8_public ]; then D8_PATH=$(dirname "$d8_public"); fi -fi -[ "$D8_PATH" ] || D8_PATH=$tools_path/.. -d8_exec=$D8_PATH/d8 - -if [ "$1" == "--no-build" ]; then - shift -else -# compile d8 if it doesn't exist, assuming this script -# resides in the repository. - [ -x $d8_exec ] || scons -j4 -C $D8_PATH -Y $tools_path/.. d8 -fi - -# nm spits out 'no symbols found' messages to stderr. -$d8_exec $tools_path/splaytree.js $tools_path/codemap.js \ - $tools_path/csvparser.js $tools_path/consarray.js \ - $tools_path/profile.js $tools_path/profile_view.js \ - $tools_path/logreader.js $tools_path/tickprocessor.js \ - $tools_path/tickprocessor-driver.js -- $@ 2>/dev/null diff --git a/V8Binding/v8/tools/linux-tick-processor.py b/V8Binding/v8/tools/linux-tick-processor.py deleted file mode 100755 index 67c3b95..0000000 --- a/V8Binding/v8/tools/linux-tick-processor.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2008 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. - -# Usage: process-ticks.py <logfile> -# Where <logfile> is the log file name (eg, v8.log). - -import subprocess, re, sys, tickprocessor - -class LinuxTickProcessor(tickprocessor.TickProcessor): - - def ParseVMSymbols(self, filename, start, end): - """Extract symbols and add them to the cpp entries.""" - # Extra both dynamic and non-dynamic symbols. - command = 'nm -C -n "%s"; nm -C -n -D "%s"' % (filename, filename) - process = subprocess.Popen(command, shell=True, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT) - pipe = process.stdout - try: - for line in pipe: - row = re.match('^([0-9a-fA-F]{8}) . (.*)$', line) - if row: - addr = int(row.group(1), 16) - if addr < start and addr < end - start: - addr += start - self.cpp_entries.Insert(addr, tickprocessor.CodeEntry(addr, row.group(2))) - finally: - pipe.close() - - -class LinuxCmdLineProcessor(tickprocessor.CmdLineProcessor): - - def GetRequiredArgsNames(self): - return 'log_file' - - def ProcessRequiredArgs(self, args): - if len(args) != 1: - self.PrintUsageAndExit() - else: - self.log_file = args[0] - - -def Main(): - cmdline_processor = LinuxCmdLineProcessor() - cmdline_processor.ProcessArguments() - tick_processor = LinuxTickProcessor() - cmdline_processor.RunLogfileProcessing(tick_processor) - tick_processor.PrintResults() - - -if __name__ == '__main__': - Main() diff --git a/V8Binding/v8/tools/logreader.js b/V8Binding/v8/tools/logreader.js deleted file mode 100644 index 88ab907..0000000 --- a/V8Binding/v8/tools/logreader.js +++ /dev/null @@ -1,320 +0,0 @@ -// Copyright 2009 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. - -/** - * @fileoverview Log Reader is used to process log file produced by V8. - */ - -// Initlialize namespaces -var devtools = devtools || {}; -devtools.profiler = devtools.profiler || {}; - - -/** - * Base class for processing log files. - * - * @param {Array.<Object>} dispatchTable A table used for parsing and processing - * log records. - * @constructor - */ -devtools.profiler.LogReader = function(dispatchTable) { - /** - * @type {Array.<Object>} - */ - this.dispatchTable_ = dispatchTable; - this.dispatchTable_['alias'] = - { parsers: [null, null], processor: this.processAlias_ }; - this.dispatchTable_['repeat'] = - { parsers: [parseInt, 'var-args'], processor: this.processRepeat_, - backrefs: true }; - - /** - * A key-value map for aliases. Translates short name -> full name. - * @type {Object} - */ - this.aliases_ = {}; - - /** - * A key-value map for previous address values. - * @type {Object} - */ - this.prevAddresses_ = {}; - - /** - * A key-value map for events than can be backreference-compressed. - * @type {Object} - */ - this.backRefsCommands_ = {}; - this.initBackRefsCommands_(); - - /** - * Back references for decompression. - * @type {Array.<string>} - */ - this.backRefs_ = []; -}; - - -/** - * Creates a parser for an address entry. - * - * @param {string} addressTag Address tag to perform offset decoding. - * @return {function(string):number} Address parser. - */ -devtools.profiler.LogReader.prototype.createAddressParser = function( - addressTag) { - var self = this; - return (function (str) { - var value = parseInt(str, 16); - var firstChar = str.charAt(0); - if (firstChar == '+' || firstChar == '-') { - var addr = self.prevAddresses_[addressTag]; - addr += value; - self.prevAddresses_[addressTag] = addr; - return addr; - } else if (firstChar != '0' || str.charAt(1) != 'x') { - self.prevAddresses_[addressTag] = value; - } - return value; - }); -}; - - -/** - * Expands an alias symbol, if applicable. - * - * @param {string} symbol Symbol to expand. - * @return {string} Expanded symbol, or the input symbol itself. - */ -devtools.profiler.LogReader.prototype.expandAlias = function(symbol) { - return symbol in this.aliases_ ? this.aliases_[symbol] : symbol; -}; - - -/** - * Used for printing error messages. - * - * @param {string} str Error message. - */ -devtools.profiler.LogReader.prototype.printError = function(str) { - // Do nothing. -}; - - -/** - * Processes a portion of V8 profiler event log. - * - * @param {string} chunk A portion of log. - */ -devtools.profiler.LogReader.prototype.processLogChunk = function(chunk) { - this.processLog_(chunk.split('\n')); -}; - - -/** - * Processes stack record. - * - * @param {number} pc Program counter. - * @param {Array.<string>} stack String representation of a stack. - * @return {Array.<number>} Processed stack. - */ -devtools.profiler.LogReader.prototype.processStack = function(pc, stack) { - var fullStack = [pc]; - var prevFrame = pc; - for (var i = 0, n = stack.length; i < n; ++i) { - var frame = stack[i]; - var firstChar = frame.charAt(0); - if (firstChar == '+' || firstChar == '-') { - // An offset from the previous frame. - prevFrame += parseInt(frame, 16); - fullStack.push(prevFrame); - // Filter out possible 'overflow' string. - } else if (firstChar != 'o') { - fullStack.push(parseInt(frame, 16)); - } - } - return fullStack; -}; - - -/** - * Returns whether a particular dispatch must be skipped. - * - * @param {!Object} dispatch Dispatch record. - * @return {boolean} True if dispatch must be skipped. - */ -devtools.profiler.LogReader.prototype.skipDispatch = function(dispatch) { - return false; -}; - - -/** - * Does a dispatch of a log record. - * - * @param {Array.<string>} fields Log record. - * @private - */ -devtools.profiler.LogReader.prototype.dispatchLogRow_ = function(fields) { - // Obtain the dispatch. - var command = fields[0]; - if (!(command in this.dispatchTable_)) { - throw new Error('unknown command: ' + command); - } - var dispatch = this.dispatchTable_[command]; - - if (dispatch === null || this.skipDispatch(dispatch)) { - return; - } - - // Parse fields. - var parsedFields = []; - for (var i = 0; i < dispatch.parsers.length; ++i) { - var parser = dispatch.parsers[i]; - if (parser === null) { - parsedFields.push(fields[1 + i]); - } else if (typeof parser == 'function') { - parsedFields.push(parser(fields[1 + i])); - } else { - // var-args - parsedFields.push(fields.slice(1 + i)); - break; - } - } - - // Run the processor. - dispatch.processor.apply(this, parsedFields); -}; - - -/** - * Decompresses a line if it was backreference-compressed. - * - * @param {string} line Possibly compressed line. - * @return {string} Decompressed line. - * @private - */ -devtools.profiler.LogReader.prototype.expandBackRef_ = function(line) { - var backRefPos; - // Filter out case when a regexp is created containing '#'. - if (line.charAt(line.length - 1) != '"' - && (backRefPos = line.lastIndexOf('#')) != -1) { - var backRef = line.substr(backRefPos + 1); - var backRefIdx = parseInt(backRef, 10) - 1; - var colonPos = backRef.indexOf(':'); - var backRefStart = - colonPos != -1 ? parseInt(backRef.substr(colonPos + 1), 10) : 0; - line = line.substr(0, backRefPos) + - this.backRefs_[backRefIdx].substr(backRefStart); - } - this.backRefs_.unshift(line); - if (this.backRefs_.length > 10) { - this.backRefs_.length = 10; - } - return line; -}; - - -/** - * Initializes the map of backward reference compressible commands. - * @private - */ -devtools.profiler.LogReader.prototype.initBackRefsCommands_ = function() { - for (var event in this.dispatchTable_) { - var dispatch = this.dispatchTable_[event]; - if (dispatch && dispatch.backrefs) { - this.backRefsCommands_[event] = true; - } - } -}; - - -/** - * Processes alias log record. Adds an alias to a corresponding map. - * - * @param {string} symbol Short name. - * @param {string} expansion Long name. - * @private - */ -devtools.profiler.LogReader.prototype.processAlias_ = function( - symbol, expansion) { - if (expansion in this.dispatchTable_) { - this.dispatchTable_[symbol] = this.dispatchTable_[expansion]; - if (expansion in this.backRefsCommands_) { - this.backRefsCommands_[symbol] = true; - } - } else { - this.aliases_[symbol] = expansion; - } -}; - - -/** - * Processes log lines. - * - * @param {Array.<string>} lines Log lines. - * @private - */ -devtools.profiler.LogReader.prototype.processLog_ = function(lines) { - var csvParser = new devtools.profiler.CsvParser(); - try { - for (var i = 0, n = lines.length; i < n; ++i) { - var line = lines[i]; - if (!line) { - continue; - } - if (line.charAt(0) == '#' || - line.substr(0, line.indexOf(',')) in this.backRefsCommands_) { - line = this.expandBackRef_(line); - } - var fields = csvParser.parseLine(line); - this.dispatchLogRow_(fields); - } - } catch (e) { - // An error on the last line is acceptable since log file can be truncated. - if (i < n - 1) { - this.printError('line ' + (i + 1) + ': ' + (e.message || e)); - throw e; - } - } -}; - - -/** - * Processes repeat log record. Expands it according to calls count and - * invokes processing. - * - * @param {number} count Count. - * @param {Array.<string>} cmd Parsed command. - * @private - */ -devtools.profiler.LogReader.prototype.processRepeat_ = function(count, cmd) { - // Replace the repeat-prefixed command from backrefs list with a non-prefixed. - this.backRefs_[0] = cmd.join(','); - for (var i = 0; i < count; ++i) { - this.dispatchLogRow_(cmd); - } -}; diff --git a/V8Binding/v8/tools/mac-nm b/V8Binding/v8/tools/mac-nm deleted file mode 100755 index 07efb07..0000000 --- a/V8Binding/v8/tools/mac-nm +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# This script is a wrapper for OS X nm(1) tool. nm(1) perform C++ function -# names demangling, so we're piping its output to c++filt(1) tool which does it. -# But c++filt(1) comes with XCode (as a part of GNU binutils), so it doesn't -# guaranteed to exist on a system. -# -# An alternative approach is to perform demangling in tick processor, but -# for GNU C++ ABI this is a complex process (see cp-demangle.c sources), and -# can't be done partially, because term boundaries are plain text symbols, such -# as 'N', 'E', so one can't just do a search through a function name, it really -# needs to be parsed, which requires a lot of knowledge to be coded in. - -if [ "`which c++filt`" == "" ]; then - nm "$@" -else - nm "$@" | c++filt -p -i -fi diff --git a/V8Binding/v8/tools/mac-tick-processor b/V8Binding/v8/tools/mac-tick-processor deleted file mode 100755 index 5fba622..0000000 --- a/V8Binding/v8/tools/mac-tick-processor +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# A wrapper script to call 'linux-tick-processor' with Mac-specific settings. - -tools_path=`cd $(dirname "$0");pwd` -$tools_path/linux-tick-processor --mac --nm=$tools_path/mac-nm $@ diff --git a/V8Binding/v8/tools/oprofile/annotate b/V8Binding/v8/tools/oprofile/annotate deleted file mode 100755 index a6a8545..0000000 --- a/V8Binding/v8/tools/oprofile/annotate +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Source common stuff. -. `cd $(dirname "$0");pwd`/common - -opannotate --assembly --session-dir="$OPROFILE_SESSION_DIR" "$shell_exec" "$@" - diff --git a/V8Binding/v8/tools/oprofile/common b/V8Binding/v8/tools/oprofile/common deleted file mode 100755 index fd00207..0000000 --- a/V8Binding/v8/tools/oprofile/common +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# Determine the session directory to use for oprofile. -[ "$OPROFILE_SESSION_DIR" ] || OPROFILE_SESSION_DIR=/tmp/oprofv8 - -# If no executable passed as the first parameter assume V8 release mode shell. -if [[ -x $1 ]] -then - shell_exec=`readlink -f "$1"` - # Any additional parameters are for the oprofile command. - shift -else - oprofile_tools_path=`cd $(dirname "$0");pwd` - [ "$V8_SHELL_DIR" ] || V8_SHELL_DIR=$oprofile_tools_path/../.. - shell_exec=$V8_SHELL_DIR/shell -fi - -alias sudo_opcontrol='sudo opcontrol --session-dir="$OPROFILE_SESSION_DIR"' - diff --git a/V8Binding/v8/tools/oprofile/dump b/V8Binding/v8/tools/oprofile/dump deleted file mode 100755 index 17bb0a1..0000000 --- a/V8Binding/v8/tools/oprofile/dump +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Source common stuff. -. `cd $(dirname "$0");pwd`/common - -sudo_opcontrol --dump "@$" - diff --git a/V8Binding/v8/tools/oprofile/report b/V8Binding/v8/tools/oprofile/report deleted file mode 100755 index b7f28b9..0000000 --- a/V8Binding/v8/tools/oprofile/report +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Source common stuff. -. `cd $(dirname "$0");pwd`/common - -opreport --symbols --session-dir="$OPROFILE_SESSION_DIR" "$shell_exec" "$@" - diff --git a/V8Binding/v8/tools/oprofile/reset b/V8Binding/v8/tools/oprofile/reset deleted file mode 100755 index edb7071..0000000 --- a/V8Binding/v8/tools/oprofile/reset +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Source common stuff. -. `cd $(dirname "$0");pwd`/common - -sudo_opcontrol --reset "$@" - diff --git a/V8Binding/v8/tools/oprofile/run b/V8Binding/v8/tools/oprofile/run deleted file mode 100755 index 0a92470..0000000 --- a/V8Binding/v8/tools/oprofile/run +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Source common stuff. -. `cd $(dirname "$0");pwd`/common - -# Reset oprofile samples. -sudo_opcontrol --reset - -# Run the executable to profile with the correct arguments. -"$shell_exec" --oprofile "$@" - -# Flush oprofile data including the generated code into ELF binaries. -sudo_opcontrol --dump - diff --git a/V8Binding/v8/tools/oprofile/shutdown b/V8Binding/v8/tools/oprofile/shutdown deleted file mode 100755 index 8ebb72f..0000000 --- a/V8Binding/v8/tools/oprofile/shutdown +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Source common stuff. -. `cd $(dirname "$0");pwd`/common - -sudo_opcontrol --shutdown "$@" - diff --git a/V8Binding/v8/tools/oprofile/start b/V8Binding/v8/tools/oprofile/start deleted file mode 100755 index 059e4b8..0000000 --- a/V8Binding/v8/tools/oprofile/start +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Source common stuff. -. `cd $(dirname "$0");pwd`/common - -sudo_opcontrol --start --no-vmlinux "$@" - diff --git a/V8Binding/v8/tools/presubmit.py b/V8Binding/v8/tools/presubmit.py deleted file mode 100755 index c4f7853..0000000 --- a/V8Binding/v8/tools/presubmit.py +++ /dev/null @@ -1,234 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2008 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. - - -import optparse -import os -from os.path import abspath, join, dirname, basename, exists -import re -import sys -import subprocess - -# Disabled LINT rules and reason. -# build/include_what_you_use: Started giving false positives for variables -# named "string" and "map" assuming that you needed to include STL headers. - -ENABLED_LINT_RULES = """ -build/class -build/deprecated -build/endif_comment -build/forward_decl -build/include_order -build/printf_format -build/storage_class -legal/copyright -readability/boost -readability/braces -readability/casting -readability/check -readability/constructors -readability/fn_size -readability/function -readability/multiline_comment -readability/multiline_string -readability/streams -readability/todo -readability/utf8 -runtime/arrays -runtime/casting -runtime/deprecated_fn -runtime/explicit -runtime/int -runtime/memset -runtime/mutex -runtime/nonconf -runtime/printf -runtime/printf_format -runtime/references -runtime/rtti -runtime/sizeof -runtime/string -runtime/virtual -runtime/vlog -whitespace/blank_line -whitespace/braces -whitespace/comma -whitespace/comments -whitespace/end_of_line -whitespace/ending_newline -whitespace/indent -whitespace/labels -whitespace/line_length -whitespace/newline -whitespace/operators -whitespace/parens -whitespace/tab -whitespace/todo -""".split() - - -class SourceFileProcessor(object): - """ - Utility class that can run through a directory structure, find all relevant - files and invoke a custom check on the files. - """ - - def Run(self, path): - all_files = [] - for file in self.GetPathsToSearch(): - all_files += self.FindFilesIn(join(path, file)) - if not self.ProcessFiles(all_files, path): - return False - return True - - def IgnoreDir(self, name): - return name.startswith('.') or name == 'data' - - def IgnoreFile(self, name): - return name.startswith('.') - - def FindFilesIn(self, path): - result = [] - for (root, dirs, files) in os.walk(path): - for ignored in [x for x in dirs if self.IgnoreDir(x)]: - dirs.remove(ignored) - for file in files: - if not self.IgnoreFile(file) and self.IsRelevant(file): - result.append(join(root, file)) - return result - - -class CppLintProcessor(SourceFileProcessor): - """ - Lint files to check that they follow the google code style. - """ - - def IsRelevant(self, name): - return name.endswith('.cc') or name.endswith('.h') - - def IgnoreDir(self, name): - return (super(CppLintProcessor, self).IgnoreDir(name) - or (name == 'third_party')) - - IGNORE_LINT = ['flag-definitions.h'] - - def IgnoreFile(self, name): - return (super(CppLintProcessor, self).IgnoreFile(name) - or (name in CppLintProcessor.IGNORE_LINT)) - - def GetPathsToSearch(self): - return ['src', 'public', 'samples', join('test', 'cctest')] - - def ProcessFiles(self, files, path): - filt = '-,' + ",".join(['+' + n for n in ENABLED_LINT_RULES]) - command = ['cpplint.py', '--filter', filt] + join(files) - local_cpplint = join(path, "tools", "cpplint.py") - if exists(local_cpplint): - command = ['python', local_cpplint, '--filter', filt] + join(files) - process = subprocess.Popen(command) - return process.wait() == 0 - - -COPYRIGHT_HEADER_PATTERN = re.compile( - r'Copyright [\d-]*200[8-9] the V8 project authors. All rights reserved.') - -class SourceProcessor(SourceFileProcessor): - """ - Check that all files include a copyright notice. - """ - - RELEVANT_EXTENSIONS = ['.js', '.cc', '.h', '.py', '.c', 'SConscript', - 'SConstruct', '.status'] - def IsRelevant(self, name): - for ext in SourceProcessor.RELEVANT_EXTENSIONS: - if name.endswith(ext): - return True - return False - - def GetPathsToSearch(self): - return ['.'] - - def IgnoreDir(self, name): - return (super(SourceProcessor, self).IgnoreDir(name) - or (name == 'third_party') - or (name == 'obj')) - - IGNORE_COPYRIGHTS = ['earley-boyer.js', 'raytrace.js', 'crypto.js', - 'libraries.cc', 'libraries-empty.cc', 'jsmin.py', 'regexp-pcre.js'] - IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', - 'html-comments.js'] - - def ProcessContents(self, name, contents): - result = True - base = basename(name) - if not base in SourceProcessor.IGNORE_TABS: - if '\t' in contents: - print "%s contains tabs" % name - result = False - if not base in SourceProcessor.IGNORE_COPYRIGHTS: - if not COPYRIGHT_HEADER_PATTERN.search(contents): - print "%s is missing a correct copyright header." % name - result = False - return result - - def ProcessFiles(self, files, path): - success = True - for file in files: - try: - handle = open(file) - contents = handle.read() - success = self.ProcessContents(file, contents) and success - finally: - handle.close() - return success - - -def GetOptions(): - result = optparse.OptionParser() - result.add_option('--no-lint', help="Do not run cpplint", default=False, - action="store_true") - return result - - -def Main(): - workspace = abspath(join(dirname(sys.argv[0]), '..')) - parser = GetOptions() - (options, args) = parser.parse_args() - success = True - if not options.no_lint: - success = CppLintProcessor().Run(workspace) and success - success = SourceProcessor().Run(workspace) and success - if success: - return 0 - else: - return 1 - - -if __name__ == '__main__': - sys.exit(Main()) diff --git a/V8Binding/v8/tools/process-heap-prof.py b/V8Binding/v8/tools/process-heap-prof.py deleted file mode 100755 index ff83952..0000000 --- a/V8Binding/v8/tools/process-heap-prof.py +++ /dev/null @@ -1,80 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2009 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. - -# This is an utility for converting V8 heap logs into .hp files that can -# be further processed using 'hp2ps' tool (bundled with GHC and Valgrind) -# to produce heap usage histograms. - -# Sample usage: -# $ ./shell --log-gc script.js -# $ tools/process-heap-prof.py v8.log | hp2ps -c > script-heap-graph.ps -# ('-c' enables color, see hp2ps manual page for more options) -# or -# $ tools/process-heap-prof.py --js-cons-profile v8.log | hp2ps -c > script-heap-graph.ps -# to get JS constructor profile - - -import csv, sys, time - -def process_logfile(filename, itemname): - first_call_time = None - sample_time = 0.0 - sampling = False - try: - logfile = open(filename, 'rb') - try: - logreader = csv.reader(logfile) - - print('JOB "v8"') - print('DATE "%s"' % time.asctime(time.localtime())) - print('SAMPLE_UNIT "seconds"') - print('VALUE_UNIT "bytes"') - - for row in logreader: - if row[0] == 'heap-sample-begin' and row[1] == 'Heap': - sample_time = float(row[3])/1000.0 - if first_call_time == None: - first_call_time = sample_time - sample_time -= first_call_time - print('BEGIN_SAMPLE %.2f' % sample_time) - sampling = True - elif row[0] == 'heap-sample-end' and row[1] == 'Heap': - print('END_SAMPLE %.2f' % sample_time) - sampling = False - elif row[0] == itemname and sampling: - print('%s %d' % (row[1], int(row[3]))) - finally: - logfile.close() - except: - sys.exit('can\'t open %s' % filename) - -if sys.argv[1] == '--js-cons-profile': - process_logfile(sys.argv[2], 'heap-js-cons-item') -else: - process_logfile(sys.argv[1], 'heap-sample-item') diff --git a/V8Binding/v8/tools/profile.js b/V8Binding/v8/tools/profile.js deleted file mode 100644 index db4b542..0000000 --- a/V8Binding/v8/tools/profile.js +++ /dev/null @@ -1,621 +0,0 @@ -// Copyright 2009 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. - - -// Initlialize namespaces -var devtools = devtools || {}; -devtools.profiler = devtools.profiler || {}; - - -/** - * Creates a profile object for processing profiling-related events - * and calculating function execution times. - * - * @constructor - */ -devtools.profiler.Profile = function() { - this.codeMap_ = new devtools.profiler.CodeMap(); - this.topDownTree_ = new devtools.profiler.CallTree(); - this.bottomUpTree_ = new devtools.profiler.CallTree(); -}; - - -/** - * Returns whether a function with the specified name must be skipped. - * Should be overriden by subclasses. - * - * @param {string} name Function name. - */ -devtools.profiler.Profile.prototype.skipThisFunction = function(name) { - return false; -}; - - -/** - * Enum for profiler operations that involve looking up existing - * code entries. - * - * @enum {number} - */ -devtools.profiler.Profile.Operation = { - MOVE: 0, - DELETE: 1, - TICK: 2 -}; - - -/** - * Called whenever the specified operation has failed finding a function - * containing the specified address. Should be overriden by subclasses. - * See the devtools.profiler.Profile.Operation enum for the list of - * possible operations. - * - * @param {number} operation Operation. - * @param {number} addr Address of the unknown code. - * @param {number} opt_stackPos If an unknown address is encountered - * during stack strace processing, specifies a position of the frame - * containing the address. - */ -devtools.profiler.Profile.prototype.handleUnknownCode = function( - operation, addr, opt_stackPos) { -}; - - -/** - * Registers a library. - * - * @param {string} name Code entry name. - * @param {number} startAddr Starting address. - * @param {number} endAddr Ending address. - */ -devtools.profiler.Profile.prototype.addLibrary = function( - name, startAddr, endAddr) { - var entry = new devtools.profiler.CodeMap.CodeEntry( - endAddr - startAddr, name); - this.codeMap_.addLibrary(startAddr, entry); - return entry; -}; - - -/** - * Registers statically compiled code entry. - * - * @param {string} name Code entry name. - * @param {number} startAddr Starting address. - * @param {number} endAddr Ending address. - */ -devtools.profiler.Profile.prototype.addStaticCode = function( - name, startAddr, endAddr) { - var entry = new devtools.profiler.CodeMap.CodeEntry( - endAddr - startAddr, name); - this.codeMap_.addStaticCode(startAddr, entry); - return entry; -}; - - -/** - * Registers dynamic (JIT-compiled) code entry. - * - * @param {string} type Code entry type. - * @param {string} name Code entry name. - * @param {number} start Starting address. - * @param {number} size Code entry size. - */ -devtools.profiler.Profile.prototype.addCode = function( - type, name, start, size) { - var entry = new devtools.profiler.Profile.DynamicCodeEntry(size, type, name); - this.codeMap_.addCode(start, entry); - return entry; -}; - - -/** - * Reports about moving of a dynamic code entry. - * - * @param {number} from Current code entry address. - * @param {number} to New code entry address. - */ -devtools.profiler.Profile.prototype.moveCode = function(from, to) { - try { - this.codeMap_.moveCode(from, to); - } catch (e) { - this.handleUnknownCode(devtools.profiler.Profile.Operation.MOVE, from); - } -}; - - -/** - * Reports about deletion of a dynamic code entry. - * - * @param {number} start Starting address. - */ -devtools.profiler.Profile.prototype.deleteCode = function(start) { - try { - this.codeMap_.deleteCode(start); - } catch (e) { - this.handleUnknownCode(devtools.profiler.Profile.Operation.DELETE, start); - } -}; - - -/** - * Records a tick event. Stack must contain a sequence of - * addresses starting with the program counter value. - * - * @param {Array<number>} stack Stack sample. - */ -devtools.profiler.Profile.prototype.recordTick = function(stack) { - var processedStack = this.resolveAndFilterFuncs_(stack); - this.bottomUpTree_.addPath(processedStack); - processedStack.reverse(); - this.topDownTree_.addPath(processedStack); -}; - - -/** - * Translates addresses into function names and filters unneeded - * functions. - * - * @param {Array<number>} stack Stack sample. - */ -devtools.profiler.Profile.prototype.resolveAndFilterFuncs_ = function(stack) { - var result = []; - for (var i = 0; i < stack.length; ++i) { - var entry = this.codeMap_.findEntry(stack[i]); - if (entry) { - var name = entry.getName(); - if (!this.skipThisFunction(name)) { - result.push(name); - } - } else { - this.handleUnknownCode( - devtools.profiler.Profile.Operation.TICK, stack[i], i); - } - } - return result; -}; - - -/** - * Performs a BF traversal of the top down call graph. - * - * @param {function(devtools.profiler.CallTree.Node)} f Visitor function. - */ -devtools.profiler.Profile.prototype.traverseTopDownTree = function(f) { - this.topDownTree_.traverse(f); -}; - - -/** - * Performs a BF traversal of the bottom up call graph. - * - * @param {function(devtools.profiler.CallTree.Node)} f Visitor function. - */ -devtools.profiler.Profile.prototype.traverseBottomUpTree = function(f) { - this.bottomUpTree_.traverse(f); -}; - - -/** - * Calculates a top down profile for a node with the specified label. - * If no name specified, returns the whole top down calls tree. - * - * @param {string} opt_label Node label. - */ -devtools.profiler.Profile.prototype.getTopDownProfile = function(opt_label) { - return this.getTreeProfile_(this.topDownTree_, opt_label); -}; - - -/** - * Calculates a bottom up profile for a node with the specified label. - * If no name specified, returns the whole bottom up calls tree. - * - * @param {string} opt_label Node label. - */ -devtools.profiler.Profile.prototype.getBottomUpProfile = function(opt_label) { - return this.getTreeProfile_(this.bottomUpTree_, opt_label); -}; - - -/** - * Helper function for calculating a tree profile. - * - * @param {devtools.profiler.Profile.CallTree} tree Call tree. - * @param {string} opt_label Node label. - */ -devtools.profiler.Profile.prototype.getTreeProfile_ = function(tree, opt_label) { - if (!opt_label) { - tree.computeTotalWeights(); - return tree; - } else { - var subTree = tree.cloneSubtree(opt_label); - subTree.computeTotalWeights(); - return subTree; - } -}; - - -/** - * Calculates a flat profile of callees starting from a node with - * the specified label. If no name specified, starts from the root. - * - * @param {string} opt_label Starting node label. - */ -devtools.profiler.Profile.prototype.getFlatProfile = function(opt_label) { - var counters = new devtools.profiler.CallTree(); - var rootLabel = opt_label || devtools.profiler.CallTree.ROOT_NODE_LABEL; - var precs = {}; - precs[rootLabel] = 0; - var root = counters.findOrAddChild(rootLabel); - - this.topDownTree_.computeTotalWeights(); - this.topDownTree_.traverseInDepth( - function onEnter(node) { - if (!(node.label in precs)) { - precs[node.label] = 0; - } - var nodeLabelIsRootLabel = node.label == rootLabel; - if (nodeLabelIsRootLabel || precs[rootLabel] > 0) { - if (precs[rootLabel] == 0) { - root.selfWeight += node.selfWeight; - root.totalWeight += node.totalWeight; - } else { - var rec = root.findOrAddChild(node.label); - rec.selfWeight += node.selfWeight; - if (nodeLabelIsRootLabel || precs[node.label] == 0) { - rec.totalWeight += node.totalWeight; - } - } - precs[node.label]++; - } - }, - function onExit(node) { - if (node.label == rootLabel || precs[rootLabel] > 0) { - precs[node.label]--; - } - }, - null); - - if (!opt_label) { - // If we have created a flat profile for the whole program, we don't - // need an explicit root in it. Thus, replace the counters tree - // root with the node corresponding to the whole program. - counters.root_ = root; - } else { - // Propagate weights so percents can be calculated correctly. - counters.getRoot().selfWeight = root.selfWeight; - counters.getRoot().totalWeight = root.totalWeight; - } - return counters; -}; - - -/** - * Creates a dynamic code entry. - * - * @param {number} size Code size. - * @param {string} type Code type. - * @param {string} name Function name. - * @constructor - */ -devtools.profiler.Profile.DynamicCodeEntry = function(size, type, name) { - devtools.profiler.CodeMap.CodeEntry.call(this, size, name); - this.type = type; -}; - - -/** - * Returns node name. - */ -devtools.profiler.Profile.DynamicCodeEntry.prototype.getName = function() { - var name = this.name; - if (name.length == 0) { - name = '<anonymous>'; - } else if (name.charAt(0) == ' ') { - // An anonymous function with location: " aaa.js:10". - name = '<anonymous>' + name; - } - return this.type + ': ' + name; -}; - - -/** - * Constructs a call graph. - * - * @constructor - */ -devtools.profiler.CallTree = function() { - this.root_ = new devtools.profiler.CallTree.Node( - devtools.profiler.CallTree.ROOT_NODE_LABEL); -}; - - -/** - * The label of the root node. - */ -devtools.profiler.CallTree.ROOT_NODE_LABEL = ''; - - -/** - * @private - */ -devtools.profiler.CallTree.prototype.totalsComputed_ = false; - - -/** - * Returns the tree root. - */ -devtools.profiler.CallTree.prototype.getRoot = function() { - return this.root_; -}; - - -/** - * Adds the specified call path, constructing nodes as necessary. - * - * @param {Array<string>} path Call path. - */ -devtools.profiler.CallTree.prototype.addPath = function(path) { - if (path.length == 0) { - return; - } - var curr = this.root_; - for (var i = 0; i < path.length; ++i) { - curr = curr.findOrAddChild(path[i]); - } - curr.selfWeight++; - this.totalsComputed_ = false; -}; - - -/** - * Finds an immediate child of the specified parent with the specified - * label, creates a child node if necessary. If a parent node isn't - * specified, uses tree root. - * - * @param {string} label Child node label. - */ -devtools.profiler.CallTree.prototype.findOrAddChild = function(label) { - return this.root_.findOrAddChild(label); -}; - - -/** - * Creates a subtree by cloning and merging all subtrees rooted at nodes - * with a given label. E.g. cloning the following call tree on label 'A' - * will give the following result: - * - * <A>--<B> <B> - * / / - * <root> == clone on 'A' ==> <root>--<A> - * \ \ - * <C>--<A>--<D> <D> - * - * And <A>'s selfWeight will be the sum of selfWeights of <A>'s from the - * source call tree. - * - * @param {string} label The label of the new root node. - */ -devtools.profiler.CallTree.prototype.cloneSubtree = function(label) { - var subTree = new devtools.profiler.CallTree(); - this.traverse(function(node, parent) { - if (!parent && node.label != label) { - return null; - } - var child = (parent ? parent : subTree).findOrAddChild(node.label); - child.selfWeight += node.selfWeight; - return child; - }); - return subTree; -}; - - -/** - * Computes total weights in the call graph. - */ -devtools.profiler.CallTree.prototype.computeTotalWeights = function() { - if (this.totalsComputed_) { - return; - } - this.root_.computeTotalWeight(); - this.totalsComputed_ = true; -}; - - -/** - * Traverses the call graph in preorder. This function can be used for - * building optionally modified tree clones. This is the boilerplate code - * for this scenario: - * - * callTree.traverse(function(node, parentClone) { - * var nodeClone = cloneNode(node); - * if (parentClone) - * parentClone.addChild(nodeClone); - * return nodeClone; - * }); - * - * @param {function(devtools.profiler.CallTree.Node, *)} f Visitor function. - * The second parameter is the result of calling 'f' on the parent node. - */ -devtools.profiler.CallTree.prototype.traverse = function(f) { - var pairsToProcess = new ConsArray(); - pairsToProcess.concat([{node: this.root_, param: null}]); - while (!pairsToProcess.atEnd()) { - var pair = pairsToProcess.next(); - var node = pair.node; - var newParam = f(node, pair.param); - var morePairsToProcess = []; - node.forEachChild(function (child) { - morePairsToProcess.push({node: child, param: newParam}); }); - pairsToProcess.concat(morePairsToProcess); - } -}; - - -/** - * Performs an indepth call graph traversal. - * - * @param {function(devtools.profiler.CallTree.Node)} enter A function called - * prior to visiting node's children. - * @param {function(devtools.profiler.CallTree.Node)} exit A function called - * after visiting node's children. - */ -devtools.profiler.CallTree.prototype.traverseInDepth = function(enter, exit) { - function traverse(node) { - enter(node); - node.forEachChild(traverse); - exit(node); - } - traverse(this.root_); -}; - - -/** - * Constructs a call graph node. - * - * @param {string} label Node label. - * @param {devtools.profiler.CallTree.Node} opt_parent Node parent. - */ -devtools.profiler.CallTree.Node = function(label, opt_parent) { - this.label = label; - this.parent = opt_parent; - this.children = {}; -}; - - -/** - * Node self weight (how many times this node was the last node in - * a call path). - * @type {number} - */ -devtools.profiler.CallTree.Node.prototype.selfWeight = 0; - - -/** - * Node total weight (includes weights of all children). - * @type {number} - */ -devtools.profiler.CallTree.Node.prototype.totalWeight = 0; - - -/** - * Adds a child node. - * - * @param {string} label Child node label. - */ -devtools.profiler.CallTree.Node.prototype.addChild = function(label) { - var child = new devtools.profiler.CallTree.Node(label, this); - this.children[label] = child; - return child; -}; - - -/** - * Computes node's total weight. - */ -devtools.profiler.CallTree.Node.prototype.computeTotalWeight = - function() { - var totalWeight = this.selfWeight; - this.forEachChild(function(child) { - totalWeight += child.computeTotalWeight(); }); - return this.totalWeight = totalWeight; -}; - - -/** - * Returns all node's children as an array. - */ -devtools.profiler.CallTree.Node.prototype.exportChildren = function() { - var result = []; - this.forEachChild(function (node) { result.push(node); }); - return result; -}; - - -/** - * Finds an immediate child with the specified label. - * - * @param {string} label Child node label. - */ -devtools.profiler.CallTree.Node.prototype.findChild = function(label) { - return this.children[label] || null; -}; - - -/** - * Finds an immediate child with the specified label, creates a child - * node if necessary. - * - * @param {string} label Child node label. - */ -devtools.profiler.CallTree.Node.prototype.findOrAddChild = function(label) { - return this.findChild(label) || this.addChild(label); -}; - - -/** - * Calls the specified function for every child. - * - * @param {function(devtools.profiler.CallTree.Node)} f Visitor function. - */ -devtools.profiler.CallTree.Node.prototype.forEachChild = function(f) { - for (var c in this.children) { - f(this.children[c]); - } -}; - - -/** - * Walks up from the current node up to the call tree root. - * - * @param {function(devtools.profiler.CallTree.Node)} f Visitor function. - */ -devtools.profiler.CallTree.Node.prototype.walkUpToRoot = function(f) { - for (var curr = this; curr != null; curr = curr.parent) { - f(curr); - } -}; - - -/** - * Tries to find a node with the specified path. - * - * @param {Array<string>} labels The path. - * @param {function(devtools.profiler.CallTree.Node)} opt_f Visitor function. - */ -devtools.profiler.CallTree.Node.prototype.descendToChild = function( - labels, opt_f) { - for (var pos = 0, curr = this; pos < labels.length && curr != null; pos++) { - var child = curr.findChild(labels[pos]); - if (opt_f) { - opt_f(child, pos); - } - curr = child; - } - return curr; -}; diff --git a/V8Binding/v8/tools/profile_view.js b/V8Binding/v8/tools/profile_view.js deleted file mode 100644 index bdea631..0000000 --- a/V8Binding/v8/tools/profile_view.js +++ /dev/null @@ -1,224 +0,0 @@ -// Copyright 2009 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. - - -// Initlialize namespaces -var devtools = devtools || {}; -devtools.profiler = devtools.profiler || {}; - - -/** - * Creates a Profile View builder object. - * - * @param {number} samplingRate Number of ms between profiler ticks. - * @constructor - */ -devtools.profiler.ViewBuilder = function(samplingRate) { - this.samplingRate = samplingRate; -}; - - -/** - * Builds a profile view for the specified call tree. - * - * @param {devtools.profiler.CallTree} callTree A call tree. - * @param {boolean} opt_bottomUpViewWeights Whether remapping - * of self weights for a bottom up view is needed. - */ -devtools.profiler.ViewBuilder.prototype.buildView = function( - callTree, opt_bottomUpViewWeights) { - var head; - var samplingRate = this.samplingRate; - var createViewNode = this.createViewNode; - callTree.traverse(function(node, viewParent) { - var totalWeight = node.totalWeight * samplingRate; - var selfWeight = node.selfWeight * samplingRate; - if (opt_bottomUpViewWeights === true) { - if (viewParent === head) { - selfWeight = totalWeight; - } else { - selfWeight = 0; - } - } - var viewNode = createViewNode(node.label, totalWeight, selfWeight, head); - if (viewParent) { - viewParent.addChild(viewNode); - } else { - head = viewNode; - } - return viewNode; - }); - var view = this.createView(head); - return view; -}; - - -/** - * Factory method for a profile view. - * - * @param {devtools.profiler.ProfileView.Node} head View head node. - * @return {devtools.profiler.ProfileView} Profile view. - */ -devtools.profiler.ViewBuilder.prototype.createView = function(head) { - return new devtools.profiler.ProfileView(head); -}; - - -/** - * Factory method for a profile view node. - * - * @param {string} internalFuncName A fully qualified function name. - * @param {number} totalTime Amount of time that application spent in the - * corresponding function and its descendants (not that depending on - * profile they can be either callees or callers.) - * @param {number} selfTime Amount of time that application spent in the - * corresponding function only. - * @param {devtools.profiler.ProfileView.Node} head Profile view head. - * @return {devtools.profiler.ProfileView.Node} Profile view node. - */ -devtools.profiler.ViewBuilder.prototype.createViewNode = function( - funcName, totalTime, selfTime, head) { - return new devtools.profiler.ProfileView.Node( - funcName, totalTime, selfTime, head); -}; - - -/** - * Creates a Profile View object. It allows to perform sorting - * and filtering actions on the profile. - * - * @param {devtools.profiler.ProfileView.Node} head Head (root) node. - * @constructor - */ -devtools.profiler.ProfileView = function(head) { - this.head = head; -}; - - -/** - * Sorts the profile view using the specified sort function. - * - * @param {function(devtools.profiler.ProfileView.Node, - * devtools.profiler.ProfileView.Node):number} sortFunc A sorting - * functions. Must comply with Array.sort sorting function requirements. - */ -devtools.profiler.ProfileView.prototype.sort = function(sortFunc) { - this.traverse(function (node) { - node.sortChildren(sortFunc); - }); -}; - - -/** - * Traverses profile view nodes in preorder. - * - * @param {function(devtools.profiler.ProfileView.Node)} f Visitor function. - */ -devtools.profiler.ProfileView.prototype.traverse = function(f) { - var nodesToTraverse = new ConsArray(); - nodesToTraverse.concat([this.head]); - while (!nodesToTraverse.atEnd()) { - var node = nodesToTraverse.next(); - f(node); - nodesToTraverse.concat(node.children); - } -}; - - -/** - * Constructs a Profile View node object. Each node object corresponds to - * a function call. - * - * @param {string} internalFuncName A fully qualified function name. - * @param {number} totalTime Amount of time that application spent in the - * corresponding function and its descendants (not that depending on - * profile they can be either callees or callers.) - * @param {number} selfTime Amount of time that application spent in the - * corresponding function only. - * @param {devtools.profiler.ProfileView.Node} head Profile view head. - * @constructor - */ -devtools.profiler.ProfileView.Node = function( - internalFuncName, totalTime, selfTime, head) { - this.internalFuncName = internalFuncName; - this.totalTime = totalTime; - this.selfTime = selfTime; - this.head = head; - this.parent = null; - this.children = []; -}; - - -/** - * Returns a share of the function's total time in application's total time. - */ -devtools.profiler.ProfileView.Node.prototype.__defineGetter__( - 'totalPercent', - function() { return this.totalTime / - (this.head ? this.head.totalTime : this.totalTime) * 100.0; }); - - -/** - * Returns a share of the function's self time in application's total time. - */ -devtools.profiler.ProfileView.Node.prototype.__defineGetter__( - 'selfPercent', - function() { return this.selfTime / - (this.head ? this.head.totalTime : this.totalTime) * 100.0; }); - - -/** - * Returns a share of the function's total time in its parent's total time. - */ -devtools.profiler.ProfileView.Node.prototype.__defineGetter__( - 'parentTotalPercent', - function() { return this.totalTime / - (this.parent ? this.parent.totalTime : this.totalTime) * 100.0; }); - - -/** - * Adds a child to the node. - * - * @param {devtools.profiler.ProfileView.Node} node Child node. - */ -devtools.profiler.ProfileView.Node.prototype.addChild = function(node) { - node.parent = this; - this.children.push(node); -}; - - -/** - * Sorts all the node's children recursively. - * - * @param {function(devtools.profiler.ProfileView.Node, - * devtools.profiler.ProfileView.Node):number} sortFunc A sorting - * functions. Must comply with Array.sort sorting function requirements. - */ -devtools.profiler.ProfileView.Node.prototype.sortChildren = function( - sortFunc) { - this.children.sort(sortFunc); -}; diff --git a/V8Binding/v8/tools/run-valgrind.py b/V8Binding/v8/tools/run-valgrind.py deleted file mode 100755 index 49c1b70..0000000 --- a/V8Binding/v8/tools/run-valgrind.py +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/python -# -# Copyright 2009 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. - -# Simple wrapper for running valgrind and checking the output on -# stderr for memory leaks. - -import subprocess -import sys -import re - -VALGRIND_ARGUMENTS = [ - 'valgrind', - '--error-exitcode=1', - '--leak-check=full', - '--smc-check=all' -] - -# Compute the command line. -command = VALGRIND_ARGUMENTS + sys.argv[1:] - -# Run valgrind. -process = subprocess.Popen(command, stderr=subprocess.PIPE) -code = process.wait(); -errors = process.stderr.readlines(); - -# If valgrind produced an error, we report that to the user. -if code != 0: - sys.stderr.writelines(errors) - sys.exit(code) - -# Look through the leak details and make sure that we don't -# have any definitely, indirectly, and possibly lost bytes. -LEAK_RE = r"(?:definitely|indirectly|possibly) lost: " -LEAK_LINE_MATCHER = re.compile(LEAK_RE) -LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks") -leaks = [] -for line in errors: - if LEAK_LINE_MATCHER.search(line): - leaks.append(line) - if not LEAK_OKAY_MATCHER.search(line): - sys.stderr.writelines(errors) - sys.exit(1) - -# Make sure we found between 2 and 3 leak lines. -if len(leaks) < 2 or len(leaks) > 3: - sys.stderr.writelines(errors) - sys.stderr.write('\n\n#### Malformed valgrind output.\n#### Exiting.\n') - sys.exit(1) - -# No leaks found. -sys.exit(0) diff --git a/V8Binding/v8/tools/splaytree.js b/V8Binding/v8/tools/splaytree.js deleted file mode 100644 index 7b3af8b..0000000 --- a/V8Binding/v8/tools/splaytree.js +++ /dev/null @@ -1,322 +0,0 @@ -// Copyright 2009 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. - - -// A namespace stub. It will become more clear how to declare it properly -// during integration of this script into Dev Tools. -var goog = goog || {}; -goog.structs = goog.structs || {}; - - -/** - * Constructs a Splay tree. A splay tree is a self-balancing binary - * search tree with the additional property that recently accessed - * elements are quick to access again. It performs basic operations - * such as insertion, look-up and removal in O(log(n)) amortized time. - * - * @constructor - */ -goog.structs.SplayTree = function() { -}; - - -/** - * Pointer to the root node of the tree. - * - * @type {goog.structs.SplayTree.Node} - * @private - */ -goog.structs.SplayTree.prototype.root_ = null; - - -/** - * @return {boolean} Whether the tree is empty. - */ -goog.structs.SplayTree.prototype.isEmpty = function() { - return !this.root_; -}; - - - -/** - * Inserts a node into the tree with the specified key and value if - * the tree does not already contain a node with the specified key. If - * the value is inserted, it becomes the root of the tree. - * - * @param {number} key Key to insert into the tree. - * @param {*} value Value to insert into the tree. - */ -goog.structs.SplayTree.prototype.insert = function(key, value) { - if (this.isEmpty()) { - this.root_ = new goog.structs.SplayTree.Node(key, value); - return; - } - // Splay on the key to move the last node on the search path for - // the key to the root of the tree. - this.splay_(key); - if (this.root_.key == key) { - return; - } - var node = new goog.structs.SplayTree.Node(key, value); - if (key > this.root_.key) { - node.left = this.root_; - node.right = this.root_.right; - this.root_.right = null; - } else { - node.right = this.root_; - node.left = this.root_.left; - this.root_.left = null; - } - this.root_ = node; -}; - - -/** - * Removes a node with the specified key from the tree if the tree - * contains a node with this key. The removed node is returned. If the - * key is not found, an exception is thrown. - * - * @param {number} key Key to find and remove from the tree. - * @return {goog.structs.SplayTree.Node} The removed node. - */ -goog.structs.SplayTree.prototype.remove = function(key) { - if (this.isEmpty()) { - throw Error('Key not found: ' + key); - } - this.splay_(key); - if (this.root_.key != key) { - throw Error('Key not found: ' + key); - } - var removed = this.root_; - if (!this.root_.left) { - this.root_ = this.root_.right; - } else { - var right = this.root_.right; - this.root_ = this.root_.left; - // Splay to make sure that the new root has an empty right child. - this.splay_(key); - // Insert the original right child as the right child of the new - // root. - this.root_.right = right; - } - return removed; -}; - - -/** - * Returns the node having the specified key or null if the tree doesn't contain - * a node with the specified key. - * - * @param {number} key Key to find in the tree. - * @return {goog.structs.SplayTree.Node} Node having the specified key. - */ -goog.structs.SplayTree.prototype.find = function(key) { - if (this.isEmpty()) { - return null; - } - this.splay_(key); - return this.root_.key == key ? this.root_ : null; -}; - - -/** - * @return {goog.structs.SplayTree.Node} Node having the minimum key value. - */ -goog.structs.SplayTree.prototype.findMin = function() { - if (this.isEmpty()) { - return null; - } - var current = this.root_; - while (current.left) { - current = current.left; - } - return current; -}; - - -/** - * @return {goog.structs.SplayTree.Node} Node having the maximum key value. - */ -goog.structs.SplayTree.prototype.findMax = function(opt_startNode) { - if (this.isEmpty()) { - return null; - } - var current = opt_startNode || this.root_; - while (current.right) { - current = current.right; - } - return current; -}; - - -/** - * @return {goog.structs.SplayTree.Node} Node having the maximum key value that - * is less or equal to the specified key value. - */ -goog.structs.SplayTree.prototype.findGreatestLessThan = function(key) { - if (this.isEmpty()) { - return null; - } - // Splay on the key to move the node with the given key or the last - // node on the search path to the top of the tree. - this.splay_(key); - // Now the result is either the root node or the greatest node in - // the left subtree. - if (this.root_.key <= key) { - return this.root_; - } else if (this.root_.left) { - return this.findMax(this.root_.left); - } else { - return null; - } -}; - - -/** - * @return {Array<*>} An array containing all the values of tree's nodes. - */ -goog.structs.SplayTree.prototype.exportValues = function() { - var result = []; - this.traverse_(function(node) { result.push(node.value); }); - return result; -}; - - -/** - * Perform the splay operation for the given key. Moves the node with - * the given key to the top of the tree. If no node has the given - * key, the last node on the search path is moved to the top of the - * tree. This is the simplified top-down splaying algorithm from: - * "Self-adjusting Binary Search Trees" by Sleator and Tarjan - * - * @param {number} key Key to splay the tree on. - * @private - */ -goog.structs.SplayTree.prototype.splay_ = function(key) { - if (this.isEmpty()) { - return; - } - // Create a dummy node. The use of the dummy node is a bit - // counter-intuitive: The right child of the dummy node will hold - // the L tree of the algorithm. The left child of the dummy node - // will hold the R tree of the algorithm. Using a dummy node, left - // and right will always be nodes and we avoid special cases. - var dummy, left, right; - dummy = left = right = new goog.structs.SplayTree.Node(null, null); - var current = this.root_; - while (true) { - if (key < current.key) { - if (!current.left) { - break; - } - if (key < current.left.key) { - // Rotate right. - var tmp = current.left; - current.left = tmp.right; - tmp.right = current; - current = tmp; - if (!current.left) { - break; - } - } - // Link right. - right.left = current; - right = current; - current = current.left; - } else if (key > current.key) { - if (!current.right) { - break; - } - if (key > current.right.key) { - // Rotate left. - var tmp = current.right; - current.right = tmp.left; - tmp.left = current; - current = tmp; - if (!current.right) { - break; - } - } - // Link left. - left.right = current; - left = current; - current = current.right; - } else { - break; - } - } - // Assemble. - left.right = current.left; - right.left = current.right; - current.left = dummy.right; - current.right = dummy.left; - this.root_ = current; -}; - - -/** - * Performs a preorder traversal of the tree. - * - * @param {function(goog.structs.SplayTree.Node)} f Visitor function. - * @private - */ -goog.structs.SplayTree.prototype.traverse_ = function(f) { - var nodesToVisit = [this.root_]; - while (nodesToVisit.length > 0) { - var node = nodesToVisit.shift(); - if (node == null) { - continue; - } - f(node); - nodesToVisit.push(node.left); - nodesToVisit.push(node.right); - } -}; - - -/** - * Constructs a Splay tree node. - * - * @param {number} key Key. - * @param {*} value Value. - */ -goog.structs.SplayTree.Node = function(key, value) { - this.key = key; - this.value = value; -}; - - -/** - * @type {goog.structs.SplayTree.Node} - */ -goog.structs.SplayTree.Node.prototype.left = null; - - -/** - * @type {goog.structs.SplayTree.Node} - */ -goog.structs.SplayTree.Node.prototype.right = null; diff --git a/V8Binding/v8/tools/splaytree.py b/V8Binding/v8/tools/splaytree.py deleted file mode 100644 index 8c3c4fe..0000000 --- a/V8Binding/v8/tools/splaytree.py +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 2008 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. - - -class Node(object): - """Nodes in the splay tree.""" - - def __init__(self, key, value): - self.key = key - self.value = value - self.left = None - self.right = None - - -class KeyNotFoundError(Exception): - """KeyNotFoundError is raised when removing a non-existing node.""" - - def __init__(self, key): - self.key = key - - -class SplayTree(object): - """The splay tree itself is just a reference to the root of the tree.""" - - def __init__(self): - """Create a new SplayTree.""" - self.root = None - - def IsEmpty(self): - """Is the SplayTree empty?""" - return not self.root - - def Insert(self, key, value): - """Insert a new node in the SplayTree.""" - # If the tree is empty, insert the new node. - if self.IsEmpty(): - self.root = Node(key, value) - return - # Splay on the key to move the last node on the search path for - # the key to the root of the tree. - self.Splay(key) - # Ignore repeated insertions with the same key. - if self.root.key == key: - return - # Insert the new node. - node = Node(key, value) - if key > self.root.key: - node.left = self.root - node.right = self.root.right - self.root.right = None - else: - node.right = self.root - node.left = self.root.left - self.root.left = None - self.root = node - - def Remove(self, key): - """Remove the node with the given key from the SplayTree.""" - # Raise exception for key that is not found if the tree is empty. - if self.IsEmpty(): - raise KeyNotFoundError(key) - # Splay on the key to move the node with the given key to the top. - self.Splay(key) - # Raise exception for key that is not found. - if self.root.key != key: - raise KeyNotFoundError(key) - removed = self.root - # Link out the root node. - if not self.root.left: - # No left child, so the new tree is just the right child. - self.root = self.root.right - else: - # Left child exists. - right = self.root.right - # Make the original left child the new root. - self.root = self.root.left - # Splay to make sure that the new root has an empty right child. - self.Splay(key) - # Insert the original right child as the right child of the new - # root. - self.root.right = right - return removed - - def Find(self, key): - """Returns the node with the given key or None if no such node exists.""" - if self.IsEmpty(): - return None - self.Splay(key) - if self.root.key == key: - return self.root - return None - - def FindMax(self): - """Returns the node with the largest key value.""" - if self.IsEmpty(): - return None - current = self.root - while current.right != None: - current = current.right - return current - - # Returns the node with the smallest key value. - def FindMin(self): - if self.IsEmpty(): - return None - current = self.root - while current.left != None: - current = current.left - return current - - def FindGreatestsLessThan(self, key): - """Returns node with greatest key less than or equal to the given key.""" - if self.IsEmpty(): - return None - # Splay on the key to move the node with the given key or the last - # node on the search path to the top of the tree. - self.Splay(key) - # Now the result is either the root node or the greatest node in - # the left subtree. - if self.root.key <= key: - return self.root - else: - tmp = self.root - self.root = self.root.left - result = self.FindMax() - self.root = tmp - return result - - def ExportValueList(self): - """Returns a list containing all the values of the nodes in the tree.""" - result = [] - nodes_to_visit = [self.root] - while len(nodes_to_visit) > 0: - node = nodes_to_visit.pop() - if not node: - continue - result.append(node.value) - nodes_to_visit.append(node.left) - nodes_to_visit.append(node.right) - return result - - def Splay(self, key): - """Perform splay operation. - - Perform the splay operation for the given key. Moves the node with - the given key to the top of the tree. If no node has the given - key, the last node on the search path is moved to the top of the - tree. - - This uses the simplified top-down splaying algorithm from: - - "Self-adjusting Binary Search Trees" by Sleator and Tarjan - - """ - if self.IsEmpty(): - return - # Create a dummy node. The use of the dummy node is a bit - # counter-intuitive: The right child of the dummy node will hold - # the L tree of the algorithm. The left child of the dummy node - # will hold the R tree of the algorithm. Using a dummy node, left - # and right will always be nodes and we avoid special cases. - dummy = left = right = Node(None, None) - current = self.root - while True: - if key < current.key: - if not current.left: - break - if key < current.left.key: - # Rotate right. - tmp = current.left - current.left = tmp.right - tmp.right = current - current = tmp - if not current.left: - break - # Link right. - right.left = current - right = current - current = current.left - elif key > current.key: - if not current.right: - break - if key > current.right.key: - # Rotate left. - tmp = current.right - current.right = tmp.left - tmp.left = current - current = tmp - if not current.right: - break - # Link left. - left.right = current - left = current - current = current.right - else: - break - # Assemble. - left.right = current.left - right.left = current.right - current.left = dummy.right - current.right = dummy.left - self.root = current diff --git a/V8Binding/v8/tools/stats-viewer.py b/V8Binding/v8/tools/stats-viewer.py deleted file mode 100755 index bd6a8fb..0000000 --- a/V8Binding/v8/tools/stats-viewer.py +++ /dev/null @@ -1,372 +0,0 @@ -# Copyright 2008 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. - - -"""A cross-platform execution counter viewer. - -The stats viewer reads counters from a binary file and displays them -in a window, re-reading and re-displaying with regular intervals. -""" - - -import mmap -import os -import struct -import sys -import time -import Tkinter - - -# The interval, in milliseconds, between ui updates -UPDATE_INTERVAL_MS = 100 - - -# Mapping from counter prefix to the formatting to be used for the counter -COUNTER_LABELS = {"t": "%i ms.", "c": "%i"} - - -# The magic number used to check if a file is not a counters file -COUNTERS_FILE_MAGIC_NUMBER = 0xDEADFACE - - -class StatsViewer(object): - """The main class that keeps the data used by the stats viewer.""" - - def __init__(self, data_name): - """Creates a new instance. - - Args: - data_name: the name of the file containing the counters. - """ - self.data_name = data_name - - # The handle created by mmap.mmap to the counters file. We need - # this to clean it up on exit. - self.shared_mmap = None - - # A mapping from counter names to the ui element that displays - # them - self.ui_counters = {} - - # The counter collection used to access the counters file - self.data = None - - # The Tkinter root window object - self.root = None - - def Run(self): - """The main entry-point to running the stats viewer.""" - try: - self.data = self.MountSharedData() - # OpenWindow blocks until the main window is closed - self.OpenWindow() - finally: - self.CleanUp() - - def MountSharedData(self): - """Mount the binary counters file as a memory-mapped file. If - something goes wrong print an informative message and exit the - program.""" - if not os.path.exists(self.data_name): - print "File %s doesn't exist." % self.data_name - sys.exit(1) - data_file = open(self.data_name, "r") - size = os.fstat(data_file.fileno()).st_size - fileno = data_file.fileno() - self.shared_mmap = mmap.mmap(fileno, size, access=mmap.ACCESS_READ) - data_access = SharedDataAccess(self.shared_mmap) - if data_access.IntAt(0) != COUNTERS_FILE_MAGIC_NUMBER: - print "File %s is not stats data." % self.data_name - sys.exit(1) - return CounterCollection(data_access) - - def CleanUp(self): - """Cleans up the memory mapped file if necessary.""" - if self.shared_mmap: - self.shared_mmap.close() - - def UpdateCounters(self): - """Read the contents of the memory-mapped file and update the ui if - necessary. If the same counters are present in the file as before - we just update the existing labels. If any counters have been added - or removed we scrap the existing ui and draw a new one. - """ - changed = False - counters_in_use = self.data.CountersInUse() - if counters_in_use != len(self.ui_counters): - self.RefreshCounters() - changed = True - else: - for i in xrange(self.data.CountersInUse()): - counter = self.data.Counter(i) - name = counter.Name() - if name in self.ui_counters: - value = counter.Value() - ui_counter = self.ui_counters[name] - counter_changed = ui_counter.Set(value) - changed = (changed or counter_changed) - else: - self.RefreshCounters() - changed = True - break - if changed: - # The title of the window shows the last time the file was - # changed. - self.UpdateTime() - self.ScheduleUpdate() - - def UpdateTime(self): - """Update the title of the window with the current time.""" - self.root.title("Stats Viewer [updated %s]" % time.strftime("%H:%M:%S")) - - def ScheduleUpdate(self): - """Schedules the next ui update.""" - self.root.after(UPDATE_INTERVAL_MS, lambda: self.UpdateCounters()) - - def RefreshCounters(self): - """Tear down and rebuild the controls in the main window.""" - counters = self.ComputeCounters() - self.RebuildMainWindow(counters) - - def ComputeCounters(self): - """Group the counters by the suffix of their name. - - Since the same code-level counter (for instance "X") can result in - several variables in the binary counters file that differ only by a - two-character prefix (for instance "c:X" and "t:X") counters are - grouped by suffix and then displayed with custom formatting - depending on their prefix. - - Returns: - A mapping from suffixes to a list of counters with that suffix, - sorted by prefix. - """ - names = {} - for i in xrange(self.data.CountersInUse()): - counter = self.data.Counter(i) - name = counter.Name() - names[name] = counter - - # By sorting the keys we ensure that the prefixes always come in the - # same order ("c:" before "t:") which looks more consistent in the - # ui. - sorted_keys = names.keys() - sorted_keys.sort() - - # Group together the names whose suffix after a ':' are the same. - groups = {} - for name in sorted_keys: - counter = names[name] - if ":" in name: - name = name[name.find(":")+1:] - if not name in groups: - groups[name] = [] - groups[name].append(counter) - - return groups - - def RebuildMainWindow(self, groups): - """Tear down and rebuild the main window. - - Args: - groups: the groups of counters to display - """ - # Remove elements in the current ui - self.ui_counters.clear() - for child in self.root.children.values(): - child.destroy() - - # Build new ui - index = 0 - sorted_groups = groups.keys() - sorted_groups.sort() - for counter_name in sorted_groups: - counter_objs = groups[counter_name] - name = Tkinter.Label(self.root, width=50, anchor=Tkinter.W, - text=counter_name) - name.grid(row=index, column=0, padx=1, pady=1) - count = len(counter_objs) - for i in xrange(count): - counter = counter_objs[i] - name = counter.Name() - var = Tkinter.StringVar() - value = Tkinter.Label(self.root, width=15, anchor=Tkinter.W, - textvariable=var) - value.grid(row=index, column=(1 + i), padx=1, pady=1) - - # If we know how to interpret the prefix of this counter then - # add an appropriate formatting to the variable - if (":" in name) and (name[0] in COUNTER_LABELS): - format = COUNTER_LABELS[name[0]] - else: - format = "%i" - ui_counter = UiCounter(var, format) - self.ui_counters[name] = ui_counter - ui_counter.Set(counter.Value()) - index += 1 - self.root.update() - - def OpenWindow(self): - """Create and display the root window.""" - self.root = Tkinter.Tk() - - # Tkinter is no good at resizing so we disable it - self.root.resizable(width=False, height=False) - self.RefreshCounters() - self.ScheduleUpdate() - self.root.mainloop() - - -class UiCounter(object): - """A counter in the ui.""" - - def __init__(self, var, format): - """Creates a new ui counter. - - Args: - var: the Tkinter string variable for updating the ui - format: the format string used to format this counter - """ - self.var = var - self.format = format - self.last_value = None - - def Set(self, value): - """Updates the ui for this counter. - - Args: - value: The value to display - - Returns: - True if the value had changed, otherwise False. The first call - always returns True. - """ - if value == self.last_value: - return False - else: - self.last_value = value - self.var.set(self.format % value) - return True - - -class SharedDataAccess(object): - """A utility class for reading data from the memory-mapped binary - counters file.""" - - def __init__(self, data): - """Create a new instance. - - Args: - data: A handle to the memory-mapped file, as returned by mmap.mmap. - """ - self.data = data - - def ByteAt(self, index): - """Return the (unsigned) byte at the specified byte index.""" - return ord(self.CharAt(index)) - - def IntAt(self, index): - """Return the little-endian 32-byte int at the specified byte index.""" - word_str = self.data[index:index+4] - result, = struct.unpack("I", word_str) - return result - - def CharAt(self, index): - """Return the ascii character at the specified byte index.""" - return self.data[index] - - -class Counter(object): - """A pointer to a single counter withing a binary counters file.""" - - def __init__(self, data, offset): - """Create a new instance. - - Args: - data: the shared data access object containing the counter - offset: the byte offset of the start of this counter - """ - self.data = data - self.offset = offset - - def Value(self): - """Return the integer value of this counter.""" - return self.data.IntAt(self.offset) - - def Name(self): - """Return the ascii name of this counter.""" - result = "" - index = self.offset + 4 - current = self.data.ByteAt(index) - while current: - result += chr(current) - index += 1 - current = self.data.ByteAt(index) - return result - - -class CounterCollection(object): - """An overlay over a counters file that provides access to the - individual counters contained in the file.""" - - def __init__(self, data): - """Create a new instance. - - Args: - data: the shared data access object - """ - self.data = data - self.max_counters = data.IntAt(4) - self.max_name_size = data.IntAt(8) - - def CountersInUse(self): - """Return the number of counters in active use.""" - return self.data.IntAt(12) - - def Counter(self, index): - """Return the index'th counter.""" - return Counter(self.data, 16 + index * self.CounterSize()) - - def CounterSize(self): - """Return the size of a single counter.""" - return 4 + self.max_name_size - - -def Main(data_file): - """Run the stats counter. - - Args: - data_file: The counters file to monitor. - """ - StatsViewer(data_file).Run() - - -if __name__ == "__main__": - if len(sys.argv) != 2: - print "Usage: stats-viewer.py <stats data>" - sys.exit(1) - Main(sys.argv[1]) diff --git a/V8Binding/v8/tools/test.py b/V8Binding/v8/tools/test.py deleted file mode 100755 index 3a60c59..0000000 --- a/V8Binding/v8/tools/test.py +++ /dev/null @@ -1,1355 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2008 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. - - -import imp -import optparse -import os -from os.path import join, dirname, abspath, basename, isdir, exists -import platform -import re -import signal -import subprocess -import sys -import tempfile -import time -import threading -import utils -from Queue import Queue, Empty - - -VERBOSE = False - - -# --------------------------------------------- -# --- P r o g r e s s I n d i c a t o r s --- -# --------------------------------------------- - - -class ProgressIndicator(object): - - def __init__(self, cases): - self.cases = cases - self.queue = Queue(len(cases)) - for case in cases: - self.queue.put_nowait(case) - self.succeeded = 0 - self.remaining = len(cases) - self.total = len(cases) - self.failed = [ ] - self.crashed = 0 - self.terminate = False - self.lock = threading.Lock() - - def PrintFailureHeader(self, test): - if test.IsNegative(): - negative_marker = '[negative] ' - else: - negative_marker = '' - print "=== %(label)s %(negative)s===" % { - 'label': test.GetLabel(), - 'negative': negative_marker - } - print "Path: %s" % "/".join(test.path) - - def Run(self, tasks): - self.Starting() - threads = [] - # Spawn N-1 threads and then use this thread as the last one. - # That way -j1 avoids threading altogether which is a nice fallback - # in case of threading problems. - for i in xrange(tasks - 1): - thread = threading.Thread(target=self.RunSingle, args=[]) - threads.append(thread) - thread.start() - try: - self.RunSingle() - # Wait for the remaining threads - for thread in threads: - # Use a timeout so that signals (ctrl-c) will be processed. - thread.join(timeout=10000000) - except Exception, e: - # If there's an exception we schedule an interruption for any - # remaining threads. - self.terminate = True - # ...and then reraise the exception to bail out - raise - self.Done() - return not self.failed - - def RunSingle(self): - while not self.terminate: - try: - test = self.queue.get_nowait() - except Empty: - return - case = test.case - self.lock.acquire() - self.AboutToRun(case) - self.lock.release() - try: - start = time.time() - output = case.Run() - case.duration = (time.time() - start) - except IOError, e: - assert self.terminate - return - if self.terminate: - return - self.lock.acquire() - if output.UnexpectedOutput(): - self.failed.append(output) - if output.HasCrashed(): - self.crashed += 1 - else: - self.succeeded += 1 - self.remaining -= 1 - self.HasRun(output) - self.lock.release() - - -def EscapeCommand(command): - parts = [] - for part in command: - if ' ' in part: - # Escape spaces. We may need to escape more characters for this - # to work properly. - parts.append('"%s"' % part) - else: - parts.append(part) - return " ".join(parts) - - -class SimpleProgressIndicator(ProgressIndicator): - - def Starting(self): - print 'Running %i tests' % len(self.cases) - - def Done(self): - print - for failed in self.failed: - self.PrintFailureHeader(failed.test) - if failed.output.stderr: - print "--- stderr ---" - print failed.output.stderr.strip() - if failed.output.stdout: - print "--- stdout ---" - print failed.output.stdout.strip() - print "Command: %s" % EscapeCommand(failed.command) - if failed.HasCrashed(): - print "--- CRASHED ---" - if failed.HasTimedOut(): - print "--- TIMEOUT ---" - if len(self.failed) == 0: - print "===" - print "=== All tests succeeded" - print "===" - else: - print - print "===" - print "=== %i tests failed" % len(self.failed) - if self.crashed > 0: - print "=== %i tests CRASHED" % self.crashed - print "===" - - -class VerboseProgressIndicator(SimpleProgressIndicator): - - def AboutToRun(self, case): - print 'Starting %s...' % case.GetLabel() - sys.stdout.flush() - - def HasRun(self, output): - if output.UnexpectedOutput(): - if output.HasCrashed(): - outcome = 'CRASH' - else: - outcome = 'FAIL' - else: - outcome = 'pass' - print 'Done running %s: %s' % (output.test.GetLabel(), outcome) - - -class DotsProgressIndicator(SimpleProgressIndicator): - - def AboutToRun(self, case): - pass - - def HasRun(self, output): - total = self.succeeded + len(self.failed) - if (total > 1) and (total % 50 == 1): - sys.stdout.write('\n') - if output.UnexpectedOutput(): - if output.HasCrashed(): - sys.stdout.write('C') - sys.stdout.flush() - elif output.HasTimedOut(): - sys.stdout.write('T') - sys.stdout.flush() - else: - sys.stdout.write('F') - sys.stdout.flush() - else: - sys.stdout.write('.') - sys.stdout.flush() - - -class CompactProgressIndicator(ProgressIndicator): - - def __init__(self, cases, templates): - super(CompactProgressIndicator, self).__init__(cases) - self.templates = templates - self.last_status_length = 0 - self.start_time = time.time() - - def Starting(self): - pass - - def Done(self): - self.PrintProgress('Done') - - def AboutToRun(self, case): - self.PrintProgress(case.GetLabel()) - - def HasRun(self, output): - if output.UnexpectedOutput(): - self.ClearLine(self.last_status_length) - self.PrintFailureHeader(output.test) - stdout = output.output.stdout.strip() - if len(stdout): - print self.templates['stdout'] % stdout - stderr = output.output.stderr.strip() - if len(stderr): - print self.templates['stderr'] % stderr - print "Command: %s" % EscapeCommand(output.command) - if output.HasCrashed(): - print "--- CRASHED ---" - if output.HasTimedOut(): - print "--- TIMEOUT ---" - - def Truncate(self, str, length): - if length and (len(str) > (length - 3)): - return str[:(length-3)] + "..." - else: - return str - - def PrintProgress(self, name): - self.ClearLine(self.last_status_length) - elapsed = time.time() - self.start_time - status = self.templates['status_line'] % { - 'passed': self.succeeded, - 'remaining': (((self.total - self.remaining) * 100) // self.total), - 'failed': len(self.failed), - 'test': name, - 'mins': int(elapsed) / 60, - 'secs': int(elapsed) % 60 - } - status = self.Truncate(status, 78) - self.last_status_length = len(status) - print status, - sys.stdout.flush() - - -class ColorProgressIndicator(CompactProgressIndicator): - - def __init__(self, cases): - templates = { - 'status_line': "[%(mins)02i:%(secs)02i|\033[34m%%%(remaining) 4d\033[0m|\033[32m+%(passed) 4d\033[0m|\033[31m-%(failed) 4d\033[0m]: %(test)s", - 'stdout': "\033[1m%s\033[0m", - 'stderr': "\033[31m%s\033[0m", - } - super(ColorProgressIndicator, self).__init__(cases, templates) - - def ClearLine(self, last_line_length): - print "\033[1K\r", - - -class MonochromeProgressIndicator(CompactProgressIndicator): - - def __init__(self, cases): - templates = { - 'status_line': "[%(mins)02i:%(secs)02i|%%%(remaining) 4d|+%(passed) 4d|-%(failed) 4d]: %(test)s", - 'stdout': '%s', - 'stderr': '%s', - 'clear': lambda last_line_length: ("\r" + (" " * last_line_length) + "\r"), - 'max_length': 78 - } - super(MonochromeProgressIndicator, self).__init__(cases, templates) - - def ClearLine(self, last_line_length): - print ("\r" + (" " * last_line_length) + "\r"), - - -PROGRESS_INDICATORS = { - 'verbose': VerboseProgressIndicator, - 'dots': DotsProgressIndicator, - 'color': ColorProgressIndicator, - 'mono': MonochromeProgressIndicator -} - - -# ------------------------- -# --- F r a m e w o r k --- -# ------------------------- - - -class CommandOutput(object): - - def __init__(self, exit_code, timed_out, stdout, stderr): - self.exit_code = exit_code - self.timed_out = timed_out - self.stdout = stdout - self.stderr = stderr - - -class TestCase(object): - - def __init__(self, context, path): - self.path = path - self.context = context - self.failed = None - self.duration = None - - def IsNegative(self): - return False - - def CompareTime(self, other): - return cmp(other.duration, self.duration) - - def DidFail(self, output): - if self.failed is None: - self.failed = self.IsFailureOutput(output) - return self.failed - - def IsFailureOutput(self, output): - return output.exit_code != 0 - - def GetSource(self): - return "(no source available)" - - def RunCommand(self, command): - full_command = self.context.processor(command) - output = Execute(full_command, self.context, self.context.timeout) - self.Cleanup() - return TestOutput(self, full_command, output) - - def Run(self): - return self.RunCommand(self.GetCommand()) - - def Cleanup(self): - return - - -class TestOutput(object): - - def __init__(self, test, command, output): - self.test = test - self.command = command - self.output = output - - def UnexpectedOutput(self): - if self.HasCrashed(): - outcome = CRASH - elif self.HasTimedOut(): - outcome = TIMEOUT - elif self.HasFailed(): - outcome = FAIL - else: - outcome = PASS - return not outcome in self.test.outcomes - - def HasCrashed(self): - if utils.IsWindows(): - return 0x80000000 & self.output.exit_code and not (0x3FFFFF00 & self.output.exit_code) - else: - # Timed out tests will have exit_code -signal.SIGTERM. - if self.output.timed_out: - return False - return self.output.exit_code < 0 and \ - self.output.exit_code != -signal.SIGABRT - - def HasTimedOut(self): - return self.output.timed_out; - - def HasFailed(self): - execution_failed = self.test.DidFail(self.output) - if self.test.IsNegative(): - return not execution_failed - else: - return execution_failed - - -def KillProcessWithID(pid): - if utils.IsWindows(): - os.popen('taskkill /T /F /PID %d' % pid) - else: - os.kill(pid, signal.SIGTERM) - - -MAX_SLEEP_TIME = 0.1 -INITIAL_SLEEP_TIME = 0.0001 -SLEEP_TIME_FACTOR = 1.25 - -SEM_INVALID_VALUE = -1 -SEM_NOGPFAULTERRORBOX = 0x0002 # Microsoft Platform SDK WinBase.h - -def Win32SetErrorMode(mode): - prev_error_mode = SEM_INVALID_VALUE - try: - import ctypes - prev_error_mode = ctypes.windll.kernel32.SetErrorMode(mode); - except ImportError: - pass - return prev_error_mode - -def RunProcess(context, timeout, args, **rest): - if context.verbose: print "#", " ".join(args) - popen_args = args - prev_error_mode = SEM_INVALID_VALUE; - if utils.IsWindows(): - popen_args = '"' + subprocess.list2cmdline(args) + '"' - if context.suppress_dialogs: - # Try to change the error mode to avoid dialogs on fatal errors. Don't - # touch any existing error mode flags by merging the existing error mode. - # See http://blogs.msdn.com/oldnewthing/archive/2004/07/27/198410.aspx. - error_mode = SEM_NOGPFAULTERRORBOX; - prev_error_mode = Win32SetErrorMode(error_mode); - Win32SetErrorMode(error_mode | prev_error_mode); - process = subprocess.Popen( - shell = utils.IsWindows(), - args = popen_args, - **rest - ) - if utils.IsWindows() and context.suppress_dialogs and prev_error_mode != SEM_INVALID_VALUE: - Win32SetErrorMode(prev_error_mode) - # Compute the end time - if the process crosses this limit we - # consider it timed out. - if timeout is None: end_time = None - else: end_time = time.time() + timeout - timed_out = False - # Repeatedly check the exit code from the process in a - # loop and keep track of whether or not it times out. - exit_code = None - sleep_time = INITIAL_SLEEP_TIME - while exit_code is None: - if (not end_time is None) and (time.time() >= end_time): - # Kill the process and wait for it to exit. - KillProcessWithID(process.pid) - exit_code = process.wait() - timed_out = True - else: - exit_code = process.poll() - time.sleep(sleep_time) - sleep_time = sleep_time * SLEEP_TIME_FACTOR - if sleep_time > MAX_SLEEP_TIME: - sleep_time = MAX_SLEEP_TIME - return (process, exit_code, timed_out) - - -def PrintError(str): - sys.stderr.write(str) - sys.stderr.write('\n') - - -def CheckedUnlink(name): - try: - os.unlink(name) - except OSError, e: - PrintError("os.unlink() " + str(e)) - - -def Execute(args, context, timeout=None): - (fd_out, outname) = tempfile.mkstemp() - (fd_err, errname) = tempfile.mkstemp() - (process, exit_code, timed_out) = RunProcess( - context, - timeout, - args = args, - stdout = fd_out, - stderr = fd_err, - ) - os.close(fd_out) - os.close(fd_err) - output = file(outname).read() - errors = file(errname).read() - CheckedUnlink(outname) - CheckedUnlink(errname) - return CommandOutput(exit_code, timed_out, output, errors) - - -def ExecuteNoCapture(args, context, timeout=None): - (process, exit_code, timed_out) = RunProcess( - context, - timeout, - args = args, - ) - return CommandOutput(exit_code, False, "", "") - - -def CarCdr(path): - if len(path) == 0: - return (None, [ ]) - else: - return (path[0], path[1:]) - - -class TestConfiguration(object): - - def __init__(self, context, root): - self.context = context - self.root = root - - def Contains(self, path, file): - if len(path) > len(file): - return False - for i in xrange(len(path)): - if not path[i].match(file[i]): - return False - return True - - def GetTestStatus(self, sections, defs): - pass - - -class TestSuite(object): - - def __init__(self, name): - self.name = name - - def GetName(self): - return self.name - - -class TestRepository(TestSuite): - - def __init__(self, path): - normalized_path = abspath(path) - super(TestRepository, self).__init__(basename(normalized_path)) - self.path = normalized_path - self.is_loaded = False - self.config = None - - def GetConfiguration(self, context): - if self.is_loaded: - return self.config - self.is_loaded = True - file = None - try: - (file, pathname, description) = imp.find_module('testcfg', [ self.path ]) - module = imp.load_module('testcfg', file, pathname, description) - self.config = module.GetConfiguration(context, self.path) - finally: - if file: - file.close() - return self.config - - def GetBuildRequirements(self, path, context): - return self.GetConfiguration(context).GetBuildRequirements() - - def ListTests(self, current_path, path, context, mode): - return self.GetConfiguration(context).ListTests(current_path, path, mode) - - def GetTestStatus(self, context, sections, defs): - self.GetConfiguration(context).GetTestStatus(sections, defs) - - -class LiteralTestSuite(TestSuite): - - def __init__(self, tests): - super(LiteralTestSuite, self).__init__('root') - self.tests = tests - - def GetBuildRequirements(self, path, context): - (name, rest) = CarCdr(path) - result = [ ] - for test in self.tests: - if not name or name.match(test.GetName()): - result += test.GetBuildRequirements(rest, context) - return result - - def ListTests(self, current_path, path, context, mode): - (name, rest) = CarCdr(path) - result = [ ] - for test in self.tests: - test_name = test.GetName() - if not name or name.match(test_name): - full_path = current_path + [test_name] - result += test.ListTests(full_path, path, context, mode) - return result - - def GetTestStatus(self, context, sections, defs): - for test in self.tests: - test.GetTestStatus(context, sections, defs) - - -SUFFIX = {'debug': '_g', 'release': ''} - - -class Context(object): - - def __init__(self, workspace, buildspace, verbose, vm, timeout, processor, suppress_dialogs): - self.workspace = workspace - self.buildspace = buildspace - self.verbose = verbose - self.vm_root = vm - self.timeout = timeout - self.processor = processor - self.suppress_dialogs = suppress_dialogs - - def GetVm(self, mode): - name = self.vm_root + SUFFIX[mode] - if utils.IsWindows() and not name.endswith('.exe'): - name = name + '.exe' - return name - -def RunTestCases(all_cases, progress, tasks): - def DoSkip(case): - return SKIP in c.outcomes or SLOW in c.outcomes - cases_to_run = [ c for c in all_cases if not DoSkip(c) ] - progress = PROGRESS_INDICATORS[progress](cases_to_run) - return progress.Run(tasks) - - -def BuildRequirements(context, requirements, mode, scons_flags): - command_line = (['scons', '-Y', context.workspace, 'mode=' + ",".join(mode)] - + requirements - + scons_flags) - output = ExecuteNoCapture(command_line, context) - return output.exit_code == 0 - - -# ------------------------------------------- -# --- T e s t C o n f i g u r a t i o n --- -# ------------------------------------------- - - -SKIP = 'skip' -FAIL = 'fail' -PASS = 'pass' -OKAY = 'okay' -TIMEOUT = 'timeout' -CRASH = 'crash' -SLOW = 'slow' - - -class Expression(object): - pass - - -class Constant(Expression): - - def __init__(self, value): - self.value = value - - def Evaluate(self, env, defs): - return self.value - - -class Variable(Expression): - - def __init__(self, name): - self.name = name - - def GetOutcomes(self, env, defs): - if self.name in env: return ListSet([env[self.name]]) - else: return Nothing() - - -class Outcome(Expression): - - def __init__(self, name): - self.name = name - - def GetOutcomes(self, env, defs): - if self.name in defs: - return defs[self.name].GetOutcomes(env, defs) - else: - return ListSet([self.name]) - - -class Set(object): - pass - - -class ListSet(Set): - - def __init__(self, elms): - self.elms = elms - - def __str__(self): - return "ListSet%s" % str(self.elms) - - def Intersect(self, that): - if not isinstance(that, ListSet): - return that.Intersect(self) - return ListSet([ x for x in self.elms if x in that.elms ]) - - def Union(self, that): - if not isinstance(that, ListSet): - return that.Union(self) - return ListSet(self.elms + [ x for x in that.elms if x not in self.elms ]) - - def IsEmpty(self): - return len(self.elms) == 0 - - -class Everything(Set): - - def Intersect(self, that): - return that - - def Union(self, that): - return self - - def IsEmpty(self): - return False - - -class Nothing(Set): - - def Intersect(self, that): - return self - - def Union(self, that): - return that - - def IsEmpty(self): - return True - - -class Operation(Expression): - - def __init__(self, left, op, right): - self.left = left - self.op = op - self.right = right - - def Evaluate(self, env, defs): - if self.op == '||' or self.op == ',': - return self.left.Evaluate(env, defs) or self.right.Evaluate(env, defs) - elif self.op == 'if': - return False - elif self.op == '==': - inter = self.left.GetOutcomes(env, defs).Intersect(self.right.GetOutcomes(env, defs)) - return not inter.IsEmpty() - else: - assert self.op == '&&' - return self.left.Evaluate(env, defs) and self.right.Evaluate(env, defs) - - def GetOutcomes(self, env, defs): - if self.op == '||' or self.op == ',': - return self.left.GetOutcomes(env, defs).Union(self.right.GetOutcomes(env, defs)) - elif self.op == 'if': - if self.right.Evaluate(env, defs): return self.left.GetOutcomes(env, defs) - else: return Nothing() - else: - assert self.op == '&&' - return self.left.GetOutcomes(env, defs).Intersect(self.right.GetOutcomes(env, defs)) - - -def IsAlpha(str): - for char in str: - if not (char.isalpha() or char.isdigit() or char == '_'): - return False - return True - - -class Tokenizer(object): - """A simple string tokenizer that chops expressions into variables, - parens and operators""" - - def __init__(self, expr): - self.index = 0 - self.expr = expr - self.length = len(expr) - self.tokens = None - - def Current(self, length = 1): - if not self.HasMore(length): return "" - return self.expr[self.index:self.index+length] - - def HasMore(self, length = 1): - return self.index < self.length + (length - 1) - - def Advance(self, count = 1): - self.index = self.index + count - - def AddToken(self, token): - self.tokens.append(token) - - def SkipSpaces(self): - while self.HasMore() and self.Current().isspace(): - self.Advance() - - def Tokenize(self): - self.tokens = [ ] - while self.HasMore(): - self.SkipSpaces() - if not self.HasMore(): - return None - if self.Current() == '(': - self.AddToken('(') - self.Advance() - elif self.Current() == ')': - self.AddToken(')') - self.Advance() - elif self.Current() == '$': - self.AddToken('$') - self.Advance() - elif self.Current() == ',': - self.AddToken(',') - self.Advance() - elif IsAlpha(self.Current()): - buf = "" - while self.HasMore() and IsAlpha(self.Current()): - buf += self.Current() - self.Advance() - self.AddToken(buf) - elif self.Current(2) == '&&': - self.AddToken('&&') - self.Advance(2) - elif self.Current(2) == '||': - self.AddToken('||') - self.Advance(2) - elif self.Current(2) == '==': - self.AddToken('==') - self.Advance(2) - else: - return None - return self.tokens - - -class Scanner(object): - """A simple scanner that can serve out tokens from a given list""" - - def __init__(self, tokens): - self.tokens = tokens - self.length = len(tokens) - self.index = 0 - - def HasMore(self): - return self.index < self.length - - def Current(self): - return self.tokens[self.index] - - def Advance(self): - self.index = self.index + 1 - - -def ParseAtomicExpression(scan): - if scan.Current() == "true": - scan.Advance() - return Constant(True) - elif scan.Current() == "false": - scan.Advance() - return Constant(False) - elif IsAlpha(scan.Current()): - name = scan.Current() - scan.Advance() - return Outcome(name.lower()) - elif scan.Current() == '$': - scan.Advance() - if not IsAlpha(scan.Current()): - return None - name = scan.Current() - scan.Advance() - return Variable(name.lower()) - elif scan.Current() == '(': - scan.Advance() - result = ParseLogicalExpression(scan) - if (not result) or (scan.Current() != ')'): - return None - scan.Advance() - return result - else: - return None - - -BINARIES = ['=='] -def ParseOperatorExpression(scan): - left = ParseAtomicExpression(scan) - if not left: return None - while scan.HasMore() and (scan.Current() in BINARIES): - op = scan.Current() - scan.Advance() - right = ParseOperatorExpression(scan) - if not right: - return None - left = Operation(left, op, right) - return left - - -def ParseConditionalExpression(scan): - left = ParseOperatorExpression(scan) - if not left: return None - while scan.HasMore() and (scan.Current() == 'if'): - scan.Advance() - right = ParseOperatorExpression(scan) - if not right: - return None - left= Operation(left, 'if', right) - return left - - -LOGICALS = ["&&", "||", ","] -def ParseLogicalExpression(scan): - left = ParseConditionalExpression(scan) - if not left: return None - while scan.HasMore() and (scan.Current() in LOGICALS): - op = scan.Current() - scan.Advance() - right = ParseConditionalExpression(scan) - if not right: - return None - left = Operation(left, op, right) - return left - - -def ParseCondition(expr): - """Parses a logical expression into an Expression object""" - tokens = Tokenizer(expr).Tokenize() - if not tokens: - print "Malformed expression: '%s'" % expr - return None - scan = Scanner(tokens) - ast = ParseLogicalExpression(scan) - if not ast: - print "Malformed expression: '%s'" % expr - return None - if scan.HasMore(): - print "Malformed expression: '%s'" % expr - return None - return ast - - -class ClassifiedTest(object): - - def __init__(self, case, outcomes): - self.case = case - self.outcomes = outcomes - - -class Configuration(object): - """The parsed contents of a configuration file""" - - def __init__(self, sections, defs): - self.sections = sections - self.defs = defs - - def ClassifyTests(self, cases, env): - sections = [s for s in self.sections if s.condition.Evaluate(env, self.defs)] - all_rules = reduce(list.__add__, [s.rules for s in sections], []) - unused_rules = set(all_rules) - result = [ ] - all_outcomes = set([]) - for case in cases: - matches = [ r for r in all_rules if r.Contains(case.path) ] - outcomes = set([]) - for rule in matches: - outcomes = outcomes.union(rule.GetOutcomes(env, self.defs)) - unused_rules.discard(rule) - if not outcomes: - outcomes = [PASS] - case.outcomes = outcomes - all_outcomes = all_outcomes.union(outcomes) - result.append(ClassifiedTest(case, outcomes)) - return (result, list(unused_rules), all_outcomes) - - -class Section(object): - """A section of the configuration file. Sections are enabled or - disabled prior to running the tests, based on their conditions""" - - def __init__(self, condition): - self.condition = condition - self.rules = [ ] - - def AddRule(self, rule): - self.rules.append(rule) - - -class Rule(object): - """A single rule that specifies the expected outcome for a single - test.""" - - def __init__(self, raw_path, path, value): - self.raw_path = raw_path - self.path = path - self.value = value - - def GetOutcomes(self, env, defs): - set = self.value.GetOutcomes(env, defs) - assert isinstance(set, ListSet) - return set.elms - - def Contains(self, path): - if len(self.path) > len(path): - return False - for i in xrange(len(self.path)): - if not self.path[i].match(path[i]): - return False - return True - - -HEADER_PATTERN = re.compile(r'\[([^]]+)\]') -RULE_PATTERN = re.compile(r'\s*([^: ]*)\s*:(.*)') -DEF_PATTERN = re.compile(r'^def\s*(\w+)\s*=(.*)$') -PREFIX_PATTERN = re.compile(r'^\s*prefix\s+([\w\_\.\-\/]+)$') - - -def ReadConfigurationInto(path, sections, defs): - current_section = Section(Constant(True)) - sections.append(current_section) - prefix = [] - for line in utils.ReadLinesFrom(path): - header_match = HEADER_PATTERN.match(line) - if header_match: - condition_str = header_match.group(1).strip() - condition = ParseCondition(condition_str) - new_section = Section(condition) - sections.append(new_section) - current_section = new_section - continue - rule_match = RULE_PATTERN.match(line) - if rule_match: - path = prefix + SplitPath(rule_match.group(1).strip()) - value_str = rule_match.group(2).strip() - value = ParseCondition(value_str) - if not value: - return False - current_section.AddRule(Rule(rule_match.group(1), path, value)) - continue - def_match = DEF_PATTERN.match(line) - if def_match: - name = def_match.group(1).lower() - value = ParseCondition(def_match.group(2).strip()) - if not value: - return False - defs[name] = value - continue - prefix_match = PREFIX_PATTERN.match(line) - if prefix_match: - prefix = SplitPath(prefix_match.group(1).strip()) - continue - print "Malformed line: '%s'." % line - return False - return True - - -# --------------- -# --- M a i n --- -# --------------- - - -ARCH_GUESS = utils.GuessArchitecture() - - -def BuildOptions(): - result = optparse.OptionParser() - result.add_option("-m", "--mode", help="The test modes in which to run (comma-separated)", - default='release') - result.add_option("-v", "--verbose", help="Verbose output", - default=False, action="store_true") - result.add_option("-S", dest="scons_flags", help="Flag to pass through to scons", - default=[], action="append") - result.add_option("-p", "--progress", - help="The style of progress indicator (verbose, dots, color, mono)", - choices=PROGRESS_INDICATORS.keys(), default="mono") - result.add_option("--no-build", help="Don't build requirements", - default=False, action="store_true") - result.add_option("--build-only", help="Only build requirements, don't run the tests", - default=False, action="store_true") - result.add_option("--report", help="Print a summary of the tests to be run", - default=False, action="store_true") - result.add_option("-s", "--suite", help="A test suite", - default=[], action="append") - result.add_option("-t", "--timeout", help="Timeout in seconds", - default=60, type="int") - result.add_option("--arch", help='The architecture to run tests for', - default='none') - result.add_option("--simulator", help="Run tests with architecture simulator", - default='none') - result.add_option("--special-command", default=None) - result.add_option("--valgrind", help="Run tests through valgrind", - default=False, action="store_true") - result.add_option("--cat", help="Print the source of the tests", - default=False, action="store_true") - result.add_option("--warn-unused", help="Report unused rules", - default=False, action="store_true") - result.add_option("-j", help="The number of parallel tasks to run", - default=1, type="int") - result.add_option("--time", help="Print timing information after running", - default=False, action="store_true") - result.add_option("--suppress-dialogs", help="Suppress Windows dialogs for crashing tests", - dest="suppress_dialogs", default=True, action="store_true") - 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"); - return result - - -def ProcessOptions(options): - global VERBOSE - VERBOSE = options.verbose - options.mode = options.mode.split(',') - for mode in options.mode: - if not mode in ['debug', 'release']: - print "Unknown mode %s" % mode - return False - if options.simulator != 'none': - # Simulator argument was set. Make sure arch and simulator agree. - if options.simulator != options.arch: - if options.arch == 'none': - options.arch = options.simulator - else: - print "Architecture %s does not match sim %s" %(options.arch, options.simulator) - return False - # Ensure that the simulator argument is handed down to scons. - options.scons_flags.append("simulator=" + options.simulator) - else: - # If options.arch is not set by the command line and no simulator setting - # was found, set the arch to the guess. - if options.arch == 'none': - options.arch = ARCH_GUESS - options.scons_flags.append("arch=" + options.arch) - return True - - -REPORT_TEMPLATE = """\ -Total: %(total)i tests - * %(skipped)4d tests will be skipped - * %(nocrash)4d tests are expected to be flaky but not crash - * %(pass)4d tests are expected to pass - * %(fail_ok)4d tests are expected to fail that we won't fix - * %(fail)4d tests are expected to fail that we should fix\ -""" - -def PrintReport(cases): - def IsFlaky(o): - return (PASS in o) and (FAIL in o) and (not CRASH in o) and (not OKAY in o) - def IsFailOk(o): - return (len(o) == 2) and (FAIL in o) and (OKAY in o) - unskipped = [c for c in cases if not SKIP in c.outcomes] - print REPORT_TEMPLATE % { - 'total': len(cases), - 'skipped': len(cases) - len(unskipped), - 'nocrash': len([t for t in unskipped if IsFlaky(t.outcomes)]), - 'pass': len([t for t in unskipped if list(t.outcomes) == [PASS]]), - 'fail_ok': len([t for t in unskipped if IsFailOk(t.outcomes)]), - 'fail': len([t for t in unskipped if list(t.outcomes) == [FAIL]]) - } - - -class Pattern(object): - - def __init__(self, pattern): - self.pattern = pattern - self.compiled = None - - def match(self, str): - if not self.compiled: - pattern = "^" + self.pattern.replace('*', '.*') + "$" - self.compiled = re.compile(pattern) - return self.compiled.match(str) - - def __str__(self): - return self.pattern - - -def SplitPath(s): - stripped = [ c.strip() for c in s.split('/') ] - return [ Pattern(s) for s in stripped if len(s) > 0 ] - - -def GetSpecialCommandProcessor(value): - if (not value) or (value.find('@') == -1): - def ExpandCommand(args): - return args - return ExpandCommand - else: - pos = value.find('@') - import urllib - prefix = urllib.unquote(value[:pos]).split() - suffix = urllib.unquote(value[pos+1:]).split() - def ExpandCommand(args): - return prefix + args + suffix - return ExpandCommand - - -BUILT_IN_TESTS = ['mjsunit', 'cctest', 'message'] - - -def GetSuites(test_root): - def IsSuite(path): - return isdir(path) and exists(join(path, 'testcfg.py')) - return [ f for f in os.listdir(test_root) if IsSuite(join(test_root, f)) ] - - -def FormatTime(d): - millis = round(d * 1000) % 1000 - return time.strftime("%M:%S.", time.gmtime(d)) + ("%03i" % millis) - - -def Main(): - parser = BuildOptions() - (options, args) = parser.parse_args() - if not ProcessOptions(options): - parser.print_help() - return 1 - - workspace = abspath(join(dirname(sys.argv[0]), '..')) - suites = GetSuites(join(workspace, 'test')) - repositories = [TestRepository(join(workspace, 'test', name)) for name in suites] - repositories += [TestRepository(a) for a in options.suite] - - root = LiteralTestSuite(repositories) - if len(args) == 0: - paths = [SplitPath(t) for t in BUILT_IN_TESTS] - else: - paths = [ ] - for arg in args: - path = SplitPath(arg) - paths.append(path) - - # Check for --valgrind option. If enabled, we overwrite the special - # command flag with a command that uses the run-valgrind.py script. - if options.valgrind: - run_valgrind = join(workspace, "tools", "run-valgrind.py") - options.special_command = "python -u " + run_valgrind + " @" - - shell = abspath(options.shell) - buildspace = dirname(shell) - context = Context(workspace, buildspace, VERBOSE, - shell, - options.timeout, - GetSpecialCommandProcessor(options.special_command), - options.suppress_dialogs) - # First build the required targets - if not options.no_build: - reqs = [ ] - for path in paths: - reqs += root.GetBuildRequirements(path, context) - reqs = list(set(reqs)) - if len(reqs) > 0: - if options.j != 1: - options.scons_flags += ['-j', str(options.j)] - if not BuildRequirements(context, reqs, options.mode, options.scons_flags): - return 1 - - # Just return if we are only building the targets for running the tests. - if options.build_only: - return 0 - - # Get status for tests - sections = [ ] - defs = { } - root.GetTestStatus(context, sections, defs) - config = Configuration(sections, defs) - - # List the tests - all_cases = [ ] - all_unused = [ ] - unclassified_tests = [ ] - globally_unused_rules = None - for path in paths: - for mode in options.mode: - if not exists(context.GetVm(mode)): - print "Can't find shell executable: '%s'" % context.GetVm(mode) - continue - env = { - 'mode': mode, - 'system': utils.GuessOS(), - 'arch': options.arch, - 'simulator': options.simulator - } - test_list = root.ListTests([], path, context, mode) - unclassified_tests += test_list - (cases, unused_rules, all_outcomes) = config.ClassifyTests(test_list, env) - if globally_unused_rules is None: - globally_unused_rules = set(unused_rules) - else: - globally_unused_rules = globally_unused_rules.intersection(unused_rules) - all_cases += cases - all_unused.append(unused_rules) - - if options.cat: - visited = set() - for test in unclassified_tests: - key = tuple(test.path) - if key in visited: - continue - visited.add(key) - print "--- begin source: %s ---" % test.GetLabel() - source = test.GetSource().strip() - print source - print "--- end source: %s ---" % test.GetLabel() - return 0 - - if options.warn_unused: - for rule in globally_unused_rules: - print "Rule for '%s' was not used." % '/'.join([str(s) for s in rule.path]) - - if options.report: - PrintReport(all_cases) - - result = None - if len(all_cases) == 0: - print "No tests to run." - return 0 - else: - try: - start = time.time() - if RunTestCases(all_cases, options.progress, options.j): - result = 0 - else: - result = 1 - duration = time.time() - start - except KeyboardInterrupt: - print "Interrupted" - return 1 - - if options.time: - # Write the times to stderr to make it easy to separate from the - # test output. - print - sys.stderr.write("--- Total time: %s ---\n" % FormatTime(duration)) - timed_tests = [ t.case for t in all_cases if not t.case.duration is None ] - timed_tests.sort(lambda a, b: a.CompareTime(b)) - index = 1 - for entry in timed_tests[:20]: - t = FormatTime(entry.duration) - sys.stderr.write("%4i (%s) %s\n" % (index, t, entry.GetLabel())) - index += 1 - - return result - - -if __name__ == '__main__': - sys.exit(Main()) diff --git a/V8Binding/v8/tools/tickprocessor-driver.js b/V8Binding/v8/tools/tickprocessor-driver.js deleted file mode 100644 index dc67796..0000000 --- a/V8Binding/v8/tools/tickprocessor-driver.js +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2009 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. - - -// Tick Processor's code flow. - -function processArguments(args) { - var processor = new ArgumentsProcessor(args); - if (processor.parse()) { - return processor.result(); - } else { - processor.printUsageAndExit(); - } -} - -var entriesProviders = { - 'unix': UnixCppEntriesProvider, - 'windows': WindowsCppEntriesProvider, - 'mac': MacCppEntriesProvider -}; - -var params = processArguments(arguments); -var tickProcessor = new TickProcessor( - new (entriesProviders[params.platform])(params.nm), - params.separateIc, - params.ignoreUnknown, - params.stateFilter); -tickProcessor.processLogFile(params.logFileName); -tickProcessor.printStatistics(); diff --git a/V8Binding/v8/tools/tickprocessor.js b/V8Binding/v8/tools/tickprocessor.js deleted file mode 100644 index 84f0eea..0000000 --- a/V8Binding/v8/tools/tickprocessor.js +++ /dev/null @@ -1,682 +0,0 @@ -// Copyright 2009 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. - - -function Profile(separateIc) { - devtools.profiler.Profile.call(this); - if (!separateIc) { - this.skipThisFunction = function(name) { return Profile.IC_RE.test(name); }; - } -}; -Profile.prototype = devtools.profiler.Profile.prototype; - - -Profile.IC_RE = - /^(?:CallIC|LoadIC|StoreIC)|(?:Builtin: (?:Keyed)?(?:Call|Load|Store)IC_)/; - - -/** - * A thin wrapper around shell's 'read' function showing a file name on error. - */ -function readFile(fileName) { - try { - return read(fileName); - } catch (e) { - print(fileName + ': ' + (e.message || e)); - throw e; - } -} - - -function inherits(childCtor, parentCtor) { - function tempCtor() {}; - tempCtor.prototype = parentCtor.prototype; - childCtor.prototype = new tempCtor(); -}; - - -function TickProcessor( - cppEntriesProvider, separateIc, ignoreUnknown, stateFilter) { - devtools.profiler.LogReader.call(this, { - 'shared-library': { parsers: [null, parseInt, parseInt], - processor: this.processSharedLibrary }, - 'code-creation': { - parsers: [null, this.createAddressParser('code'), parseInt, null], - processor: this.processCodeCreation, backrefs: true }, - 'code-move': { parsers: [this.createAddressParser('code'), - this.createAddressParser('code-move-to')], - processor: this.processCodeMove, backrefs: true }, - 'code-delete': { parsers: [this.createAddressParser('code')], - processor: this.processCodeDelete, backrefs: true }, - 'tick': { parsers: [this.createAddressParser('code'), - this.createAddressParser('stack'), parseInt, 'var-args'], - processor: this.processTick, backrefs: true }, - 'profiler': null, - // Obsolete row types. - 'code-allocate': null, - 'begin-code-region': null, - 'end-code-region': null }); - - this.cppEntriesProvider_ = cppEntriesProvider; - this.ignoreUnknown_ = ignoreUnknown; - this.stateFilter_ = stateFilter; - var ticks = this.ticks_ = - { total: 0, unaccounted: 0, excluded: 0, gc: 0 }; - - Profile.prototype.handleUnknownCode = function( - operation, addr, opt_stackPos) { - var op = devtools.profiler.Profile.Operation; - switch (operation) { - case op.MOVE: - print('Code move event for unknown code: 0x' + addr.toString(16)); - break; - case op.DELETE: - print('Code delete event for unknown code: 0x' + addr.toString(16)); - break; - case op.TICK: - // Only unknown PCs (the first frame) are reported as unaccounted, - // otherwise tick balance will be corrupted (this behavior is compatible - // with the original tickprocessor.py script.) - if (opt_stackPos == 0) { - ticks.unaccounted++; - } - break; - } - }; - - this.profile_ = new Profile(separateIc); - this.codeTypes_ = {}; - // Count each tick as a time unit. - this.viewBuilder_ = new devtools.profiler.ViewBuilder(1); - this.lastLogFileName_ = null; -}; -inherits(TickProcessor, devtools.profiler.LogReader); - - -TickProcessor.VmStates = { - JS: 0, - GC: 1, - COMPILER: 2, - OTHER: 3, - EXTERNAL: 4 -}; - - -TickProcessor.CodeTypes = { - CPP: 0, - SHARED_LIB: 1 -}; -// Otherwise, this is JS-related code. We are not adding it to -// codeTypes_ map because there can be zillions of them. - - -TickProcessor.CALL_PROFILE_CUTOFF_PCT = 2.0; - - -/** - * @override - */ -TickProcessor.prototype.printError = function(str) { - print(str); -}; - - -TickProcessor.prototype.setCodeType = function(name, type) { - this.codeTypes_[name] = TickProcessor.CodeTypes[type]; -}; - - -TickProcessor.prototype.isSharedLibrary = function(name) { - return this.codeTypes_[name] == TickProcessor.CodeTypes.SHARED_LIB; -}; - - -TickProcessor.prototype.isCppCode = function(name) { - return this.codeTypes_[name] == TickProcessor.CodeTypes.CPP; -}; - - -TickProcessor.prototype.isJsCode = function(name) { - return !(name in this.codeTypes_); -}; - - -TickProcessor.prototype.processLogFile = function(fileName) { - this.lastLogFileName_ = fileName; - var contents = readFile(fileName); - this.processLogChunk(contents); -}; - - -TickProcessor.prototype.processSharedLibrary = function( - name, startAddr, endAddr) { - var entry = this.profile_.addLibrary(name, startAddr, endAddr); - this.setCodeType(entry.getName(), 'SHARED_LIB'); - - var self = this; - var libFuncs = this.cppEntriesProvider_.parseVmSymbols( - name, startAddr, endAddr, function(fName, fStart, fEnd) { - self.profile_.addStaticCode(fName, fStart, fEnd); - self.setCodeType(fName, 'CPP'); - }); -}; - - -TickProcessor.prototype.processCodeCreation = function( - type, start, size, name) { - var entry = this.profile_.addCode( - this.expandAlias(type), name, start, size); -}; - - -TickProcessor.prototype.processCodeMove = function(from, to) { - this.profile_.moveCode(from, to); -}; - - -TickProcessor.prototype.processCodeDelete = function(start) { - this.profile_.deleteCode(start); -}; - - -TickProcessor.prototype.includeTick = function(vmState) { - return this.stateFilter_ == null || this.stateFilter_ == vmState; -}; - - -TickProcessor.prototype.processTick = function(pc, sp, vmState, stack) { - this.ticks_.total++; - if (vmState == TickProcessor.VmStates.GC) this.ticks_.gc++; - if (!this.includeTick(vmState)) { - this.ticks_.excluded++; - return; - } - - this.profile_.recordTick(this.processStack(pc, stack)); -}; - - -TickProcessor.prototype.printStatistics = function() { - print('Statistical profiling result from ' + this.lastLogFileName_ + - ', (' + this.ticks_.total + - ' ticks, ' + this.ticks_.unaccounted + ' unaccounted, ' + - this.ticks_.excluded + ' excluded).'); - - if (this.ticks_.total == 0) return; - - // Print the unknown ticks percentage if they are not ignored. - if (!this.ignoreUnknown_ && this.ticks_.unaccounted > 0) { - this.printHeader('Unknown'); - this.printCounter(this.ticks_.unaccounted, this.ticks_.total); - } - - var flatProfile = this.profile_.getFlatProfile(); - var flatView = this.viewBuilder_.buildView(flatProfile); - // Sort by self time, desc, then by name, desc. - flatView.sort(function(rec1, rec2) { - return rec2.selfTime - rec1.selfTime || - (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); }); - var totalTicks = this.ticks_.total; - if (this.ignoreUnknown_) { - totalTicks -= this.ticks_.unaccounted; - } - // Our total time contains all the ticks encountered, - // while profile only knows about the filtered ticks. - flatView.head.totalTime = totalTicks; - - // Count library ticks - var flatViewNodes = flatView.head.children; - var self = this; - var libraryTicks = 0; - this.processProfile(flatViewNodes, - function(name) { return self.isSharedLibrary(name); }, - function(rec) { libraryTicks += rec.selfTime; }); - var nonLibraryTicks = totalTicks - libraryTicks; - - this.printHeader('Shared libraries'); - this.printEntries(flatViewNodes, null, - function(name) { return self.isSharedLibrary(name); }); - - this.printHeader('JavaScript'); - this.printEntries(flatViewNodes, nonLibraryTicks, - function(name) { return self.isJsCode(name); }); - - this.printHeader('C++'); - this.printEntries(flatViewNodes, nonLibraryTicks, - function(name) { return self.isCppCode(name); }); - - this.printHeader('GC'); - this.printCounter(this.ticks_.gc, totalTicks); - - this.printHeavyProfHeader(); - var heavyProfile = this.profile_.getBottomUpProfile(); - var heavyView = this.viewBuilder_.buildView(heavyProfile); - // To show the same percentages as in the flat profile. - heavyView.head.totalTime = totalTicks; - // Sort by total time, desc, then by name, desc. - heavyView.sort(function(rec1, rec2) { - return rec2.totalTime - rec1.totalTime || - (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); }); - this.printHeavyProfile(heavyView.head.children); -}; - - -function padLeft(s, len) { - s = s.toString(); - if (s.length < len) { - var padLength = len - s.length; - if (!(padLength in padLeft)) { - padLeft[padLength] = new Array(padLength + 1).join(' '); - } - s = padLeft[padLength] + s; - } - return s; -}; - - -TickProcessor.prototype.printHeader = function(headerTitle) { - print('\n [' + headerTitle + ']:'); - print(' ticks total nonlib name'); -}; - - -TickProcessor.prototype.printHeavyProfHeader = function() { - print('\n [Bottom up (heavy) profile]:'); - print(' Note: percentage shows a share of a particular caller in the ' + - 'total\n' + - ' amount of its parent calls.'); - print(' Callers occupying less than ' + - TickProcessor.CALL_PROFILE_CUTOFF_PCT.toFixed(1) + - '% are not shown.\n'); - print(' ticks parent name'); -}; - - -TickProcessor.prototype.printCounter = function(ticksCount, totalTicksCount) { - var pct = ticksCount * 100.0 / totalTicksCount; - print(' ' + padLeft(ticksCount, 5) + ' ' + padLeft(pct.toFixed(1), 5) + '%'); -}; - - -TickProcessor.prototype.processProfile = function( - profile, filterP, func) { - for (var i = 0, n = profile.length; i < n; ++i) { - var rec = profile[i]; - if (!filterP(rec.internalFuncName)) { - continue; - } - func(rec); - } -}; - - -TickProcessor.prototype.printEntries = function( - profile, nonLibTicks, filterP) { - this.processProfile(profile, filterP, function (rec) { - if (rec.selfTime == 0) return; - var nonLibPct = nonLibTicks != null ? - rec.selfTime * 100.0 / nonLibTicks : 0.0; - print(' ' + padLeft(rec.selfTime, 5) + ' ' + - padLeft(rec.selfPercent.toFixed(1), 5) + '% ' + - padLeft(nonLibPct.toFixed(1), 5) + '% ' + - rec.internalFuncName); - }); -}; - - -TickProcessor.prototype.printHeavyProfile = function(profile, opt_indent) { - var self = this; - var indent = opt_indent || 0; - var indentStr = padLeft('', indent); - this.processProfile(profile, function() { return true; }, function (rec) { - // Cut off too infrequent callers. - if (rec.parentTotalPercent < TickProcessor.CALL_PROFILE_CUTOFF_PCT) return; - print(' ' + padLeft(rec.totalTime, 5) + ' ' + - padLeft(rec.parentTotalPercent.toFixed(1), 5) + '% ' + - indentStr + rec.internalFuncName); - // Limit backtrace depth. - if (indent < 10) { - self.printHeavyProfile(rec.children, indent + 2); - } - // Delimit top-level functions. - if (indent == 0) { - print(''); - } - }); -}; - - -function CppEntriesProvider() { -}; - - -CppEntriesProvider.prototype.parseVmSymbols = function( - libName, libStart, libEnd, processorFunc) { - this.loadSymbols(libName); - - var prevEntry; - - function addEntry(funcInfo) { - // Several functions can be mapped onto the same address. To avoid - // creating zero-sized entries, skip such duplicates. - // Also double-check that function belongs to the library address space. - if (prevEntry && !prevEntry.end && - prevEntry.start < funcInfo.start && - prevEntry.start >= libStart && funcInfo.start <= libEnd) { - processorFunc(prevEntry.name, prevEntry.start, funcInfo.start); - } - if (funcInfo.end && - (!prevEntry || prevEntry.start != funcInfo.start) && - funcInfo.start >= libStart && funcInfo.end <= libEnd) { - processorFunc(funcInfo.name, funcInfo.start, funcInfo.end); - } - prevEntry = funcInfo; - } - - while (true) { - var funcInfo = this.parseNextLine(); - if (funcInfo === null) { - continue; - } else if (funcInfo === false) { - break; - } - if (funcInfo.start < libStart && funcInfo.start < libEnd - libStart) { - funcInfo.start += libStart; - } - if (funcInfo.size) { - funcInfo.end = funcInfo.start + funcInfo.size; - } - addEntry(funcInfo); - } - addEntry({name: '', start: libEnd}); -}; - - -CppEntriesProvider.prototype.loadSymbols = function(libName) { -}; - - -CppEntriesProvider.prototype.parseNextLine = function() { - return false; -}; - - -function UnixCppEntriesProvider(nmExec) { - this.symbols = []; - this.parsePos = 0; - this.nmExec = nmExec; - this.FUNC_RE = /^([0-9a-fA-F]{8,16}) ([0-9a-fA-F]{8,16} )?[tTwW] (.*)$/; -}; -inherits(UnixCppEntriesProvider, CppEntriesProvider); - - -UnixCppEntriesProvider.prototype.loadSymbols = function(libName) { - this.parsePos = 0; - try { - this.symbols = [ - os.system(this.nmExec, ['-C', '-n', '-S', libName], -1, -1), - os.system(this.nmExec, ['-C', '-n', '-S', '-D', libName], -1, -1) - ]; - } catch (e) { - // If the library cannot be found on this system let's not panic. - this.symbols = ['', '']; - } -}; - - -UnixCppEntriesProvider.prototype.parseNextLine = function() { - if (this.symbols.length == 0) { - return false; - } - var lineEndPos = this.symbols[0].indexOf('\n', this.parsePos); - if (lineEndPos == -1) { - this.symbols.shift(); - this.parsePos = 0; - return this.parseNextLine(); - } - - var line = this.symbols[0].substring(this.parsePos, lineEndPos); - this.parsePos = lineEndPos + 1; - var fields = line.match(this.FUNC_RE); - var funcInfo = null; - if (fields) { - funcInfo = { name: fields[3], start: parseInt(fields[1], 16) }; - if (fields[2]) { - funcInfo.size = parseInt(fields[2], 16); - } - } - return funcInfo; -}; - - -function MacCppEntriesProvider(nmExec) { - UnixCppEntriesProvider.call(this, nmExec); - // Note an empty group. It is required, as UnixCppEntriesProvider expects 3 groups. - this.FUNC_RE = /^([0-9a-fA-F]{8,16}) ()[iItT] (.*)$/; -}; -inherits(MacCppEntriesProvider, UnixCppEntriesProvider); - - -MacCppEntriesProvider.prototype.loadSymbols = function(libName) { - this.parsePos = 0; - try { - this.symbols = [os.system(this.nmExec, ['-n', '-f', libName], -1, -1), '']; - } catch (e) { - // If the library cannot be found on this system let's not panic. - this.symbols = ''; - } -}; - - -function WindowsCppEntriesProvider() { - this.symbols = ''; - this.parsePos = 0; -}; -inherits(WindowsCppEntriesProvider, CppEntriesProvider); - - -WindowsCppEntriesProvider.FILENAME_RE = /^(.*)\.([^.]+)$/; - - -WindowsCppEntriesProvider.FUNC_RE = - /^\s+0001:[0-9a-fA-F]{8}\s+([_\?@$0-9a-zA-Z]+)\s+([0-9a-fA-F]{8}).*$/; - - -WindowsCppEntriesProvider.IMAGE_BASE_RE = - /^\s+0000:00000000\s+___ImageBase\s+([0-9a-fA-F]{8}).*$/; - - -// This is almost a constant on Windows. -WindowsCppEntriesProvider.EXE_IMAGE_BASE = 0x00400000; - - -WindowsCppEntriesProvider.prototype.loadSymbols = function(libName) { - var fileNameFields = libName.match(WindowsCppEntriesProvider.FILENAME_RE); - if (!fileNameFields) return; - var mapFileName = fileNameFields[1] + '.map'; - this.moduleType_ = fileNameFields[2].toLowerCase(); - try { - this.symbols = read(mapFileName); - } catch (e) { - // If .map file cannot be found let's not panic. - this.symbols = ''; - } -}; - - -WindowsCppEntriesProvider.prototype.parseNextLine = function() { - var lineEndPos = this.symbols.indexOf('\r\n', this.parsePos); - if (lineEndPos == -1) { - return false; - } - - var line = this.symbols.substring(this.parsePos, lineEndPos); - this.parsePos = lineEndPos + 2; - - // Image base entry is above all other symbols, so we can just - // terminate parsing. - var imageBaseFields = line.match(WindowsCppEntriesProvider.IMAGE_BASE_RE); - if (imageBaseFields) { - var imageBase = parseInt(imageBaseFields[1], 16); - if ((this.moduleType_ == 'exe') != - (imageBase == WindowsCppEntriesProvider.EXE_IMAGE_BASE)) { - return false; - } - } - - var fields = line.match(WindowsCppEntriesProvider.FUNC_RE); - return fields ? - { name: this.unmangleName(fields[1]), start: parseInt(fields[2], 16) } : - null; -}; - - -/** - * Performs very simple unmangling of C++ names. - * - * Does not handle arguments and template arguments. The mangled names have - * the form: - * - * ?LookupInDescriptor@JSObject@internal@v8@@...arguments info... - */ -WindowsCppEntriesProvider.prototype.unmangleName = function(name) { - // Empty or non-mangled name. - if (name.length < 1 || name.charAt(0) != '?') return name; - var nameEndPos = name.indexOf('@@'); - var components = name.substring(1, nameEndPos).split('@'); - components.reverse(); - return components.join('::'); -}; - - -function ArgumentsProcessor(args) { - this.args_ = args; - this.result_ = ArgumentsProcessor.DEFAULTS; - - this.argsDispatch_ = { - '-j': ['stateFilter', TickProcessor.VmStates.JS, - 'Show only ticks from JS VM state'], - '-g': ['stateFilter', TickProcessor.VmStates.GC, - 'Show only ticks from GC VM state'], - '-c': ['stateFilter', TickProcessor.VmStates.COMPILER, - 'Show only ticks from COMPILER VM state'], - '-o': ['stateFilter', TickProcessor.VmStates.OTHER, - 'Show only ticks from OTHER VM state'], - '-e': ['stateFilter', TickProcessor.VmStates.EXTERNAL, - 'Show only ticks from EXTERNAL VM state'], - '--ignore-unknown': ['ignoreUnknown', true, - 'Exclude ticks of unknown code entries from processing'], - '--separate-ic': ['separateIc', true, - 'Separate IC entries'], - '--unix': ['platform', 'unix', - 'Specify that we are running on *nix platform'], - '--windows': ['platform', 'windows', - 'Specify that we are running on Windows platform'], - '--mac': ['platform', 'mac', - 'Specify that we are running on Mac OS X platform'], - '--nm': ['nm', 'nm', - 'Specify the \'nm\' executable to use (e.g. --nm=/my_dir/nm)'] - }; - this.argsDispatch_['--js'] = this.argsDispatch_['-j']; - this.argsDispatch_['--gc'] = this.argsDispatch_['-g']; - this.argsDispatch_['--compiler'] = this.argsDispatch_['-c']; - this.argsDispatch_['--other'] = this.argsDispatch_['-o']; - this.argsDispatch_['--external'] = this.argsDispatch_['-e']; -}; - - -ArgumentsProcessor.DEFAULTS = { - logFileName: 'v8.log', - platform: 'unix', - stateFilter: null, - ignoreUnknown: false, - separateIc: false, - nm: 'nm' -}; - - -ArgumentsProcessor.prototype.parse = function() { - while (this.args_.length) { - var arg = this.args_[0]; - if (arg.charAt(0) != '-') { - break; - } - this.args_.shift(); - var userValue = null; - var eqPos = arg.indexOf('='); - if (eqPos != -1) { - userValue = arg.substr(eqPos + 1); - arg = arg.substr(0, eqPos); - } - if (arg in this.argsDispatch_) { - var dispatch = this.argsDispatch_[arg]; - this.result_[dispatch[0]] = userValue == null ? dispatch[1] : userValue; - } else { - return false; - } - } - - if (this.args_.length >= 1) { - this.result_.logFileName = this.args_.shift(); - } - return true; -}; - - -ArgumentsProcessor.prototype.result = function() { - return this.result_; -}; - - -ArgumentsProcessor.prototype.printUsageAndExit = function() { - - function padRight(s, len) { - s = s.toString(); - if (s.length < len) { - s = s + (new Array(len - s.length + 1).join(' ')); - } - return s; - } - - print('Cmdline args: [options] [log-file-name]\n' + - 'Default log file name is "' + - ArgumentsProcessor.DEFAULTS.logFileName + '".\n'); - print('Options:'); - for (var arg in this.argsDispatch_) { - var synonims = [arg]; - var dispatch = this.argsDispatch_[arg]; - for (var synArg in this.argsDispatch_) { - if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { - synonims.push(synArg); - delete this.argsDispatch_[synArg]; - } - } - print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]); - } - quit(2); -}; - diff --git a/V8Binding/v8/tools/tickprocessor.py b/V8Binding/v8/tools/tickprocessor.py deleted file mode 100644 index cc540d3..0000000 --- a/V8Binding/v8/tools/tickprocessor.py +++ /dev/null @@ -1,535 +0,0 @@ -# Copyright 2008 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. - -import csv, splaytree, sys, re -from operator import itemgetter -import getopt, os, string - -class CodeEntry(object): - - def __init__(self, start_addr, name): - self.start_addr = start_addr - self.tick_count = 0 - self.name = name - self.stacks = {} - - def Tick(self, pc, stack): - self.tick_count += 1 - if len(stack) > 0: - stack.insert(0, self.ToString()) - stack_key = tuple(stack) - self.stacks[stack_key] = self.stacks.setdefault(stack_key, 0) + 1 - - def RegionTicks(self): - return None - - def SetStartAddress(self, start_addr): - self.start_addr = start_addr - - def ToString(self): - return self.name - - def IsSharedLibraryEntry(self): - return False - - def IsICEntry(self): - return False - - -class SharedLibraryEntry(CodeEntry): - - def __init__(self, start_addr, name): - CodeEntry.__init__(self, start_addr, name) - - def IsSharedLibraryEntry(self): - return True - - -class JSCodeEntry(CodeEntry): - - def __init__(self, start_addr, name, type, size, assembler): - CodeEntry.__init__(self, start_addr, name) - self.type = type - self.size = size - self.assembler = assembler - self.region_ticks = None - self.builtin_ic_re = re.compile('^(Keyed)?(Call|Load|Store)IC_') - - def Tick(self, pc, stack): - super(JSCodeEntry, self).Tick(pc, stack) - if not pc is None: - offset = pc - self.start_addr - seen = [] - narrowest = None - narrowest_width = None - for region in self.Regions(): - if region.Contains(offset): - if (not region.name in seen): - seen.append(region.name) - if narrowest is None or region.Width() < narrowest.Width(): - narrowest = region - if len(seen) == 0: - return - if self.region_ticks is None: - self.region_ticks = {} - for name in seen: - if not name in self.region_ticks: - self.region_ticks[name] = [0, 0] - self.region_ticks[name][0] += 1 - if name == narrowest.name: - self.region_ticks[name][1] += 1 - - def RegionTicks(self): - return self.region_ticks - - def Regions(self): - if self.assembler: - return self.assembler.regions - else: - return [] - - def ToString(self): - name = self.name - if name == '': - name = '<anonymous>' - elif name.startswith(' '): - name = '<anonymous>' + name - return self.type + ': ' + name - - def IsICEntry(self): - return self.type in ('CallIC', 'LoadIC', 'StoreIC') or \ - (self.type == 'Builtin' and self.builtin_ic_re.match(self.name)) - - -class CodeRegion(object): - - def __init__(self, start_offset, name): - self.start_offset = start_offset - self.name = name - self.end_offset = None - - def Contains(self, pc): - return (self.start_offset <= pc) and (pc <= self.end_offset) - - def Width(self): - return self.end_offset - self.start_offset - - -class Assembler(object): - - def __init__(self): - # Mapping from region ids to open regions - self.pending_regions = {} - self.regions = [] - - -class FunctionEnumerator(object): - - def __init__(self): - self.known_funcs = {} - self.next_func_id = 0 - - def GetFunctionId(self, name): - if not self.known_funcs.has_key(name): - self.known_funcs[name] = self.next_func_id - self.next_func_id += 1 - return self.known_funcs[name] - - def GetKnownFunctions(self): - known_funcs_items = self.known_funcs.items(); - known_funcs_items.sort(key = itemgetter(1)) - result = [] - for func, id_not_used in known_funcs_items: - result.append(func) - return result - - -VMStates = { 'JS': 0, 'GC': 1, 'COMPILER': 2, 'OTHER': 3, 'EXTERNAL' : 4 } - - -class TickProcessor(object): - - def __init__(self): - self.log_file = '' - self.deleted_code = [] - self.vm_extent = {} - # Map from assembler ids to the pending assembler objects - self.pending_assemblers = {} - # Map from code addresses the have been allocated but not yet officially - # created to their assemblers. - self.assemblers = {} - self.js_entries = splaytree.SplayTree() - self.cpp_entries = splaytree.SplayTree() - self.total_number_of_ticks = 0 - self.number_of_library_ticks = 0 - self.unaccounted_number_of_ticks = 0 - self.excluded_number_of_ticks = 0 - self.number_of_gc_ticks = 0 - # Flag indicating whether to ignore unaccounted ticks in the report - self.ignore_unknown = False - self.func_enum = FunctionEnumerator() - self.packed_stacks = [] - - def ProcessLogfile(self, filename, included_state = None, ignore_unknown = False, separate_ic = False, call_graph_json = False): - self.log_file = filename - self.included_state = included_state - self.ignore_unknown = ignore_unknown - self.separate_ic = separate_ic - self.call_graph_json = call_graph_json - - try: - logfile = open(filename, 'rb') - except IOError: - sys.exit("Could not open logfile: " + filename) - try: - try: - logreader = csv.reader(logfile) - row_num = 1 - for row in logreader: - row_num += 1 - if row[0] == 'tick': - self.ProcessTick(int(row[1], 16), int(row[2], 16), int(row[3]), self.PreprocessStack(row[4:])) - elif row[0] == 'code-creation': - self.ProcessCodeCreation(row[1], int(row[2], 16), int(row[3]), row[4]) - elif row[0] == 'code-move': - self.ProcessCodeMove(int(row[1], 16), int(row[2], 16)) - elif row[0] == 'code-delete': - self.ProcessCodeDelete(int(row[1], 16)) - elif row[0] == 'shared-library': - self.AddSharedLibraryEntry(row[1], int(row[2], 16), int(row[3], 16)) - self.ParseVMSymbols(row[1], int(row[2], 16), int(row[3], 16)) - elif row[0] == 'begin-code-region': - self.ProcessBeginCodeRegion(int(row[1], 16), int(row[2], 16), int(row[3], 16), row[4]) - elif row[0] == 'end-code-region': - self.ProcessEndCodeRegion(int(row[1], 16), int(row[2], 16), int(row[3], 16)) - elif row[0] == 'code-allocate': - self.ProcessCodeAllocate(int(row[1], 16), int(row[2], 16)) - except csv.Error: - print("parse error in line " + str(row_num)) - raise - finally: - logfile.close() - - def AddSharedLibraryEntry(self, filename, start, end): - # Mark the pages used by this library. - i = start - while i < end: - page = i >> 12 - self.vm_extent[page] = 1 - i += 4096 - # Add the library to the entries so that ticks for which we do not - # have symbol information is reported as belonging to the library. - self.cpp_entries.Insert(start, SharedLibraryEntry(start, filename)) - - def ParseVMSymbols(self, filename, start, end): - return - - def ProcessCodeAllocate(self, addr, assem): - if assem in self.pending_assemblers: - assembler = self.pending_assemblers.pop(assem) - self.assemblers[addr] = assembler - - def ProcessCodeCreation(self, type, addr, size, name): - if addr in self.assemblers: - assembler = self.assemblers.pop(addr) - else: - assembler = None - self.js_entries.Insert(addr, JSCodeEntry(addr, name, type, size, assembler)) - - def ProcessCodeMove(self, from_addr, to_addr): - try: - removed_node = self.js_entries.Remove(from_addr) - removed_node.value.SetStartAddress(to_addr); - self.js_entries.Insert(to_addr, removed_node.value) - except splaytree.KeyNotFoundError: - print('Code move event for unknown code: 0x%x' % from_addr) - - def ProcessCodeDelete(self, from_addr): - try: - removed_node = self.js_entries.Remove(from_addr) - self.deleted_code.append(removed_node.value) - except splaytree.KeyNotFoundError: - print('Code delete event for unknown code: 0x%x' % from_addr) - - def ProcessBeginCodeRegion(self, id, assm, start, name): - if not assm in self.pending_assemblers: - self.pending_assemblers[assm] = Assembler() - assembler = self.pending_assemblers[assm] - assembler.pending_regions[id] = CodeRegion(start, name) - - def ProcessEndCodeRegion(self, id, assm, end): - assm = self.pending_assemblers[assm] - region = assm.pending_regions.pop(id) - region.end_offset = end - assm.regions.append(region) - - def IncludeTick(self, pc, sp, state): - return (self.included_state is None) or (self.included_state == state) - - def FindEntry(self, pc): - page = pc >> 12 - if page in self.vm_extent: - entry = self.cpp_entries.FindGreatestsLessThan(pc) - if entry != None: - return entry.value - else: - return entry - max = self.js_entries.FindMax() - min = self.js_entries.FindMin() - if max != None and pc < (max.key + max.value.size) and pc > min.key: - return self.js_entries.FindGreatestsLessThan(pc).value - return None - - def PreprocessStack(self, stack): - # remove all non-addresses (e.g. 'overflow') and convert to int - result = [] - for frame in stack: - if frame.startswith('0x'): - result.append(int(frame, 16)) - return result - - def ProcessStack(self, stack): - result = [] - for frame in stack: - entry = self.FindEntry(frame) - if entry != None: - result.append(entry.ToString()) - return result - - def ProcessTick(self, pc, sp, state, stack): - if state == VMStates['GC']: - self.number_of_gc_ticks += 1 - if not self.IncludeTick(pc, sp, state): - self.excluded_number_of_ticks += 1; - return - self.total_number_of_ticks += 1 - entry = self.FindEntry(pc) - if entry == None: - self.unaccounted_number_of_ticks += 1 - return - if entry.IsSharedLibraryEntry(): - self.number_of_library_ticks += 1 - if entry.IsICEntry() and not self.separate_ic: - if len(stack) > 0: - caller_pc = stack.pop(0) - self.total_number_of_ticks -= 1 - self.ProcessTick(caller_pc, sp, state, stack) - else: - self.unaccounted_number_of_ticks += 1 - else: - entry.Tick(pc, self.ProcessStack(stack)) - if self.call_graph_json: - self.AddToPackedStacks(pc, stack) - - def AddToPackedStacks(self, pc, stack): - full_stack = stack - full_stack.insert(0, pc) - func_names = self.ProcessStack(full_stack) - func_ids = [] - for func in func_names: - func_ids.append(self.func_enum.GetFunctionId(func)) - self.packed_stacks.append(func_ids) - - def PrintResults(self): - if not self.call_graph_json: - self.PrintStatistics() - else: - self.PrintCallGraphJSON() - - def PrintStatistics(self): - print('Statistical profiling result from %s, (%d ticks, %d unaccounted, %d excluded).' % - (self.log_file, - self.total_number_of_ticks, - self.unaccounted_number_of_ticks, - self.excluded_number_of_ticks)) - if self.total_number_of_ticks > 0: - js_entries = self.js_entries.ExportValueList() - js_entries.extend(self.deleted_code) - cpp_entries = self.cpp_entries.ExportValueList() - # Print the unknown ticks percentage if they are not ignored. - if not self.ignore_unknown and self.unaccounted_number_of_ticks > 0: - self.PrintHeader('Unknown') - self.PrintCounter(self.unaccounted_number_of_ticks) - # Print the library ticks. - self.PrintHeader('Shared libraries') - self.PrintEntries(cpp_entries, lambda e:e.IsSharedLibraryEntry()) - # Print the JavaScript ticks. - self.PrintHeader('JavaScript') - self.PrintEntries(js_entries, lambda e:not e.IsSharedLibraryEntry()) - # Print the C++ ticks. - self.PrintHeader('C++') - self.PrintEntries(cpp_entries, lambda e:not e.IsSharedLibraryEntry()) - # Print the GC ticks. - self.PrintHeader('GC') - self.PrintCounter(self.number_of_gc_ticks) - # Print call profile. - print('\n [Call profile]:') - print(' total call path') - js_entries.extend(cpp_entries) - self.PrintCallProfile(js_entries) - - def PrintHeader(self, header_title): - print('\n [%s]:' % header_title) - print(' ticks total nonlib name') - - def PrintCounter(self, ticks_count): - percentage = ticks_count * 100.0 / self.total_number_of_ticks - print(' %(ticks)5d %(total)5.1f%%' % { - 'ticks' : ticks_count, - 'total' : percentage, - }) - - def PrintEntries(self, entries, condition): - # If ignoring unaccounted ticks don't include these in percentage - # calculations - number_of_accounted_ticks = self.total_number_of_ticks - if self.ignore_unknown: - number_of_accounted_ticks -= self.unaccounted_number_of_ticks - - number_of_non_library_ticks = number_of_accounted_ticks - self.number_of_library_ticks - entries.sort(key=lambda e: (e.tick_count, e.ToString()), reverse=True) - for entry in entries: - if entry.tick_count > 0 and condition(entry): - total_percentage = entry.tick_count * 100.0 / number_of_accounted_ticks - if entry.IsSharedLibraryEntry(): - non_library_percentage = 0 - else: - non_library_percentage = entry.tick_count * 100.0 / number_of_non_library_ticks - print(' %(ticks)5d %(total)5.1f%% %(nonlib)6.1f%% %(name)s' % { - 'ticks' : entry.tick_count, - 'total' : total_percentage, - 'nonlib' : non_library_percentage, - 'name' : entry.ToString() - }) - region_ticks = entry.RegionTicks() - if not region_ticks is None: - items = region_ticks.items() - items.sort(key=lambda e: e[1][1], reverse=True) - for (name, ticks) in items: - print(' flat cum') - print(' %(flat)5.1f%% %(accum)5.1f%% %(name)s' % { - 'flat' : ticks[1] * 100.0 / entry.tick_count, - 'accum' : ticks[0] * 100.0 / entry.tick_count, - 'name': name - }) - - def PrintCallProfile(self, entries): - all_stacks = {} - total_stacks = 0 - for entry in entries: - all_stacks.update(entry.stacks) - for count in entry.stacks.itervalues(): - total_stacks += count - all_stacks_items = all_stacks.items(); - all_stacks_items.sort(key = itemgetter(1), reverse=True) - missing_percentage = (self.total_number_of_ticks - total_stacks) * 100.0 / self.total_number_of_ticks - print(' %(ticks)5d %(total)5.1f%% <no call path information>' % { - 'ticks' : self.total_number_of_ticks - total_stacks, - 'total' : missing_percentage - }) - for stack, count in all_stacks_items: - total_percentage = count * 100.0 / self.total_number_of_ticks - print(' %(ticks)5d %(total)5.1f%% %(call_path)s' % { - 'ticks' : count, - 'total' : total_percentage, - 'call_path' : stack[0] + ' <- ' + stack[1] - }) - - def PrintCallGraphJSON(self): - print('\nvar __profile_funcs = ["' + - '",\n"'.join(self.func_enum.GetKnownFunctions()) + - '"];') - print('var __profile_ticks = [') - str_packed_stacks = [] - for stack in self.packed_stacks: - str_packed_stacks.append('[' + ','.join(map(str, stack)) + ']') - print(',\n'.join(str_packed_stacks)) - print('];') - -class CmdLineProcessor(object): - - def __init__(self): - self.options = ["js", - "gc", - "compiler", - "other", - "external", - "ignore-unknown", - "separate-ic", - "call-graph-json"] - # default values - self.state = None - self.ignore_unknown = False - self.log_file = None - self.separate_ic = False - self.call_graph_json = False - - def ProcessArguments(self): - try: - opts, args = getopt.getopt(sys.argv[1:], "jgcoe", self.options) - except getopt.GetoptError: - self.PrintUsageAndExit() - for key, value in opts: - if key in ("-j", "--js"): - self.state = VMStates['JS'] - if key in ("-g", "--gc"): - self.state = VMStates['GC'] - if key in ("-c", "--compiler"): - self.state = VMStates['COMPILER'] - if key in ("-o", "--other"): - self.state = VMStates['OTHER'] - if key in ("-e", "--external"): - self.state = VMStates['EXTERNAL'] - if key in ("--ignore-unknown"): - self.ignore_unknown = True - if key in ("--separate-ic"): - self.separate_ic = True - if key in ("--call-graph-json"): - self.call_graph_json = True - self.ProcessRequiredArgs(args) - - def ProcessRequiredArgs(self, args): - return - - def GetRequiredArgsNames(self): - return - - def PrintUsageAndExit(self): - print('Usage: %(script_name)s --{%(opts)s} %(req_opts)s' % { - 'script_name': os.path.basename(sys.argv[0]), - 'opts': string.join(self.options, ','), - 'req_opts': self.GetRequiredArgsNames() - }) - sys.exit(2) - - def RunLogfileProcessing(self, tick_processor): - tick_processor.ProcessLogfile(self.log_file, self.state, self.ignore_unknown, - self.separate_ic, self.call_graph_json) - - -if __name__ == '__main__': - sys.exit('You probably want to run windows-tick-processor.py or linux-tick-processor.py.') diff --git a/V8Binding/v8/tools/utils.py b/V8Binding/v8/tools/utils.py deleted file mode 100644 index 78d1e0d..0000000 --- a/V8Binding/v8/tools/utils.py +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2008 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. - - -import platform -import re - - -# Reads a .list file into an array of strings -def ReadLinesFrom(name): - list = [] - for line in open(name): - if '#' in line: - line = line[:line.find('#')] - line = line.strip() - if len(line) == 0: - continue - list.append(line) - return list - - -def GuessOS(): - id = platform.system() - if id == 'Linux': - return 'linux' - elif id == 'Darwin': - return 'macos' - elif id == 'Windows' or id == 'Microsoft': - # On Windows Vista platform.system() can return 'Microsoft' with some - # versions of Python, see http://bugs.python.org/issue1082 - return 'win32' - elif id == 'FreeBSD': - return 'freebsd' - else: - return None - - -def GuessArchitecture(): - id = platform.machine() - if id.startswith('arm'): - return 'arm' - elif (not id) or (not re.match('(x|i[3-6])86', id) is None): - return 'ia32' - else: - return None - - -def GuessWordsize(): - if '64' in platform.machine(): - return '64' - else: - return '32' - - -def IsWindows(): - return GuessOS() == 'win32' diff --git a/V8Binding/v8/tools/v8.xcodeproj/project.pbxproj b/V8Binding/v8/tools/v8.xcodeproj/project.pbxproj deleted file mode 100644 index 2d38681..0000000 --- a/V8Binding/v8/tools/v8.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1656 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - -/* Begin PBXAggregateTarget section */ - 7BF891930E73098D000BAF8A /* All */ = { - isa = PBXAggregateTarget; - buildConfigurationList = 7BF8919F0E7309BE000BAF8A /* Build configuration list for PBXAggregateTarget "All" */; - buildPhases = ( - ); - dependencies = ( - 7BF891970E73099F000BAF8A /* PBXTargetDependency */, - 7BF891990E73099F000BAF8A /* PBXTargetDependency */, - 893988100F2A3647007D5254 /* PBXTargetDependency */, - 896FD03E0E78D731003DFB6A /* PBXTargetDependency */, - 896FD0400E78D735003DFB6A /* PBXTargetDependency */, - ); - name = All; - productName = All; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 58950D5E0F55519800F3E8BA /* jump-target.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D500F55514900F3E8BA /* jump-target.cc */; }; - 58950D5F0F55519D00F3E8BA /* jump-target-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D4F0F55514900F3E8BA /* jump-target-ia32.cc */; }; - 58950D600F5551A300F3E8BA /* jump-target.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D500F55514900F3E8BA /* jump-target.cc */; }; - 58950D610F5551A400F3E8BA /* jump-target-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D4E0F55514900F3E8BA /* jump-target-arm.cc */; }; - 58950D620F5551AF00F3E8BA /* register-allocator-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D530F55514900F3E8BA /* register-allocator-ia32.cc */; }; - 58950D630F5551AF00F3E8BA /* register-allocator.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D540F55514900F3E8BA /* register-allocator.cc */; }; - 58950D640F5551B500F3E8BA /* register-allocator.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D540F55514900F3E8BA /* register-allocator.cc */; }; - 58950D650F5551B600F3E8BA /* register-allocator-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D520F55514900F3E8BA /* register-allocator-arm.cc */; }; - 58950D660F5551C200F3E8BA /* virtual-frame.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D5A0F55514900F3E8BA /* virtual-frame.cc */; }; - 58950D670F5551C400F3E8BA /* virtual-frame-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D580F55514900F3E8BA /* virtual-frame-ia32.cc */; }; - 58950D680F5551CB00F3E8BA /* virtual-frame.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D5A0F55514900F3E8BA /* virtual-frame.cc */; }; - 58950D690F5551CE00F3E8BA /* virtual-frame-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 58950D560F55514900F3E8BA /* virtual-frame-arm.cc */; }; - 8900116C0E71CA2300F91F35 /* libraries.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8900116B0E71CA2300F91F35 /* libraries.cc */; }; - 890A13FE0EE9C47F00E49346 /* interpreter-irregexp.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C660EE4665300B48DEB /* interpreter-irregexp.cc */; }; - 890A14010EE9C4B000E49346 /* regexp-macro-assembler-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C700EE466D000B48DEB /* regexp-macro-assembler-arm.cc */; }; - 890A14020EE9C4B400E49346 /* regexp-macro-assembler-irregexp.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C750EE466D000B48DEB /* regexp-macro-assembler-irregexp.cc */; }; - 890A14030EE9C4B500E49346 /* regexp-macro-assembler-tracer.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C770EE466D000B48DEB /* regexp-macro-assembler-tracer.cc */; }; - 890A14040EE9C4B700E49346 /* regexp-macro-assembler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C790EE466D000B48DEB /* regexp-macro-assembler.cc */; }; - 893988070F2A35FA007D5254 /* libv8.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8970F2F00E719FB2006AE7B5 /* libv8.a */; }; - 8939880D0F2A362A007D5254 /* d8.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C920EE46A1700B48DEB /* d8.cc */; }; - 893988160F2A3688007D5254 /* d8-debug.cc in Sources */ = {isa = PBXBuildFile; fileRef = 893988150F2A3686007D5254 /* d8-debug.cc */; }; - 893988330F2A3B8F007D5254 /* d8-js.cc in Sources */ = {isa = PBXBuildFile; fileRef = 893988320F2A3B8B007D5254 /* d8-js.cc */; }; - 893A72240F7B101400303DD2 /* platform-posix.cc in Sources */ = {isa = PBXBuildFile; fileRef = 893A72230F7B0FF200303DD2 /* platform-posix.cc */; }; - 893A72250F7B101B00303DD2 /* platform-posix.cc in Sources */ = {isa = PBXBuildFile; fileRef = 893A72230F7B0FF200303DD2 /* platform-posix.cc */; }; - 893CCE640E71D83700357A03 /* code-stubs.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1110E719B8F00D62E90 /* code-stubs.cc */; }; - 8944AD100F1D4D500028D560 /* regexp-stack.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8944AD0E0F1D4D3A0028D560 /* regexp-stack.cc */; }; - 8944AD110F1D4D570028D560 /* regexp-stack.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8944AD0E0F1D4D3A0028D560 /* regexp-stack.cc */; }; - 894599A30F5D8729008DA8FB /* debug-agent.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8956B6CD0F5D86570033B5A2 /* debug-agent.cc */; }; - 89495E480E79FC23001F68C3 /* compilation-cache.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89495E460E79FC23001F68C3 /* compilation-cache.cc */; }; - 89495E490E79FC23001F68C3 /* compilation-cache.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89495E460E79FC23001F68C3 /* compilation-cache.cc */; }; - 8956B6CF0F5D86730033B5A2 /* debug-agent.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8956B6CD0F5D86570033B5A2 /* debug-agent.cc */; }; - 896FD03A0E78D717003DFB6A /* libv8-arm.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89F23C870E78D5B2006B2466 /* libv8-arm.a */; }; - 897F767F0E71B690007ACF34 /* shell.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1B50E719C0900D62E90 /* shell.cc */; }; - 897F76850E71B6B1007ACF34 /* libv8.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8970F2F00E719FB2006AE7B5 /* libv8.a */; }; - 8981F6001010501900D1520E /* frame-element.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8981F5FE1010500F00D1520E /* frame-element.cc */; }; - 8981F6011010502800D1520E /* frame-element.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8981F5FE1010500F00D1520E /* frame-element.cc */; }; - 898BD20E0EF6CC930068B00A /* debug-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 898BD20D0EF6CC850068B00A /* debug-ia32.cc */; }; - 898BD20F0EF6CC9A0068B00A /* debug-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 898BD20C0EF6CC850068B00A /* debug-arm.cc */; }; - 89A15C7B0EE466EB00B48DEB /* regexp-macro-assembler-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C720EE466D000B48DEB /* regexp-macro-assembler-ia32.cc */; }; - 89A15C810EE4674900B48DEB /* regexp-macro-assembler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C790EE466D000B48DEB /* regexp-macro-assembler.cc */; }; - 89A15C830EE4675E00B48DEB /* regexp-macro-assembler-irregexp.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C750EE466D000B48DEB /* regexp-macro-assembler-irregexp.cc */; }; - 89A15C850EE4678B00B48DEB /* interpreter-irregexp.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C660EE4665300B48DEB /* interpreter-irregexp.cc */; }; - 89A15C8A0EE467D100B48DEB /* regexp-macro-assembler-tracer.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89A15C770EE466D000B48DEB /* regexp-macro-assembler-tracer.cc */; }; - 89A88DEC0E71A5FF0043BA31 /* accessors.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF0F60E719B8F00D62E90 /* accessors.cc */; }; - 89A88DED0E71A6000043BA31 /* allocation.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF0F80E719B8F00D62E90 /* allocation.cc */; }; - 89A88DEE0E71A6010043BA31 /* api.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF0FA0E719B8F00D62E90 /* api.cc */; }; - 89A88DEF0E71A60A0043BA31 /* assembler-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1010E719B8F00D62E90 /* assembler-ia32.cc */; }; - 89A88DF00E71A60A0043BA31 /* assembler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1030E719B8F00D62E90 /* assembler.cc */; }; - 89A88DF10E71A60B0043BA31 /* ast.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1050E719B8F00D62E90 /* ast.cc */; }; - 89A88DF20E71A60C0043BA31 /* bootstrapper.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1070E719B8F00D62E90 /* bootstrapper.cc */; }; - 89A88DF40E71A6160043BA31 /* builtins-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF10A0E719B8F00D62E90 /* builtins-ia32.cc */; }; - 89A88DF50E71A6170043BA31 /* builtins.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF10B0E719B8F00D62E90 /* builtins.cc */; }; - 89A88DF60E71A61C0043BA31 /* checks.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF10F0E719B8F00D62E90 /* checks.cc */; }; - 89A88DF70E71A6240043BA31 /* codegen-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1150E719B8F00D62E90 /* codegen-ia32.cc */; }; - 89A88DF80E71A6260043BA31 /* codegen.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1170E719B8F00D62E90 /* codegen.cc */; }; - 89A88DF90E71A6430043BA31 /* compiler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1190E719B8F00D62E90 /* compiler.cc */; }; - 89A88DFA0E71A6440043BA31 /* contexts.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF11C0E719B8F00D62E90 /* contexts.cc */; }; - 89A88DFB0E71A6440043BA31 /* conversions.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF11F0E719B8F00D62E90 /* conversions.cc */; }; - 89A88DFC0E71A6460043BA31 /* counters.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1210E719B8F00D62E90 /* counters.cc */; }; - 89A88DFD0E71A6470043BA31 /* cpu-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1240E719B8F00D62E90 /* cpu-ia32.cc */; }; - 89A88DFE0E71A6480043BA31 /* dateparser.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1260E719B8F00D62E90 /* dateparser.cc */; }; - 89A88DFF0E71A6530043BA31 /* debug.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1280E719B8F00D62E90 /* debug.cc */; }; - 89A88E000E71A6540043BA31 /* disasm-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF12B0E719B8F00D62E90 /* disasm-ia32.cc */; }; - 89A88E010E71A6550043BA31 /* disassembler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF12D0E719B8F00D62E90 /* disassembler.cc */; }; - 89A88E020E71A65A0043BA31 /* dtoa-config.c in Sources */ = {isa = PBXBuildFile; fileRef = 897FF12F0E719B8F00D62E90 /* dtoa-config.c */; }; - 89A88E030E71A65B0043BA31 /* execution.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1300E719B8F00D62E90 /* execution.cc */; }; - 89A88E040E71A65D0043BA31 /* factory.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1320E719B8F00D62E90 /* factory.cc */; }; - 89A88E050E71A65D0043BA31 /* flags.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1350E719B8F00D62E90 /* flags.cc */; }; - 89A88E060E71A6600043BA31 /* frames-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1390E719B8F00D62E90 /* frames-ia32.cc */; }; - 89A88E070E71A6610043BA31 /* frames.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF13C0E719B8F00D62E90 /* frames.cc */; }; - 89A88E080E71A6620043BA31 /* global-handles.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF13E0E719B8F00D62E90 /* global-handles.cc */; }; - 89A88E090E71A6640043BA31 /* handles.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1420E719B8F00D62E90 /* handles.cc */; }; - 89A88E0A0E71A6650043BA31 /* hashmap.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1440E719B8F00D62E90 /* hashmap.cc */; }; - 89A88E0B0E71A66C0043BA31 /* heap.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1470E719B8F00D62E90 /* heap.cc */; }; - 89A88E0C0E71A66D0043BA31 /* ic-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF14A0E719B8F00D62E90 /* ic-ia32.cc */; }; - 89A88E0D0E71A66E0043BA31 /* ic.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF14C0E719B8F00D62E90 /* ic.cc */; }; - 89A88E0E0E71A66F0043BA31 /* jsregexp.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF14E0E719B8F00D62E90 /* jsregexp.cc */; }; - 89A88E0F0E71A6740043BA31 /* log.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1520E719B8F00D62E90 /* log.cc */; }; - 89A88E100E71A6770043BA31 /* macro-assembler-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1560E719B8F00D62E90 /* macro-assembler-ia32.cc */; }; - 89A88E110E71A6780043BA31 /* mark-compact.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1590E719B8F00D62E90 /* mark-compact.cc */; }; - 89A88E120E71A67A0043BA31 /* messages.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF15C0E719B8F00D62E90 /* messages.cc */; }; - 89A88E130E71A6860043BA31 /* objects-debug.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1600E719B8F00D62E90 /* objects-debug.cc */; }; - 89A88E140E71A6870043BA31 /* objects.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1620E719B8F00D62E90 /* objects.cc */; }; - 89A88E150E71A68C0043BA31 /* parser.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1640E719B8F00D62E90 /* parser.cc */; }; - 89A88E160E71A68E0043BA31 /* platform-macos.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1670E719B8F00D62E90 /* platform-macos.cc */; }; - 89A88E170E71A6950043BA31 /* prettyprinter.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF16B0E719B8F00D62E90 /* prettyprinter.cc */; }; - 89A88E180E71A6960043BA31 /* property.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF16D0E719B8F00D62E90 /* property.cc */; }; - 89A88E190E71A6970043BA31 /* rewriter.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF16F0E719B8F00D62E90 /* rewriter.cc */; }; - 89A88E1A0E71A69B0043BA31 /* runtime.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1710E719B8F00D62E90 /* runtime.cc */; }; - 89A88E1B0E71A69D0043BA31 /* scanner.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1730E719B8F00D62E90 /* scanner.cc */; }; - 89A88E1C0E71A69E0043BA31 /* scopeinfo.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1760E719B8F00D62E90 /* scopeinfo.cc */; }; - 89A88E1D0E71A6A00043BA31 /* scopes.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1780E719B8F00D62E90 /* scopes.cc */; }; - 89A88E1E0E71A6A30043BA31 /* serialize.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF17A0E719B8F00D62E90 /* serialize.cc */; }; - 89A88E1F0E71A6B40043BA31 /* snapshot-common.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1820E719B8F00D62E90 /* snapshot-common.cc */; }; - 89A88E200E71A6B60043BA31 /* snapshot-empty.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1830E719B8F00D62E90 /* snapshot-empty.cc */; }; - 89A88E210E71A6B70043BA31 /* spaces.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1860E719B8F00D62E90 /* spaces.cc */; }; - 89A88E220E71A6BC0043BA31 /* string-stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1880E719B8F00D62E90 /* string-stream.cc */; }; - 89A88E230E71A6BE0043BA31 /* stub-cache-ia32.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF18B0E719B8F00D62E90 /* stub-cache-ia32.cc */; }; - 89A88E240E71A6BF0043BA31 /* stub-cache.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF18C0E719B8F00D62E90 /* stub-cache.cc */; }; - 89A88E250E71A6C20043BA31 /* token.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF18E0E719B8F00D62E90 /* token.cc */; }; - 89A88E260E71A6C90043BA31 /* top.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1900E719B8F00D62E90 /* top.cc */; }; - 89A88E270E71A6CB0043BA31 /* unicode.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1930E719B8F00D62E90 /* unicode.cc */; }; - 89A88E280E71A6CC0043BA31 /* usage-analyzer.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1950E719B8F00D62E90 /* usage-analyzer.cc */; }; - 89A88E290E71A6CE0043BA31 /* utils.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1970E719B8F00D62E90 /* utils.cc */; }; - 89A88E2A0E71A6D00043BA31 /* v8-counters.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1990E719B8F00D62E90 /* v8-counters.cc */; }; - 89A88E2B0E71A6D10043BA31 /* v8.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF19B0E719B8F00D62E90 /* v8.cc */; }; - 89A88E2C0E71A6D20043BA31 /* v8threads.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF19D0E719B8F00D62E90 /* v8threads.cc */; }; - 89A88E2D0E71A6D50043BA31 /* variables.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF19F0E719B8F00D62E90 /* variables.cc */; }; - 89A88E2E0E71A6D60043BA31 /* zone.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1A20E719B8F00D62E90 /* zone.cc */; }; - 89B933AF0FAA0F9600201304 /* version.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF32F0FAA0ED200136CF6 /* version.cc */; }; - 89B933B00FAA0F9D00201304 /* version.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF32F0FAA0ED200136CF6 /* version.cc */; }; - 89F23C3F0E78D5B2006B2466 /* accessors.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF0F60E719B8F00D62E90 /* accessors.cc */; }; - 89F23C400E78D5B2006B2466 /* allocation.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF0F80E719B8F00D62E90 /* allocation.cc */; }; - 89F23C410E78D5B2006B2466 /* api.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF0FA0E719B8F00D62E90 /* api.cc */; }; - 89F23C430E78D5B2006B2466 /* assembler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1030E719B8F00D62E90 /* assembler.cc */; }; - 89F23C440E78D5B2006B2466 /* ast.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1050E719B8F00D62E90 /* ast.cc */; }; - 89F23C450E78D5B2006B2466 /* bootstrapper.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1070E719B8F00D62E90 /* bootstrapper.cc */; }; - 89F23C470E78D5B2006B2466 /* builtins.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF10B0E719B8F00D62E90 /* builtins.cc */; }; - 89F23C480E78D5B2006B2466 /* checks.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF10F0E719B8F00D62E90 /* checks.cc */; }; - 89F23C490E78D5B2006B2466 /* code-stubs.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1110E719B8F00D62E90 /* code-stubs.cc */; }; - 89F23C4B0E78D5B2006B2466 /* codegen.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1170E719B8F00D62E90 /* codegen.cc */; }; - 89F23C4C0E78D5B2006B2466 /* compiler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1190E719B8F00D62E90 /* compiler.cc */; }; - 89F23C4D0E78D5B2006B2466 /* contexts.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF11C0E719B8F00D62E90 /* contexts.cc */; }; - 89F23C4E0E78D5B2006B2466 /* conversions.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF11F0E719B8F00D62E90 /* conversions.cc */; }; - 89F23C4F0E78D5B2006B2466 /* counters.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1210E719B8F00D62E90 /* counters.cc */; }; - 89F23C510E78D5B2006B2466 /* dateparser.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1260E719B8F00D62E90 /* dateparser.cc */; }; - 89F23C520E78D5B2006B2466 /* debug.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1280E719B8F00D62E90 /* debug.cc */; }; - 89F23C540E78D5B2006B2466 /* disassembler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF12D0E719B8F00D62E90 /* disassembler.cc */; }; - 89F23C550E78D5B2006B2466 /* dtoa-config.c in Sources */ = {isa = PBXBuildFile; fileRef = 897FF12F0E719B8F00D62E90 /* dtoa-config.c */; }; - 89F23C560E78D5B2006B2466 /* execution.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1300E719B8F00D62E90 /* execution.cc */; }; - 89F23C570E78D5B2006B2466 /* factory.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1320E719B8F00D62E90 /* factory.cc */; }; - 89F23C580E78D5B2006B2466 /* flags.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1350E719B8F00D62E90 /* flags.cc */; }; - 89F23C5A0E78D5B2006B2466 /* frames.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF13C0E719B8F00D62E90 /* frames.cc */; }; - 89F23C5B0E78D5B2006B2466 /* global-handles.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF13E0E719B8F00D62E90 /* global-handles.cc */; }; - 89F23C5C0E78D5B2006B2466 /* handles.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1420E719B8F00D62E90 /* handles.cc */; }; - 89F23C5D0E78D5B2006B2466 /* hashmap.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1440E719B8F00D62E90 /* hashmap.cc */; }; - 89F23C5E0E78D5B2006B2466 /* heap.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1470E719B8F00D62E90 /* heap.cc */; }; - 89F23C600E78D5B2006B2466 /* ic.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF14C0E719B8F00D62E90 /* ic.cc */; }; - 89F23C610E78D5B2006B2466 /* jsregexp.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF14E0E719B8F00D62E90 /* jsregexp.cc */; }; - 89F23C620E78D5B2006B2466 /* libraries.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8900116B0E71CA2300F91F35 /* libraries.cc */; }; - 89F23C630E78D5B2006B2466 /* log.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1520E719B8F00D62E90 /* log.cc */; }; - 89F23C650E78D5B2006B2466 /* mark-compact.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1590E719B8F00D62E90 /* mark-compact.cc */; }; - 89F23C660E78D5B2006B2466 /* messages.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF15C0E719B8F00D62E90 /* messages.cc */; }; - 89F23C670E78D5B2006B2466 /* objects-debug.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1600E719B8F00D62E90 /* objects-debug.cc */; }; - 89F23C680E78D5B2006B2466 /* objects.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1620E719B8F00D62E90 /* objects.cc */; }; - 89F23C690E78D5B2006B2466 /* parser.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1640E719B8F00D62E90 /* parser.cc */; }; - 89F23C6A0E78D5B2006B2466 /* platform-macos.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1670E719B8F00D62E90 /* platform-macos.cc */; }; - 89F23C6B0E78D5B2006B2466 /* prettyprinter.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF16B0E719B8F00D62E90 /* prettyprinter.cc */; }; - 89F23C6C0E78D5B2006B2466 /* property.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF16D0E719B8F00D62E90 /* property.cc */; }; - 89F23C6D0E78D5B2006B2466 /* rewriter.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF16F0E719B8F00D62E90 /* rewriter.cc */; }; - 89F23C6E0E78D5B2006B2466 /* runtime.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1710E719B8F00D62E90 /* runtime.cc */; }; - 89F23C6F0E78D5B2006B2466 /* scanner.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1730E719B8F00D62E90 /* scanner.cc */; }; - 89F23C700E78D5B2006B2466 /* scopeinfo.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1760E719B8F00D62E90 /* scopeinfo.cc */; }; - 89F23C710E78D5B2006B2466 /* scopes.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1780E719B8F00D62E90 /* scopes.cc */; }; - 89F23C720E78D5B2006B2466 /* serialize.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF17A0E719B8F00D62E90 /* serialize.cc */; }; - 89F23C730E78D5B2006B2466 /* snapshot-common.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1820E719B8F00D62E90 /* snapshot-common.cc */; }; - 89F23C740E78D5B2006B2466 /* snapshot-empty.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1830E719B8F00D62E90 /* snapshot-empty.cc */; }; - 89F23C750E78D5B2006B2466 /* spaces.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1860E719B8F00D62E90 /* spaces.cc */; }; - 89F23C760E78D5B2006B2466 /* string-stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1880E719B8F00D62E90 /* string-stream.cc */; }; - 89F23C780E78D5B2006B2466 /* stub-cache.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF18C0E719B8F00D62E90 /* stub-cache.cc */; }; - 89F23C790E78D5B2006B2466 /* token.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF18E0E719B8F00D62E90 /* token.cc */; }; - 89F23C7A0E78D5B2006B2466 /* top.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1900E719B8F00D62E90 /* top.cc */; }; - 89F23C7B0E78D5B2006B2466 /* unicode.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1930E719B8F00D62E90 /* unicode.cc */; }; - 89F23C7C0E78D5B2006B2466 /* usage-analyzer.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1950E719B8F00D62E90 /* usage-analyzer.cc */; }; - 89F23C7D0E78D5B2006B2466 /* utils.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1970E719B8F00D62E90 /* utils.cc */; }; - 89F23C7E0E78D5B2006B2466 /* v8-counters.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1990E719B8F00D62E90 /* v8-counters.cc */; }; - 89F23C7F0E78D5B2006B2466 /* v8.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF19B0E719B8F00D62E90 /* v8.cc */; }; - 89F23C800E78D5B2006B2466 /* v8threads.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF19D0E719B8F00D62E90 /* v8threads.cc */; }; - 89F23C810E78D5B2006B2466 /* variables.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF19F0E719B8F00D62E90 /* variables.cc */; }; - 89F23C820E78D5B2006B2466 /* zone.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1A20E719B8F00D62E90 /* zone.cc */; }; - 89F23C8E0E78D5B6006B2466 /* shell.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1B50E719C0900D62E90 /* shell.cc */; }; - 89F23C970E78D5E3006B2466 /* assembler-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF0FE0E719B8F00D62E90 /* assembler-arm.cc */; }; - 89F23C980E78D5E7006B2466 /* builtins-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1090E719B8F00D62E90 /* builtins-arm.cc */; }; - 89F23C990E78D5E9006B2466 /* codegen-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1140E719B8F00D62E90 /* codegen-arm.cc */; }; - 89F23C9A0E78D5EC006B2466 /* cpu-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1230E719B8F00D62E90 /* cpu-arm.cc */; }; - 89F23C9B0E78D5EE006B2466 /* disasm-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF12A0E719B8F00D62E90 /* disasm-arm.cc */; }; - 89F23C9C0E78D5F1006B2466 /* frames-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1370E719B8F00D62E90 /* frames-arm.cc */; }; - 89F23C9D0E78D5FB006B2466 /* ic-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1490E719B8F00D62E90 /* ic-arm.cc */; }; - 89F23C9E0E78D5FD006B2466 /* macro-assembler-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF1540E719B8F00D62E90 /* macro-assembler-arm.cc */; }; - 89F23C9F0E78D604006B2466 /* simulator-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF17D0E719B8F00D62E90 /* simulator-arm.cc */; }; - 89F23CA00E78D609006B2466 /* stub-cache-arm.cc in Sources */ = {isa = PBXBuildFile; fileRef = 897FF18A0E719B8F00D62E90 /* stub-cache-arm.cc */; }; - 89FB0E3A0F8E533F00B04B3C /* d8-posix.cc in Sources */ = {isa = PBXBuildFile; fileRef = 89FB0E360F8E531900B04B3C /* d8-posix.cc */; }; - 9F11D9A0105AF0A300EBE5B2 /* heap-profiler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9F11D99E105AF0A300EBE5B2 /* heap-profiler.cc */; }; - 9F11D9A1105AF0A300EBE5B2 /* heap-profiler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9F11D99E105AF0A300EBE5B2 /* heap-profiler.cc */; }; - 9F4B7B890FCC877A00DC4117 /* log-utils.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9F4B7B870FCC877A00DC4117 /* log-utils.cc */; }; - 9F4B7B8A0FCC877A00DC4117 /* log-utils.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9F4B7B870FCC877A00DC4117 /* log-utils.cc */; }; - 9F92FAA90F8F28AD0089F02C /* func-name-inferrer.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9F92FAA70F8F28AD0089F02C /* func-name-inferrer.cc */; }; - 9F92FAAA0F8F28AD0089F02C /* func-name-inferrer.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9F92FAA70F8F28AD0089F02C /* func-name-inferrer.cc */; }; - 9FC86ABD0F5FEDAC00F22668 /* oprofile-agent.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FC86ABB0F5FEDAC00F22668 /* oprofile-agent.cc */; }; - 9FC86ABE0F5FEDAC00F22668 /* oprofile-agent.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FC86ABB0F5FEDAC00F22668 /* oprofile-agent.cc */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 7BF891960E73099F000BAF8A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 8970F2EF0E719FB2006AE7B5; - remoteInfo = v8; - }; - 7BF891980E73099F000BAF8A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 897F76790E71B4CC007ACF34; - remoteInfo = v8_shell; - }; - 893988020F2A35FA007D5254 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 8970F2EF0E719FB2006AE7B5; - remoteInfo = v8; - }; - 8939880F0F2A3647007D5254 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 893987FE0F2A35FA007D5254; - remoteInfo = d8_shell; - }; - 896FD03B0E78D71F003DFB6A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 89F23C3C0E78D5B2006B2466; - remoteInfo = "v8-arm"; - }; - 896FD03D0E78D731003DFB6A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 89F23C3C0E78D5B2006B2466; - remoteInfo = "v8-arm"; - }; - 896FD03F0E78D735003DFB6A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 89F23C880E78D5B6006B2466; - remoteInfo = "v8_shell-arm"; - }; - 897F76820E71B6AC007ACF34 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8915B8680E719336009C4E19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 8970F2EF0E719FB2006AE7B5; - remoteInfo = v8; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 22A76C900FF259E600FDC694 /* log-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "log-inl.h"; sourceTree = "<group>"; }; - 58242A1E0FA1F14D00BD6F59 /* json-delay.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "json-delay.js"; sourceTree = "<group>"; }; - 58950D4E0F55514900F3E8BA /* jump-target-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "jump-target-arm.cc"; path = "arm/jump-target-arm.cc"; sourceTree = "<group>"; }; - 58950D4F0F55514900F3E8BA /* jump-target-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "jump-target-ia32.cc"; path = "ia32/jump-target-ia32.cc"; sourceTree = "<group>"; }; - 58950D500F55514900F3E8BA /* jump-target.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "jump-target.cc"; sourceTree = "<group>"; }; - 58950D510F55514900F3E8BA /* jump-target.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "jump-target.h"; sourceTree = "<group>"; }; - 58950D520F55514900F3E8BA /* register-allocator-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "register-allocator-arm.cc"; path = "arm/register-allocator-arm.cc"; sourceTree = "<group>"; }; - 58950D530F55514900F3E8BA /* register-allocator-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "register-allocator-ia32.cc"; path = "ia32/register-allocator-ia32.cc"; sourceTree = "<group>"; }; - 58950D540F55514900F3E8BA /* register-allocator.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "register-allocator.cc"; sourceTree = "<group>"; }; - 58950D550F55514900F3E8BA /* register-allocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "register-allocator.h"; sourceTree = "<group>"; }; - 58950D560F55514900F3E8BA /* virtual-frame-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "virtual-frame-arm.cc"; path = "arm/virtual-frame-arm.cc"; sourceTree = "<group>"; }; - 58950D570F55514900F3E8BA /* virtual-frame-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "virtual-frame-arm.h"; path = "arm/virtual-frame-arm.h"; sourceTree = "<group>"; }; - 58950D580F55514900F3E8BA /* virtual-frame-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "virtual-frame-ia32.cc"; path = "ia32/virtual-frame-ia32.cc"; sourceTree = "<group>"; }; - 58950D590F55514900F3E8BA /* virtual-frame-ia32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "virtual-frame-ia32.h"; path = "ia32/virtual-frame-ia32.h"; sourceTree = "<group>"; }; - 58950D5A0F55514900F3E8BA /* virtual-frame.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "virtual-frame.cc"; sourceTree = "<group>"; }; - 58950D5B0F55514900F3E8BA /* virtual-frame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "virtual-frame.h"; sourceTree = "<group>"; }; - 8900116B0E71CA2300F91F35 /* libraries.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = libraries.cc; sourceTree = "<group>"; }; - 893986D40F29020C007D5254 /* apiutils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = apiutils.h; sourceTree = "<group>"; }; - 8939880B0F2A35FA007D5254 /* v8_shell */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = v8_shell; sourceTree = BUILT_PRODUCTS_DIR; }; - 893988150F2A3686007D5254 /* d8-debug.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "d8-debug.cc"; path = "../src/d8-debug.cc"; sourceTree = "<group>"; }; - 893988320F2A3B8B007D5254 /* d8-js.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "d8-js.cc"; sourceTree = "<group>"; }; - 893A72230F7B0FF200303DD2 /* platform-posix.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "platform-posix.cc"; sourceTree = "<group>"; }; - 893A722A0F7B4A3200303DD2 /* dateparser-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "dateparser-inl.h"; sourceTree = "<group>"; }; - 893A722D0F7B4A7100303DD2 /* register-allocator-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "register-allocator-inl.h"; sourceTree = "<group>"; }; - 893A72320F7B4AD700303DD2 /* d8-debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "d8-debug.h"; path = "../src/d8-debug.h"; sourceTree = "<group>"; }; - 8944AD0E0F1D4D3A0028D560 /* regexp-stack.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "regexp-stack.cc"; sourceTree = "<group>"; }; - 8944AD0F0F1D4D3A0028D560 /* regexp-stack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "regexp-stack.h"; sourceTree = "<group>"; }; - 89471C7F0EB23EE400B6874B /* flag-definitions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "flag-definitions.h"; sourceTree = "<group>"; }; - 89495E460E79FC23001F68C3 /* compilation-cache.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "compilation-cache.cc"; sourceTree = "<group>"; }; - 89495E470E79FC23001F68C3 /* compilation-cache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "compilation-cache.h"; sourceTree = "<group>"; }; - 8956B6CD0F5D86570033B5A2 /* debug-agent.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "debug-agent.cc"; sourceTree = "<group>"; }; - 8956B6CE0F5D86570033B5A2 /* debug-agent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "debug-agent.h"; sourceTree = "<group>"; }; - 8964482B0E9C00F700E7C516 /* codegen-ia32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "codegen-ia32.h"; path = "ia32/codegen-ia32.h"; sourceTree = "<group>"; }; - 896448BC0E9D530500E7C516 /* codegen-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "codegen-arm.h"; path = "arm/codegen-arm.h"; sourceTree = "<group>"; }; - 8970F2F00E719FB2006AE7B5 /* libv8.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libv8.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 897F767A0E71B4CC007ACF34 /* v8_shell */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = v8_shell; sourceTree = BUILT_PRODUCTS_DIR; }; - 897FF0D40E719A8500D62E90 /* v8-debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "v8-debug.h"; sourceTree = "<group>"; }; - 897FF0D50E719A8500D62E90 /* v8.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = v8.h; sourceTree = "<group>"; }; - 897FF0E00E719B3500D62E90 /* COPYING */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = COPYING; sourceTree = "<group>"; }; - 897FF0E10E719B3500D62E90 /* dtoa.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dtoa.c; sourceTree = "<group>"; }; - 897FF0F60E719B8F00D62E90 /* accessors.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = accessors.cc; sourceTree = "<group>"; }; - 897FF0F70E719B8F00D62E90 /* accessors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = accessors.h; sourceTree = "<group>"; }; - 897FF0F80E719B8F00D62E90 /* allocation.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = allocation.cc; sourceTree = "<group>"; }; - 897FF0F90E719B8F00D62E90 /* allocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = allocation.h; sourceTree = "<group>"; }; - 897FF0FA0E719B8F00D62E90 /* api.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = api.cc; sourceTree = "<group>"; }; - 897FF0FB0E719B8F00D62E90 /* api.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = api.h; sourceTree = "<group>"; }; - 897FF0FC0E719B8F00D62E90 /* arguments.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = arguments.h; sourceTree = "<group>"; }; - 897FF0FD0E719B8F00D62E90 /* assembler-arm-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "assembler-arm-inl.h"; path = "arm/assembler-arm-inl.h"; sourceTree = "<group>"; }; - 897FF0FE0E719B8F00D62E90 /* assembler-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "assembler-arm.cc"; path = "arm/assembler-arm.cc"; sourceTree = "<group>"; }; - 897FF0FF0E719B8F00D62E90 /* assembler-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "assembler-arm.h"; path = "arm/assembler-arm.h"; sourceTree = "<group>"; }; - 897FF1000E719B8F00D62E90 /* assembler-ia32-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "assembler-ia32-inl.h"; path = "ia32/assembler-ia32-inl.h"; sourceTree = "<group>"; }; - 897FF1010E719B8F00D62E90 /* assembler-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "assembler-ia32.cc"; path = "ia32/assembler-ia32.cc"; sourceTree = "<group>"; }; - 897FF1020E719B8F00D62E90 /* assembler-ia32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "assembler-ia32.h"; path = "ia32/assembler-ia32.h"; sourceTree = "<group>"; }; - 897FF1030E719B8F00D62E90 /* assembler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = assembler.cc; sourceTree = "<group>"; }; - 897FF1040E719B8F00D62E90 /* assembler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = assembler.h; sourceTree = "<group>"; }; - 897FF1050E719B8F00D62E90 /* ast.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ast.cc; sourceTree = "<group>"; }; - 897FF1060E719B8F00D62E90 /* ast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ast.h; sourceTree = "<group>"; }; - 897FF1070E719B8F00D62E90 /* bootstrapper.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bootstrapper.cc; sourceTree = "<group>"; }; - 897FF1080E719B8F00D62E90 /* bootstrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bootstrapper.h; sourceTree = "<group>"; }; - 897FF1090E719B8F00D62E90 /* builtins-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "builtins-arm.cc"; path = "arm/builtins-arm.cc"; sourceTree = "<group>"; }; - 897FF10A0E719B8F00D62E90 /* builtins-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "builtins-ia32.cc"; path = "ia32/builtins-ia32.cc"; sourceTree = "<group>"; }; - 897FF10B0E719B8F00D62E90 /* builtins.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = builtins.cc; sourceTree = "<group>"; }; - 897FF10C0E719B8F00D62E90 /* builtins.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = builtins.h; sourceTree = "<group>"; }; - 897FF10D0E719B8F00D62E90 /* char-predicates-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "char-predicates-inl.h"; sourceTree = "<group>"; }; - 897FF10E0E719B8F00D62E90 /* char-predicates.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "char-predicates.h"; sourceTree = "<group>"; }; - 897FF10F0E719B8F00D62E90 /* checks.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = checks.cc; sourceTree = "<group>"; }; - 897FF1100E719B8F00D62E90 /* checks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = checks.h; sourceTree = "<group>"; }; - 897FF1110E719B8F00D62E90 /* code-stubs.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "code-stubs.cc"; sourceTree = "<group>"; }; - 897FF1120E719B8F00D62E90 /* code-stubs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "code-stubs.h"; sourceTree = "<group>"; }; - 897FF1130E719B8F00D62E90 /* code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = code.h; sourceTree = "<group>"; }; - 897FF1140E719B8F00D62E90 /* codegen-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "codegen-arm.cc"; path = "arm/codegen-arm.cc"; sourceTree = "<group>"; }; - 897FF1150E719B8F00D62E90 /* codegen-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "codegen-ia32.cc"; path = "ia32/codegen-ia32.cc"; sourceTree = "<group>"; }; - 897FF1160E719B8F00D62E90 /* codegen-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "codegen-inl.h"; sourceTree = "<group>"; }; - 897FF1170E719B8F00D62E90 /* codegen.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = codegen.cc; sourceTree = "<group>"; }; - 897FF1180E719B8F00D62E90 /* codegen.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = codegen.h; sourceTree = "<group>"; }; - 897FF1190E719B8F00D62E90 /* compiler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = compiler.cc; sourceTree = "<group>"; }; - 897FF11A0E719B8F00D62E90 /* compiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compiler.h; sourceTree = "<group>"; }; - 897FF11B0E719B8F00D62E90 /* constants-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "constants-arm.h"; path = "arm/constants-arm.h"; sourceTree = "<group>"; }; - 897FF11C0E719B8F00D62E90 /* contexts.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = contexts.cc; sourceTree = "<group>"; }; - 897FF11D0E719B8F00D62E90 /* contexts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = contexts.h; sourceTree = "<group>"; }; - 897FF11E0E719B8F00D62E90 /* conversions-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "conversions-inl.h"; sourceTree = "<group>"; }; - 897FF11F0E719B8F00D62E90 /* conversions.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = conversions.cc; sourceTree = "<group>"; }; - 897FF1200E719B8F00D62E90 /* conversions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = conversions.h; sourceTree = "<group>"; }; - 897FF1210E719B8F00D62E90 /* counters.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = counters.cc; sourceTree = "<group>"; }; - 897FF1220E719B8F00D62E90 /* counters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = counters.h; sourceTree = "<group>"; }; - 897FF1230E719B8F00D62E90 /* cpu-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "cpu-arm.cc"; path = "arm/cpu-arm.cc"; sourceTree = "<group>"; }; - 897FF1240E719B8F00D62E90 /* cpu-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "cpu-ia32.cc"; path = "ia32/cpu-ia32.cc"; sourceTree = "<group>"; }; - 897FF1250E719B8F00D62E90 /* cpu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpu.h; sourceTree = "<group>"; }; - 897FF1260E719B8F00D62E90 /* dateparser.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = dateparser.cc; sourceTree = "<group>"; }; - 897FF1270E719B8F00D62E90 /* dateparser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dateparser.h; sourceTree = "<group>"; }; - 897FF1280E719B8F00D62E90 /* debug.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = debug.cc; sourceTree = "<group>"; }; - 897FF1290E719B8F00D62E90 /* debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = debug.h; sourceTree = "<group>"; }; - 897FF12A0E719B8F00D62E90 /* disasm-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "disasm-arm.cc"; path = "arm/disasm-arm.cc"; sourceTree = "<group>"; }; - 897FF12B0E719B8F00D62E90 /* disasm-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "disasm-ia32.cc"; path = "ia32/disasm-ia32.cc"; sourceTree = "<group>"; }; - 897FF12C0E719B8F00D62E90 /* disasm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = disasm.h; sourceTree = "<group>"; }; - 897FF12D0E719B8F00D62E90 /* disassembler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = disassembler.cc; sourceTree = "<group>"; }; - 897FF12E0E719B8F00D62E90 /* disassembler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = disassembler.h; sourceTree = "<group>"; }; - 897FF12F0E719B8F00D62E90 /* dtoa-config.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "dtoa-config.c"; sourceTree = "<group>"; }; - 897FF1300E719B8F00D62E90 /* execution.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = execution.cc; sourceTree = "<group>"; }; - 897FF1310E719B8F00D62E90 /* execution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = execution.h; sourceTree = "<group>"; }; - 897FF1320E719B8F00D62E90 /* factory.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = factory.cc; sourceTree = "<group>"; }; - 897FF1330E719B8F00D62E90 /* factory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = factory.h; sourceTree = "<group>"; }; - 897FF1350E719B8F00D62E90 /* flags.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = flags.cc; sourceTree = "<group>"; }; - 897FF1360E719B8F00D62E90 /* flags.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = flags.h; sourceTree = "<group>"; }; - 897FF1370E719B8F00D62E90 /* frames-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "frames-arm.cc"; path = "arm/frames-arm.cc"; sourceTree = "<group>"; }; - 897FF1380E719B8F00D62E90 /* frames-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "frames-arm.h"; path = "arm/frames-arm.h"; sourceTree = "<group>"; }; - 897FF1390E719B8F00D62E90 /* frames-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "frames-ia32.cc"; path = "ia32/frames-ia32.cc"; sourceTree = "<group>"; }; - 897FF13A0E719B8F00D62E90 /* frames-ia32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "frames-ia32.h"; path = "ia32/frames-ia32.h"; sourceTree = "<group>"; }; - 897FF13B0E719B8F00D62E90 /* frames-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "frames-inl.h"; sourceTree = "<group>"; }; - 897FF13C0E719B8F00D62E90 /* frames.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = frames.cc; sourceTree = "<group>"; }; - 897FF13D0E719B8F00D62E90 /* frames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = frames.h; sourceTree = "<group>"; }; - 897FF13E0E719B8F00D62E90 /* global-handles.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "global-handles.cc"; sourceTree = "<group>"; }; - 897FF13F0E719B8F00D62E90 /* global-handles.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "global-handles.h"; sourceTree = "<group>"; }; - 897FF1400E719B8F00D62E90 /* globals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = globals.h; sourceTree = "<group>"; }; - 897FF1410E719B8F00D62E90 /* handles-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "handles-inl.h"; sourceTree = "<group>"; }; - 897FF1420E719B8F00D62E90 /* handles.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = handles.cc; sourceTree = "<group>"; }; - 897FF1430E719B8F00D62E90 /* handles.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = handles.h; sourceTree = "<group>"; }; - 897FF1440E719B8F00D62E90 /* hashmap.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hashmap.cc; sourceTree = "<group>"; }; - 897FF1450E719B8F00D62E90 /* hashmap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hashmap.h; sourceTree = "<group>"; }; - 897FF1460E719B8F00D62E90 /* heap-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "heap-inl.h"; sourceTree = "<group>"; }; - 897FF1470E719B8F00D62E90 /* heap.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = heap.cc; sourceTree = "<group>"; }; - 897FF1480E719B8F00D62E90 /* heap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = heap.h; sourceTree = "<group>"; }; - 897FF1490E719B8F00D62E90 /* ic-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ic-arm.cc"; path = "arm/ic-arm.cc"; sourceTree = "<group>"; }; - 897FF14A0E719B8F00D62E90 /* ic-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ic-ia32.cc"; path = "ia32/ic-ia32.cc"; sourceTree = "<group>"; }; - 897FF14B0E719B8F00D62E90 /* ic-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ic-inl.h"; sourceTree = "<group>"; }; - 897FF14C0E719B8F00D62E90 /* ic.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ic.cc; sourceTree = "<group>"; }; - 897FF14D0E719B8F00D62E90 /* ic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ic.h; sourceTree = "<group>"; }; - 897FF14E0E719B8F00D62E90 /* jsregexp.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = jsregexp.cc; sourceTree = "<group>"; }; - 897FF14F0E719B8F00D62E90 /* jsregexp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = jsregexp.h; sourceTree = "<group>"; }; - 897FF1500E719B8F00D62E90 /* list-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "list-inl.h"; sourceTree = "<group>"; }; - 897FF1510E719B8F00D62E90 /* list.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = list.h; sourceTree = "<group>"; }; - 897FF1520E719B8F00D62E90 /* log.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log.cc; sourceTree = "<group>"; }; - 897FF1530E719B8F00D62E90 /* log.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = log.h; sourceTree = "<group>"; }; - 897FF1540E719B8F00D62E90 /* macro-assembler-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "macro-assembler-arm.cc"; path = "arm/macro-assembler-arm.cc"; sourceTree = "<group>"; }; - 897FF1550E719B8F00D62E90 /* macro-assembler-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "macro-assembler-arm.h"; path = "arm/macro-assembler-arm.h"; sourceTree = "<group>"; }; - 897FF1560E719B8F00D62E90 /* macro-assembler-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "macro-assembler-ia32.cc"; path = "ia32/macro-assembler-ia32.cc"; sourceTree = "<group>"; }; - 897FF1570E719B8F00D62E90 /* macro-assembler-ia32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "macro-assembler-ia32.h"; path = "ia32/macro-assembler-ia32.h"; sourceTree = "<group>"; }; - 897FF1580E719B8F00D62E90 /* macro-assembler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "macro-assembler.h"; sourceTree = "<group>"; }; - 897FF1590E719B8F00D62E90 /* mark-compact.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "mark-compact.cc"; sourceTree = "<group>"; }; - 897FF15A0E719B8F00D62E90 /* mark-compact.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "mark-compact.h"; sourceTree = "<group>"; }; - 897FF15B0E719B8F00D62E90 /* memory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = memory.h; sourceTree = "<group>"; }; - 897FF15C0E719B8F00D62E90 /* messages.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = messages.cc; sourceTree = "<group>"; }; - 897FF15D0E719B8F00D62E90 /* messages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = messages.h; sourceTree = "<group>"; }; - 897FF15E0E719B8F00D62E90 /* mksnapshot.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = mksnapshot.cc; sourceTree = "<group>"; }; - 897FF15F0E719B8F00D62E90 /* natives.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = natives.h; sourceTree = "<group>"; }; - 897FF1600E719B8F00D62E90 /* objects-debug.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "objects-debug.cc"; sourceTree = "<group>"; }; - 897FF1610E719B8F00D62E90 /* objects-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "objects-inl.h"; sourceTree = "<group>"; }; - 897FF1620E719B8F00D62E90 /* objects.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = objects.cc; sourceTree = "<group>"; }; - 897FF1630E719B8F00D62E90 /* objects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = objects.h; sourceTree = "<group>"; }; - 897FF1640E719B8F00D62E90 /* parser.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = parser.cc; sourceTree = "<group>"; }; - 897FF1650E719B8F00D62E90 /* parser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = parser.h; sourceTree = "<group>"; }; - 897FF1660E719B8F00D62E90 /* platform-linux.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "platform-linux.cc"; sourceTree = "<group>"; }; - 897FF1670E719B8F00D62E90 /* platform-macos.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "platform-macos.cc"; sourceTree = "<group>"; }; - 897FF1680E719B8F00D62E90 /* platform-nullos.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "platform-nullos.cc"; sourceTree = "<group>"; }; - 897FF1690E719B8F00D62E90 /* platform-win32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "platform-win32.cc"; sourceTree = "<group>"; }; - 897FF16A0E719B8F00D62E90 /* platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = platform.h; sourceTree = "<group>"; }; - 897FF16B0E719B8F00D62E90 /* prettyprinter.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = prettyprinter.cc; sourceTree = "<group>"; }; - 897FF16C0E719B8F00D62E90 /* prettyprinter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = prettyprinter.h; sourceTree = "<group>"; }; - 897FF16D0E719B8F00D62E90 /* property.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = property.cc; sourceTree = "<group>"; }; - 897FF16E0E719B8F00D62E90 /* property.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = property.h; sourceTree = "<group>"; }; - 897FF16F0E719B8F00D62E90 /* rewriter.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rewriter.cc; sourceTree = "<group>"; }; - 897FF1700E719B8F00D62E90 /* rewriter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = rewriter.h; sourceTree = "<group>"; }; - 897FF1710E719B8F00D62E90 /* runtime.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = runtime.cc; sourceTree = "<group>"; }; - 897FF1720E719B8F00D62E90 /* runtime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = runtime.h; sourceTree = "<group>"; }; - 897FF1730E719B8F00D62E90 /* scanner.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scanner.cc; sourceTree = "<group>"; }; - 897FF1740E719B8F00D62E90 /* scanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scanner.h; sourceTree = "<group>"; }; - 897FF1750E719B8F00D62E90 /* SConscript */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SConscript; sourceTree = "<group>"; }; - 897FF1760E719B8F00D62E90 /* scopeinfo.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scopeinfo.cc; sourceTree = "<group>"; }; - 897FF1770E719B8F00D62E90 /* scopeinfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scopeinfo.h; sourceTree = "<group>"; }; - 897FF1780E719B8F00D62E90 /* scopes.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scopes.cc; sourceTree = "<group>"; }; - 897FF1790E719B8F00D62E90 /* scopes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scopes.h; sourceTree = "<group>"; }; - 897FF17A0E719B8F00D62E90 /* serialize.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = serialize.cc; sourceTree = "<group>"; }; - 897FF17B0E719B8F00D62E90 /* serialize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = serialize.h; sourceTree = "<group>"; }; - 897FF17C0E719B8F00D62E90 /* shell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = shell.h; sourceTree = "<group>"; }; - 897FF17D0E719B8F00D62E90 /* simulator-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "simulator-arm.cc"; path = "arm/simulator-arm.cc"; sourceTree = "<group>"; }; - 897FF17E0E719B8F00D62E90 /* simulator-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "simulator-arm.h"; path = "arm/simulator-arm.h"; sourceTree = "<group>"; }; - 897FF17F0E719B8F00D62E90 /* simulator-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "simulator-ia32.cc"; path = "ia32/simulator-ia32.cc"; sourceTree = "<group>"; }; - 897FF1800E719B8F00D62E90 /* simulator-ia32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "simulator-ia32.h"; path = "ia32/simulator-ia32.h"; sourceTree = "<group>"; }; - 897FF1810E719B8F00D62E90 /* smart-pointer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "smart-pointer.h"; sourceTree = "<group>"; }; - 897FF1820E719B8F00D62E90 /* snapshot-common.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "snapshot-common.cc"; sourceTree = "<group>"; }; - 897FF1830E719B8F00D62E90 /* snapshot-empty.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "snapshot-empty.cc"; sourceTree = "<group>"; }; - 897FF1840E719B8F00D62E90 /* snapshot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = snapshot.h; sourceTree = "<group>"; }; - 897FF1850E719B8F00D62E90 /* spaces-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "spaces-inl.h"; sourceTree = "<group>"; }; - 897FF1860E719B8F00D62E90 /* spaces.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = spaces.cc; sourceTree = "<group>"; }; - 897FF1870E719B8F00D62E90 /* spaces.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = spaces.h; sourceTree = "<group>"; }; - 897FF1880E719B8F00D62E90 /* string-stream.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "string-stream.cc"; sourceTree = "<group>"; }; - 897FF1890E719B8F00D62E90 /* string-stream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "string-stream.h"; sourceTree = "<group>"; }; - 897FF18A0E719B8F00D62E90 /* stub-cache-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "stub-cache-arm.cc"; path = "arm/stub-cache-arm.cc"; sourceTree = "<group>"; }; - 897FF18B0E719B8F00D62E90 /* stub-cache-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "stub-cache-ia32.cc"; path = "ia32/stub-cache-ia32.cc"; sourceTree = "<group>"; }; - 897FF18C0E719B8F00D62E90 /* stub-cache.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "stub-cache.cc"; sourceTree = "<group>"; }; - 897FF18D0E719B8F00D62E90 /* stub-cache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "stub-cache.h"; sourceTree = "<group>"; }; - 897FF18E0E719B8F00D62E90 /* token.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = token.cc; sourceTree = "<group>"; }; - 897FF18F0E719B8F00D62E90 /* token.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = token.h; sourceTree = "<group>"; }; - 897FF1900E719B8F00D62E90 /* top.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = top.cc; sourceTree = "<group>"; }; - 897FF1910E719B8F00D62E90 /* top.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = top.h; sourceTree = "<group>"; }; - 897FF1920E719B8F00D62E90 /* unicode-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "unicode-inl.h"; sourceTree = "<group>"; }; - 897FF1930E719B8F00D62E90 /* unicode.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = unicode.cc; sourceTree = "<group>"; }; - 897FF1940E719B8F00D62E90 /* unicode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unicode.h; sourceTree = "<group>"; }; - 897FF1950E719B8F00D62E90 /* usage-analyzer.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "usage-analyzer.cc"; sourceTree = "<group>"; }; - 897FF1960E719B8F00D62E90 /* usage-analyzer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "usage-analyzer.h"; sourceTree = "<group>"; }; - 897FF1970E719B8F00D62E90 /* utils.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = utils.cc; sourceTree = "<group>"; }; - 897FF1980E719B8F00D62E90 /* utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = utils.h; sourceTree = "<group>"; }; - 897FF1990E719B8F00D62E90 /* v8-counters.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "v8-counters.cc"; sourceTree = "<group>"; }; - 897FF19A0E719B8F00D62E90 /* v8-counters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "v8-counters.h"; sourceTree = "<group>"; }; - 897FF19B0E719B8F00D62E90 /* v8.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = v8.cc; sourceTree = "<group>"; }; - 897FF19C0E719B8F00D62E90 /* v8.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = v8.h; sourceTree = "<group>"; }; - 897FF19D0E719B8F00D62E90 /* v8threads.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = v8threads.cc; sourceTree = "<group>"; }; - 897FF19E0E719B8F00D62E90 /* v8threads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = v8threads.h; sourceTree = "<group>"; }; - 897FF19F0E719B8F00D62E90 /* variables.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = variables.cc; sourceTree = "<group>"; }; - 897FF1A00E719B8F00D62E90 /* variables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = variables.h; sourceTree = "<group>"; }; - 897FF1A10E719B8F00D62E90 /* zone-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "zone-inl.h"; sourceTree = "<group>"; }; - 897FF1A20E719B8F00D62E90 /* zone.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zone.cc; sourceTree = "<group>"; }; - 897FF1A30E719B8F00D62E90 /* zone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zone.h; sourceTree = "<group>"; }; - 897FF1A60E719BC100D62E90 /* apinatives.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = apinatives.js; sourceTree = "<group>"; }; - 897FF1A70E719BC100D62E90 /* array.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = array.js; sourceTree = "<group>"; }; - 897FF1A80E719BC100D62E90 /* date-delay.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "date-delay.js"; sourceTree = "<group>"; }; - 897FF1A90E719BC100D62E90 /* debug-delay.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "debug-delay.js"; sourceTree = "<group>"; }; - 897FF1AA0E719BC100D62E90 /* math.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = math.js; sourceTree = "<group>"; }; - 897FF1AB0E719BC100D62E90 /* messages.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = messages.js; sourceTree = "<group>"; }; - 897FF1AC0E719BC100D62E90 /* mirror-delay.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "mirror-delay.js"; sourceTree = "<group>"; }; - 897FF1AD0E719BC100D62E90 /* regexp-delay.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "regexp-delay.js"; sourceTree = "<group>"; }; - 897FF1AE0E719BC100D62E90 /* runtime.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = runtime.js; sourceTree = "<group>"; }; - 897FF1AF0E719BC100D62E90 /* string.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = string.js; sourceTree = "<group>"; }; - 897FF1B00E719BC100D62E90 /* uri.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = uri.js; sourceTree = "<group>"; }; - 897FF1B10E719BC100D62E90 /* v8natives.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = v8natives.js; sourceTree = "<group>"; }; - 897FF1B50E719C0900D62E90 /* shell.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = shell.cc; sourceTree = "<group>"; }; - 897FF1B60E719C2300D62E90 /* js2c.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = js2c.py; sourceTree = "<group>"; }; - 897FF1B70E719C2E00D62E90 /* macros.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; name = macros.py; path = ../src/macros.py; sourceTree = "<group>"; }; - 897FF32F0FAA0ED200136CF6 /* version.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = version.cc; sourceTree = "<group>"; }; - 897FF3300FAA0ED200136CF6 /* version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = version.h; sourceTree = "<group>"; }; - 8981F5FE1010500F00D1520E /* frame-element.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "frame-element.cc"; sourceTree = "<group>"; }; - 8981F5FF1010500F00D1520E /* frame-element.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "frame-element.h"; sourceTree = "<group>"; }; - 898BD20C0EF6CC850068B00A /* debug-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "debug-arm.cc"; path = "arm/debug-arm.cc"; sourceTree = "<group>"; }; - 898BD20D0EF6CC850068B00A /* debug-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "debug-ia32.cc"; path = "ia32/debug-ia32.cc"; sourceTree = "<group>"; }; - 89A15C630EE4661A00B48DEB /* bytecodes-irregexp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "bytecodes-irregexp.h"; sourceTree = "<group>"; }; - 89A15C660EE4665300B48DEB /* interpreter-irregexp.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "interpreter-irregexp.cc"; sourceTree = "<group>"; }; - 89A15C670EE4665300B48DEB /* interpreter-irregexp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "interpreter-irregexp.h"; sourceTree = "<group>"; }; - 89A15C6D0EE466A900B48DEB /* platform-freebsd.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "platform-freebsd.cc"; sourceTree = "<group>"; }; - 89A15C700EE466D000B48DEB /* regexp-macro-assembler-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "regexp-macro-assembler-arm.cc"; path = "arm/regexp-macro-assembler-arm.cc"; sourceTree = "<group>"; }; - 89A15C710EE466D000B48DEB /* regexp-macro-assembler-arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "regexp-macro-assembler-arm.h"; path = "arm/regexp-macro-assembler-arm.h"; sourceTree = "<group>"; }; - 89A15C720EE466D000B48DEB /* regexp-macro-assembler-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "regexp-macro-assembler-ia32.cc"; path = "ia32/regexp-macro-assembler-ia32.cc"; sourceTree = "<group>"; }; - 89A15C730EE466D000B48DEB /* regexp-macro-assembler-ia32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "regexp-macro-assembler-ia32.h"; path = "ia32/regexp-macro-assembler-ia32.h"; sourceTree = "<group>"; }; - 89A15C740EE466D000B48DEB /* regexp-macro-assembler-irregexp-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "regexp-macro-assembler-irregexp-inl.h"; sourceTree = "<group>"; }; - 89A15C750EE466D000B48DEB /* regexp-macro-assembler-irregexp.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "regexp-macro-assembler-irregexp.cc"; sourceTree = "<group>"; }; - 89A15C760EE466D000B48DEB /* regexp-macro-assembler-irregexp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "regexp-macro-assembler-irregexp.h"; sourceTree = "<group>"; }; - 89A15C770EE466D000B48DEB /* regexp-macro-assembler-tracer.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "regexp-macro-assembler-tracer.cc"; sourceTree = "<group>"; }; - 89A15C780EE466D000B48DEB /* regexp-macro-assembler-tracer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "regexp-macro-assembler-tracer.h"; sourceTree = "<group>"; }; - 89A15C790EE466D000B48DEB /* regexp-macro-assembler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "regexp-macro-assembler.cc"; sourceTree = "<group>"; }; - 89A15C7A0EE466D000B48DEB /* regexp-macro-assembler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "regexp-macro-assembler.h"; sourceTree = "<group>"; }; - 89A15C910EE46A1700B48DEB /* d8-readline.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "d8-readline.cc"; path = "../src/d8-readline.cc"; sourceTree = "<group>"; }; - 89A15C920EE46A1700B48DEB /* d8.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = d8.cc; path = ../src/d8.cc; sourceTree = "<group>"; }; - 89A15C930EE46A1700B48DEB /* d8.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = d8.h; path = ../src/d8.h; sourceTree = "<group>"; }; - 89A15C940EE46A1700B48DEB /* d8.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = d8.js; path = ../src/d8.js; sourceTree = "<group>"; }; - 89B12E8D0E7FF2A40080BA62 /* presubmit.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = presubmit.py; sourceTree = "<group>"; }; - 89F23C870E78D5B2006B2466 /* libv8-arm.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libv8-arm.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 89F23C950E78D5B6006B2466 /* v8_shell-arm */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "v8_shell-arm"; sourceTree = BUILT_PRODUCTS_DIR; }; - 89FB0E360F8E531900B04B3C /* d8-posix.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "d8-posix.cc"; path = "../src/d8-posix.cc"; sourceTree = "<group>"; }; - 89FB0E370F8E531900B04B3C /* d8-windows.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "d8-windows.cc"; path = "../src/d8-windows.cc"; sourceTree = "<group>"; }; - 9F11D99E105AF0A300EBE5B2 /* heap-profiler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "heap-profiler.cc"; sourceTree = "<group>"; }; - 9F11D99F105AF0A300EBE5B2 /* heap-profiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "heap-profiler.h"; sourceTree = "<group>"; }; - 9F4B7B870FCC877A00DC4117 /* log-utils.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "log-utils.cc"; sourceTree = "<group>"; }; - 9F4B7B880FCC877A00DC4117 /* log-utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "log-utils.h"; sourceTree = "<group>"; }; - 9F92FAA70F8F28AD0089F02C /* func-name-inferrer.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "func-name-inferrer.cc"; sourceTree = "<group>"; }; - 9F92FAA80F8F28AD0089F02C /* func-name-inferrer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "func-name-inferrer.h"; sourceTree = "<group>"; }; - 9FC86ABB0F5FEDAC00F22668 /* oprofile-agent.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "oprofile-agent.cc"; sourceTree = "<group>"; }; - 9FC86ABC0F5FEDAC00F22668 /* oprofile-agent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "oprofile-agent.h"; sourceTree = "<group>"; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 893988050F2A35FA007D5254 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 893988070F2A35FA007D5254 /* libv8.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8970F2EE0E719FB2006AE7B5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 897F76780E71B4CC007ACF34 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 897F76850E71B6B1007ACF34 /* libv8.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 89F23C830E78D5B2006B2466 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 89F23C8F0E78D5B6006B2466 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 896FD03A0E78D717003DFB6A /* libv8-arm.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 8915B8660E719336009C4E19 = { - isa = PBXGroup; - children = ( - 897FF0CF0E71996900D62E90 /* v8 */, - 897FF1C00E719CB600D62E90 /* Products */, - ); - sourceTree = "<group>"; - }; - 897FF0CF0E71996900D62E90 /* v8 */ = { - isa = PBXGroup; - children = ( - 897FF0D10E71999E00D62E90 /* include */, - 897FF0D00E71999800D62E90 /* src */, - 897FF1B30E719BCE00D62E90 /* samples */, - 897FF1B40E719BE800D62E90 /* tools */, - ); - name = v8; - path = ..; - sourceTree = "<group>"; - }; - 897FF0D00E71999800D62E90 /* src */ = { - isa = PBXGroup; - children = ( - 897FF0D70E719AB300D62E90 /* C++ */, - 897FF0D80E719ABA00D62E90 /* js */, - 897FF0DE0E719B3400D62E90 /* third_party */, - 89A9C1630E71C8E300BE6CCA /* generated */, - ); - path = src; - sourceTree = "<group>"; - }; - 897FF0D10E71999E00D62E90 /* include */ = { - isa = PBXGroup; - children = ( - 897FF0D40E719A8500D62E90 /* v8-debug.h */, - 897FF0D50E719A8500D62E90 /* v8.h */, - ); - path = include; - sourceTree = "<group>"; - }; - 897FF0D70E719AB300D62E90 /* C++ */ = { - isa = PBXGroup; - children = ( - 897FF0F60E719B8F00D62E90 /* accessors.cc */, - 897FF0F70E719B8F00D62E90 /* accessors.h */, - 897FF0F80E719B8F00D62E90 /* allocation.cc */, - 897FF0F90E719B8F00D62E90 /* allocation.h */, - 897FF0FA0E719B8F00D62E90 /* api.cc */, - 897FF0FB0E719B8F00D62E90 /* api.h */, - 893986D40F29020C007D5254 /* apiutils.h */, - 897FF0FC0E719B8F00D62E90 /* arguments.h */, - 897FF0FD0E719B8F00D62E90 /* assembler-arm-inl.h */, - 897FF0FE0E719B8F00D62E90 /* assembler-arm.cc */, - 897FF0FF0E719B8F00D62E90 /* assembler-arm.h */, - 897FF1000E719B8F00D62E90 /* assembler-ia32-inl.h */, - 897FF1010E719B8F00D62E90 /* assembler-ia32.cc */, - 897FF1020E719B8F00D62E90 /* assembler-ia32.h */, - 897FF1030E719B8F00D62E90 /* assembler.cc */, - 897FF1040E719B8F00D62E90 /* assembler.h */, - 897FF1050E719B8F00D62E90 /* ast.cc */, - 897FF1060E719B8F00D62E90 /* ast.h */, - 897FF1070E719B8F00D62E90 /* bootstrapper.cc */, - 897FF1080E719B8F00D62E90 /* bootstrapper.h */, - 897FF1090E719B8F00D62E90 /* builtins-arm.cc */, - 897FF10A0E719B8F00D62E90 /* builtins-ia32.cc */, - 897FF10B0E719B8F00D62E90 /* builtins.cc */, - 897FF10C0E719B8F00D62E90 /* builtins.h */, - 89A15C630EE4661A00B48DEB /* bytecodes-irregexp.h */, - 897FF10D0E719B8F00D62E90 /* char-predicates-inl.h */, - 897FF10E0E719B8F00D62E90 /* char-predicates.h */, - 897FF10F0E719B8F00D62E90 /* checks.cc */, - 897FF1100E719B8F00D62E90 /* checks.h */, - 897FF1110E719B8F00D62E90 /* code-stubs.cc */, - 897FF1120E719B8F00D62E90 /* code-stubs.h */, - 897FF1130E719B8F00D62E90 /* code.h */, - 897FF1140E719B8F00D62E90 /* codegen-arm.cc */, - 896448BC0E9D530500E7C516 /* codegen-arm.h */, - 897FF1150E719B8F00D62E90 /* codegen-ia32.cc */, - 8964482B0E9C00F700E7C516 /* codegen-ia32.h */, - 897FF1160E719B8F00D62E90 /* codegen-inl.h */, - 897FF1170E719B8F00D62E90 /* codegen.cc */, - 897FF1180E719B8F00D62E90 /* codegen.h */, - 89495E460E79FC23001F68C3 /* compilation-cache.cc */, - 89495E470E79FC23001F68C3 /* compilation-cache.h */, - 897FF1190E719B8F00D62E90 /* compiler.cc */, - 897FF11A0E719B8F00D62E90 /* compiler.h */, - 897FF11B0E719B8F00D62E90 /* constants-arm.h */, - 897FF11C0E719B8F00D62E90 /* contexts.cc */, - 897FF11D0E719B8F00D62E90 /* contexts.h */, - 897FF11E0E719B8F00D62E90 /* conversions-inl.h */, - 897FF11F0E719B8F00D62E90 /* conversions.cc */, - 897FF1200E719B8F00D62E90 /* conversions.h */, - 897FF1210E719B8F00D62E90 /* counters.cc */, - 897FF1220E719B8F00D62E90 /* counters.h */, - 897FF1230E719B8F00D62E90 /* cpu-arm.cc */, - 897FF1240E719B8F00D62E90 /* cpu-ia32.cc */, - 897FF1250E719B8F00D62E90 /* cpu.h */, - 893A722A0F7B4A3200303DD2 /* dateparser-inl.h */, - 897FF1260E719B8F00D62E90 /* dateparser.cc */, - 897FF1270E719B8F00D62E90 /* dateparser.h */, - 898BD20C0EF6CC850068B00A /* debug-arm.cc */, - 898BD20D0EF6CC850068B00A /* debug-ia32.cc */, - 897FF1280E719B8F00D62E90 /* debug.cc */, - 897FF1290E719B8F00D62E90 /* debug.h */, - 8956B6CD0F5D86570033B5A2 /* debug-agent.cc */, - 8956B6CE0F5D86570033B5A2 /* debug-agent.h */, - 897FF12A0E719B8F00D62E90 /* disasm-arm.cc */, - 897FF12B0E719B8F00D62E90 /* disasm-ia32.cc */, - 897FF12C0E719B8F00D62E90 /* disasm.h */, - 897FF12D0E719B8F00D62E90 /* disassembler.cc */, - 897FF12E0E719B8F00D62E90 /* disassembler.h */, - 897FF12F0E719B8F00D62E90 /* dtoa-config.c */, - 897FF1300E719B8F00D62E90 /* execution.cc */, - 897FF1310E719B8F00D62E90 /* execution.h */, - 897FF1320E719B8F00D62E90 /* factory.cc */, - 897FF1330E719B8F00D62E90 /* factory.h */, - 89471C7F0EB23EE400B6874B /* flag-definitions.h */, - 897FF1350E719B8F00D62E90 /* flags.cc */, - 897FF1360E719B8F00D62E90 /* flags.h */, - 8981F5FE1010500F00D1520E /* frame-element.cc */, - 8981F5FF1010500F00D1520E /* frame-element.h */, - 897FF1370E719B8F00D62E90 /* frames-arm.cc */, - 897FF1380E719B8F00D62E90 /* frames-arm.h */, - 897FF1390E719B8F00D62E90 /* frames-ia32.cc */, - 897FF13A0E719B8F00D62E90 /* frames-ia32.h */, - 897FF13B0E719B8F00D62E90 /* frames-inl.h */, - 897FF13C0E719B8F00D62E90 /* frames.cc */, - 897FF13D0E719B8F00D62E90 /* frames.h */, - 9F92FAA70F8F28AD0089F02C /* func-name-inferrer.cc */, - 9F92FAA80F8F28AD0089F02C /* func-name-inferrer.h */, - 897FF13E0E719B8F00D62E90 /* global-handles.cc */, - 897FF13F0E719B8F00D62E90 /* global-handles.h */, - 897FF1400E719B8F00D62E90 /* globals.h */, - 897FF1410E719B8F00D62E90 /* handles-inl.h */, - 897FF1420E719B8F00D62E90 /* handles.cc */, - 897FF1430E719B8F00D62E90 /* handles.h */, - 897FF1440E719B8F00D62E90 /* hashmap.cc */, - 897FF1450E719B8F00D62E90 /* hashmap.h */, - 897FF1460E719B8F00D62E90 /* heap-inl.h */, - 897FF1470E719B8F00D62E90 /* heap.cc */, - 897FF1480E719B8F00D62E90 /* heap.h */, - 9F11D99E105AF0A300EBE5B2 /* heap-profiler.cc */, - 9F11D99F105AF0A300EBE5B2 /* heap-profiler.h */, - 897FF1490E719B8F00D62E90 /* ic-arm.cc */, - 897FF14A0E719B8F00D62E90 /* ic-ia32.cc */, - 897FF14B0E719B8F00D62E90 /* ic-inl.h */, - 897FF14C0E719B8F00D62E90 /* ic.cc */, - 897FF14D0E719B8F00D62E90 /* ic.h */, - 89A15C660EE4665300B48DEB /* interpreter-irregexp.cc */, - 89A15C670EE4665300B48DEB /* interpreter-irregexp.h */, - 897FF14E0E719B8F00D62E90 /* jsregexp.cc */, - 897FF14F0E719B8F00D62E90 /* jsregexp.h */, - 58950D4E0F55514900F3E8BA /* jump-target-arm.cc */, - 58950D4F0F55514900F3E8BA /* jump-target-ia32.cc */, - 58950D500F55514900F3E8BA /* jump-target.cc */, - 58950D510F55514900F3E8BA /* jump-target.h */, - 897FF1500E719B8F00D62E90 /* list-inl.h */, - 897FF1510E719B8F00D62E90 /* list.h */, - 897FF1520E719B8F00D62E90 /* log.cc */, - 897FF1530E719B8F00D62E90 /* log.h */, - 22A76C900FF259E600FDC694 /* log-inl.h */, - 9F4B7B870FCC877A00DC4117 /* log-utils.cc */, - 9F4B7B880FCC877A00DC4117 /* log-utils.h */, - 897FF1540E719B8F00D62E90 /* macro-assembler-arm.cc */, - 897FF1550E719B8F00D62E90 /* macro-assembler-arm.h */, - 897FF1560E719B8F00D62E90 /* macro-assembler-ia32.cc */, - 897FF1570E719B8F00D62E90 /* macro-assembler-ia32.h */, - 897FF1580E719B8F00D62E90 /* macro-assembler.h */, - 897FF1590E719B8F00D62E90 /* mark-compact.cc */, - 897FF15A0E719B8F00D62E90 /* mark-compact.h */, - 897FF15B0E719B8F00D62E90 /* memory.h */, - 897FF15C0E719B8F00D62E90 /* messages.cc */, - 897FF15D0E719B8F00D62E90 /* messages.h */, - 897FF15E0E719B8F00D62E90 /* mksnapshot.cc */, - 897FF15F0E719B8F00D62E90 /* natives.h */, - 897FF1600E719B8F00D62E90 /* objects-debug.cc */, - 897FF1610E719B8F00D62E90 /* objects-inl.h */, - 897FF1620E719B8F00D62E90 /* objects.cc */, - 897FF1630E719B8F00D62E90 /* objects.h */, - 9FC86ABB0F5FEDAC00F22668 /* oprofile-agent.cc */, - 9FC86ABC0F5FEDAC00F22668 /* oprofile-agent.h */, - 897FF1640E719B8F00D62E90 /* parser.cc */, - 897FF1650E719B8F00D62E90 /* parser.h */, - 89A15C6D0EE466A900B48DEB /* platform-freebsd.cc */, - 897FF1660E719B8F00D62E90 /* platform-linux.cc */, - 897FF1670E719B8F00D62E90 /* platform-macos.cc */, - 897FF1680E719B8F00D62E90 /* platform-nullos.cc */, - 893A72230F7B0FF200303DD2 /* platform-posix.cc */, - 897FF1690E719B8F00D62E90 /* platform-win32.cc */, - 897FF16A0E719B8F00D62E90 /* platform.h */, - 897FF16B0E719B8F00D62E90 /* prettyprinter.cc */, - 897FF16C0E719B8F00D62E90 /* prettyprinter.h */, - 897FF16D0E719B8F00D62E90 /* property.cc */, - 897FF16E0E719B8F00D62E90 /* property.h */, - 89A15C700EE466D000B48DEB /* regexp-macro-assembler-arm.cc */, - 89A15C710EE466D000B48DEB /* regexp-macro-assembler-arm.h */, - 89A15C720EE466D000B48DEB /* regexp-macro-assembler-ia32.cc */, - 89A15C730EE466D000B48DEB /* regexp-macro-assembler-ia32.h */, - 89A15C740EE466D000B48DEB /* regexp-macro-assembler-irregexp-inl.h */, - 89A15C750EE466D000B48DEB /* regexp-macro-assembler-irregexp.cc */, - 89A15C760EE466D000B48DEB /* regexp-macro-assembler-irregexp.h */, - 89A15C770EE466D000B48DEB /* regexp-macro-assembler-tracer.cc */, - 89A15C780EE466D000B48DEB /* regexp-macro-assembler-tracer.h */, - 89A15C790EE466D000B48DEB /* regexp-macro-assembler.cc */, - 89A15C7A0EE466D000B48DEB /* regexp-macro-assembler.h */, - 8944AD0E0F1D4D3A0028D560 /* regexp-stack.cc */, - 8944AD0F0F1D4D3A0028D560 /* regexp-stack.h */, - 58950D520F55514900F3E8BA /* register-allocator-arm.cc */, - 58950D530F55514900F3E8BA /* register-allocator-ia32.cc */, - 893A722D0F7B4A7100303DD2 /* register-allocator-inl.h */, - 58950D540F55514900F3E8BA /* register-allocator.cc */, - 58950D550F55514900F3E8BA /* register-allocator.h */, - 897FF16F0E719B8F00D62E90 /* rewriter.cc */, - 897FF1700E719B8F00D62E90 /* rewriter.h */, - 897FF1710E719B8F00D62E90 /* runtime.cc */, - 897FF1720E719B8F00D62E90 /* runtime.h */, - 897FF1730E719B8F00D62E90 /* scanner.cc */, - 897FF1740E719B8F00D62E90 /* scanner.h */, - 897FF1750E719B8F00D62E90 /* SConscript */, - 897FF1760E719B8F00D62E90 /* scopeinfo.cc */, - 897FF1770E719B8F00D62E90 /* scopeinfo.h */, - 897FF1780E719B8F00D62E90 /* scopes.cc */, - 897FF1790E719B8F00D62E90 /* scopes.h */, - 897FF17A0E719B8F00D62E90 /* serialize.cc */, - 897FF17B0E719B8F00D62E90 /* serialize.h */, - 897FF17C0E719B8F00D62E90 /* shell.h */, - 897FF17D0E719B8F00D62E90 /* simulator-arm.cc */, - 897FF17E0E719B8F00D62E90 /* simulator-arm.h */, - 897FF17F0E719B8F00D62E90 /* simulator-ia32.cc */, - 897FF1800E719B8F00D62E90 /* simulator-ia32.h */, - 897FF1810E719B8F00D62E90 /* smart-pointer.h */, - 897FF1820E719B8F00D62E90 /* snapshot-common.cc */, - 897FF1830E719B8F00D62E90 /* snapshot-empty.cc */, - 897FF1840E719B8F00D62E90 /* snapshot.h */, - 897FF1850E719B8F00D62E90 /* spaces-inl.h */, - 897FF1860E719B8F00D62E90 /* spaces.cc */, - 897FF1870E719B8F00D62E90 /* spaces.h */, - 897FF1880E719B8F00D62E90 /* string-stream.cc */, - 897FF1890E719B8F00D62E90 /* string-stream.h */, - 897FF18A0E719B8F00D62E90 /* stub-cache-arm.cc */, - 897FF18B0E719B8F00D62E90 /* stub-cache-ia32.cc */, - 897FF18C0E719B8F00D62E90 /* stub-cache.cc */, - 897FF18D0E719B8F00D62E90 /* stub-cache.h */, - 897FF18E0E719B8F00D62E90 /* token.cc */, - 897FF18F0E719B8F00D62E90 /* token.h */, - 897FF1900E719B8F00D62E90 /* top.cc */, - 897FF1910E719B8F00D62E90 /* top.h */, - 897FF1920E719B8F00D62E90 /* unicode-inl.h */, - 897FF1930E719B8F00D62E90 /* unicode.cc */, - 897FF1940E719B8F00D62E90 /* unicode.h */, - 897FF1950E719B8F00D62E90 /* usage-analyzer.cc */, - 897FF1960E719B8F00D62E90 /* usage-analyzer.h */, - 897FF1970E719B8F00D62E90 /* utils.cc */, - 897FF1980E719B8F00D62E90 /* utils.h */, - 897FF1990E719B8F00D62E90 /* v8-counters.cc */, - 897FF19A0E719B8F00D62E90 /* v8-counters.h */, - 897FF19B0E719B8F00D62E90 /* v8.cc */, - 897FF19C0E719B8F00D62E90 /* v8.h */, - 897FF19D0E719B8F00D62E90 /* v8threads.cc */, - 897FF19E0E719B8F00D62E90 /* v8threads.h */, - 897FF19F0E719B8F00D62E90 /* variables.cc */, - 897FF1A00E719B8F00D62E90 /* variables.h */, - 897FF32F0FAA0ED200136CF6 /* version.cc */, - 897FF3300FAA0ED200136CF6 /* version.h */, - 58950D560F55514900F3E8BA /* virtual-frame-arm.cc */, - 58950D570F55514900F3E8BA /* virtual-frame-arm.h */, - 58950D580F55514900F3E8BA /* virtual-frame-ia32.cc */, - 58950D590F55514900F3E8BA /* virtual-frame-ia32.h */, - 58950D5A0F55514900F3E8BA /* virtual-frame.cc */, - 58950D5B0F55514900F3E8BA /* virtual-frame.h */, - 897FF1A10E719B8F00D62E90 /* zone-inl.h */, - 897FF1A20E719B8F00D62E90 /* zone.cc */, - 897FF1A30E719B8F00D62E90 /* zone.h */, - ); - name = "C++"; - sourceTree = "<group>"; - }; - 897FF0D80E719ABA00D62E90 /* js */ = { - isa = PBXGroup; - children = ( - 897FF1A60E719BC100D62E90 /* apinatives.js */, - 897FF1A70E719BC100D62E90 /* array.js */, - 897FF1A80E719BC100D62E90 /* date-delay.js */, - 897FF1A90E719BC100D62E90 /* debug-delay.js */, - 58242A1E0FA1F14D00BD6F59 /* json-delay.js */, - 897FF1AA0E719BC100D62E90 /* math.js */, - 897FF1AB0E719BC100D62E90 /* messages.js */, - 897FF1AC0E719BC100D62E90 /* mirror-delay.js */, - 897FF1AD0E719BC100D62E90 /* regexp-delay.js */, - 897FF1AE0E719BC100D62E90 /* runtime.js */, - 897FF1AF0E719BC100D62E90 /* string.js */, - 897FF1B00E719BC100D62E90 /* uri.js */, - 897FF1B10E719BC100D62E90 /* v8natives.js */, - ); - name = js; - sourceTree = "<group>"; - }; - 897FF0DE0E719B3400D62E90 /* third_party */ = { - isa = PBXGroup; - children = ( - 897FF0DF0E719B3400D62E90 /* dtoa */, - ); - path = third_party; - sourceTree = "<group>"; - }; - 897FF0DF0E719B3400D62E90 /* dtoa */ = { - isa = PBXGroup; - children = ( - 897FF0E00E719B3500D62E90 /* COPYING */, - 897FF0E10E719B3500D62E90 /* dtoa.c */, - ); - path = dtoa; - sourceTree = "<group>"; - }; - 897FF1B30E719BCE00D62E90 /* samples */ = { - isa = PBXGroup; - children = ( - 89A15C910EE46A1700B48DEB /* d8-readline.cc */, - 893988150F2A3686007D5254 /* d8-debug.cc */, - 893A72320F7B4AD700303DD2 /* d8-debug.h */, - 89FB0E360F8E531900B04B3C /* d8-posix.cc */, - 89FB0E370F8E531900B04B3C /* d8-windows.cc */, - 89A15C920EE46A1700B48DEB /* d8.cc */, - 89A15C930EE46A1700B48DEB /* d8.h */, - 89A15C940EE46A1700B48DEB /* d8.js */, - 897FF1B50E719C0900D62E90 /* shell.cc */, - ); - path = samples; - sourceTree = "<group>"; - }; - 897FF1B40E719BE800D62E90 /* tools */ = { - isa = PBXGroup; - children = ( - 897FF1B60E719C2300D62E90 /* js2c.py */, - 897FF1B70E719C2E00D62E90 /* macros.py */, - 89B12E8D0E7FF2A40080BA62 /* presubmit.py */, - ); - path = tools; - sourceTree = "<group>"; - }; - 897FF1C00E719CB600D62E90 /* Products */ = { - isa = PBXGroup; - children = ( - 8970F2F00E719FB2006AE7B5 /* libv8.a */, - 897F767A0E71B4CC007ACF34 /* v8_shell */, - 89F23C870E78D5B2006B2466 /* libv8-arm.a */, - 89F23C950E78D5B6006B2466 /* v8_shell-arm */, - 8939880B0F2A35FA007D5254 /* v8_shell */, - ); - name = Products; - sourceTree = "<group>"; - }; - 89A9C1630E71C8E300BE6CCA /* generated */ = { - isa = PBXGroup; - children = ( - 893988320F2A3B8B007D5254 /* d8-js.cc */, - 8900116B0E71CA2300F91F35 /* libraries.cc */, - ); - path = generated; - sourceTree = CONFIGURATION_TEMP_DIR; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 893987FE0F2A35FA007D5254 /* d8_shell */ = { - isa = PBXNativeTarget; - buildConfigurationList = 893988080F2A35FA007D5254 /* Build configuration list for PBXNativeTarget "d8_shell" */; - buildPhases = ( - 893988220F2A376C007D5254 /* ShellScript */, - 893988030F2A35FA007D5254 /* Sources */, - 893988050F2A35FA007D5254 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 893988010F2A35FA007D5254 /* PBXTargetDependency */, - ); - name = d8_shell; - productName = v8_shell; - productReference = 8939880B0F2A35FA007D5254 /* v8_shell */; - productType = "com.apple.product-type.tool"; - }; - 8970F2EF0E719FB2006AE7B5 /* v8 */ = { - isa = PBXNativeTarget; - buildConfigurationList = 8970F2F70E719FC1006AE7B5 /* Build configuration list for PBXNativeTarget "v8" */; - buildPhases = ( - 89EA6FB50E71AA1F00F59E1B /* ShellScript */, - 8970F2ED0E719FB2006AE7B5 /* Sources */, - 8970F2EE0E719FB2006AE7B5 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = v8; - productName = v8; - productReference = 8970F2F00E719FB2006AE7B5 /* libv8.a */; - productType = "com.apple.product-type.library.static"; - }; - 897F76790E71B4CC007ACF34 /* v8_shell */ = { - isa = PBXNativeTarget; - buildConfigurationList = 897F767E0E71B4EA007ACF34 /* Build configuration list for PBXNativeTarget "v8_shell" */; - buildPhases = ( - 897F76770E71B4CC007ACF34 /* Sources */, - 897F76780E71B4CC007ACF34 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 897F76830E71B6AC007ACF34 /* PBXTargetDependency */, - ); - name = v8_shell; - productName = v8_shell; - productReference = 897F767A0E71B4CC007ACF34 /* v8_shell */; - productType = "com.apple.product-type.tool"; - }; - 89F23C3C0E78D5B2006B2466 /* v8-arm */ = { - isa = PBXNativeTarget; - buildConfigurationList = 89F23C840E78D5B2006B2466 /* Build configuration list for PBXNativeTarget "v8-arm" */; - buildPhases = ( - 89F23C3D0E78D5B2006B2466 /* ShellScript */, - 89F23C3E0E78D5B2006B2466 /* Sources */, - 89F23C830E78D5B2006B2466 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "v8-arm"; - productName = "v8-arm"; - productReference = 89F23C870E78D5B2006B2466 /* libv8-arm.a */; - productType = "com.apple.product-type.library.static"; - }; - 89F23C880E78D5B6006B2466 /* v8_shell-arm */ = { - isa = PBXNativeTarget; - buildConfigurationList = 89F23C920E78D5B6006B2466 /* Build configuration list for PBXNativeTarget "v8_shell-arm" */; - buildPhases = ( - 89F23C8D0E78D5B6006B2466 /* Sources */, - 89F23C8F0E78D5B6006B2466 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 896FD03C0E78D71F003DFB6A /* PBXTargetDependency */, - ); - name = "v8_shell-arm"; - productName = "v8_shell-arm"; - productReference = 89F23C950E78D5B6006B2466 /* v8_shell-arm */; - productType = "com.apple.product-type.tool"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 8915B8680E719336009C4E19 /* Project object */ = { - isa = PBXProject; - buildConfigurationList = 8915B86B0E719336009C4E19 /* Build configuration list for PBXProject "v8" */; - compatibilityVersion = "Xcode 3.1"; - hasScannedForEncodings = 0; - mainGroup = 8915B8660E719336009C4E19; - productRefGroup = 897FF1C00E719CB600D62E90 /* Products */; - projectDirPath = ""; - projectRoot = ..; - targets = ( - 7BF891930E73098D000BAF8A /* All */, - 8970F2EF0E719FB2006AE7B5 /* v8 */, - 897F76790E71B4CC007ACF34 /* v8_shell */, - 893987FE0F2A35FA007D5254 /* d8_shell */, - 89F23C3C0E78D5B2006B2466 /* v8-arm */, - 89F23C880E78D5B6006B2466 /* v8_shell-arm */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXShellScriptBuildPhase section */ - 893988220F2A376C007D5254 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "set -ex\nJS_FILES=\"d8.js\"\\\n\" macros.py\"\n\nV8ROOT=\"${SRCROOT}/..\"\n\nSRC_DIR=\"${V8ROOT}/src\"\n\nNATIVE_JS_FILES=\"\"\n\nfor i in ${JS_FILES} ; do\n NATIVE_JS_FILES+=\"${SRC_DIR}/${i} \"\ndone\n\nV8_GENERATED_SOURCES_DIR=\"${CONFIGURATION_TEMP_DIR}/generated\"\nmkdir -p \"${V8_GENERATED_SOURCES_DIR}\"\n\nD8_CC=\"${V8_GENERATED_SOURCES_DIR}/d8-js.cc\"\nD8_EMPTY_CC=\"${V8_GENERATED_SOURCES_DIR}/d8-js-empty.cc\"\n\npython \"${V8ROOT}/tools/js2c.py\" \\\n \"${D8_CC}.new\" \\\n \"${D8_EMPTY_CC}.new\" \\\n \"D8\" \\\n ${NATIVE_JS_FILES}\n\n# Only use the new files if they're different from the existing files (if any),\n# preserving the existing files' timestamps when there are no changes. This\n# minimizes unnecessary build activity for a no-change build.\n\nif ! diff -q \"${D8_CC}.new\" \"${D8_CC}\" >& /dev/null ; then\n mv \"${D8_CC}.new\" \"${D8_CC}\"\nelse\n rm \"${D8_CC}.new\"\nfi\n\nif ! diff -q \"${D8_EMPTY_CC}.new\" \"${D8_EMPTY_CC}\" >& /dev/null ; then\n mv \"${D8_EMPTY_CC}.new\" \"${D8_EMPTY_CC}\"\nelse\n rm \"${D8_EMPTY_CC}.new\"\nfi\n"; - }; - 89EA6FB50E71AA1F00F59E1B /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "set -ex\nJS_FILES=\"runtime.js\"\\\n\" v8natives.js\"\\\n\" array.js\"\\\n\" string.js\"\\\n\" uri.js\"\\\n\" math.js\"\\\n\" messages.js\"\\\n\" apinatives.js\"\\\n\" debug-delay.js\"\\\n\" mirror-delay.js\"\\\n\" date-delay.js\"\\\n\" json-delay.js\"\\\n\" regexp-delay.js\"\\\n\" macros.py\"\n\nV8ROOT=\"${SRCROOT}/..\"\n\nSRC_DIR=\"${V8ROOT}/src\"\n\nNATIVE_JS_FILES=\"\"\n\nfor i in ${JS_FILES} ; do\n NATIVE_JS_FILES+=\"${SRC_DIR}/${i} \"\ndone\n\nV8_GENERATED_SOURCES_DIR=\"${CONFIGURATION_TEMP_DIR}/generated\"\nmkdir -p \"${V8_GENERATED_SOURCES_DIR}\"\n\nLIBRARIES_CC=\"${V8_GENERATED_SOURCES_DIR}/libraries.cc\"\nLIBRARIES_EMPTY_CC=\"${V8_GENERATED_SOURCES_DIR}/libraries-empty.cc\"\n\npython \"${V8ROOT}/tools/js2c.py\" \\\n \"${LIBRARIES_CC}.new\" \\\n \"${LIBRARIES_EMPTY_CC}.new\" \\\n \"CORE\" \\\n ${NATIVE_JS_FILES}\n\n# Only use the new files if they're different from the existing files (if any),\n# preserving the existing files' timestamps when there are no changes. This\n# minimizes unnecessary build activity for a no-change build.\n\nif ! diff -q \"${LIBRARIES_CC}.new\" \"${LIBRARIES_CC}\" >& /dev/null ; then\n mv \"${LIBRARIES_CC}.new\" \"${LIBRARIES_CC}\"\nelse\n rm \"${LIBRARIES_CC}.new\"\nfi\n\nif ! diff -q \"${LIBRARIES_EMPTY_CC}.new\" \"${LIBRARIES_EMPTY_CC}\" >& /dev/null ; then\n mv \"${LIBRARIES_EMPTY_CC}.new\" \"${LIBRARIES_EMPTY_CC}\"\nelse\n rm \"${LIBRARIES_EMPTY_CC}.new\"\nfi\n"; - }; - 89F23C3D0E78D5B2006B2466 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "set -ex\nJS_FILES=\"runtime.js\"\\\n\" v8natives.js\"\\\n\" array.js\"\\\n\" string.js\"\\\n\" uri.js\"\\\n\" math.js\"\\\n\" messages.js\"\\\n\" apinatives.js\"\\\n\" debug-delay.js\"\\\n\" mirror-delay.js\"\\\n\" date-delay.js\"\\\n\" json-delay.js\"\\\n\" regexp-delay.js\"\\\n\" macros.py\"\n\nV8ROOT=\"${SRCROOT}/..\"\n\nSRC_DIR=\"${V8ROOT}/src\"\n\nNATIVE_JS_FILES=\"\"\n\nfor i in ${JS_FILES} ; do\n NATIVE_JS_FILES+=\"${SRC_DIR}/${i} \"\ndone\n\nV8_GENERATED_SOURCES_DIR=\"${CONFIGURATION_TEMP_DIR}/generated\"\nmkdir -p \"${V8_GENERATED_SOURCES_DIR}\"\n\nLIBRARIES_CC=\"${V8_GENERATED_SOURCES_DIR}/libraries.cc\"\nLIBRARIES_EMPTY_CC=\"${V8_GENERATED_SOURCES_DIR}/libraries-empty.cc\"\n\npython \"${V8ROOT}/tools/js2c.py\" \\\n \"${LIBRARIES_CC}.new\" \\\n \"${LIBRARIES_EMPTY_CC}.new\" \\\n \"CORE\" \\\n ${NATIVE_JS_FILES}\n\n# Only use the new files if they're different from the existing files (if any),\n# preserving the existing files' timestamps when there are no changes. This\n# minimizes unnecessary build activity for a no-change build.\n\nif ! diff -q \"${LIBRARIES_CC}.new\" \"${LIBRARIES_CC}\" >& /dev/null ; then\n mv \"${LIBRARIES_CC}.new\" \"${LIBRARIES_CC}\"\nelse\n rm \"${LIBRARIES_CC}.new\"\nfi\n\nif ! diff -q \"${LIBRARIES_EMPTY_CC}.new\" \"${LIBRARIES_EMPTY_CC}\" >& /dev/null ; then\n mv \"${LIBRARIES_EMPTY_CC}.new\" \"${LIBRARIES_EMPTY_CC}\"\nelse\n rm \"${LIBRARIES_EMPTY_CC}.new\"\nfi\n"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 893988030F2A35FA007D5254 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8939880D0F2A362A007D5254 /* d8.cc in Sources */, - 893988160F2A3688007D5254 /* d8-debug.cc in Sources */, - 893988330F2A3B8F007D5254 /* d8-js.cc in Sources */, - 89FB0E3A0F8E533F00B04B3C /* d8-posix.cc in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8970F2ED0E719FB2006AE7B5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 89A88DEC0E71A5FF0043BA31 /* accessors.cc in Sources */, - 89A88DED0E71A6000043BA31 /* allocation.cc in Sources */, - 89A88DEE0E71A6010043BA31 /* api.cc in Sources */, - 89A88DEF0E71A60A0043BA31 /* assembler-ia32.cc in Sources */, - 89A88DF00E71A60A0043BA31 /* assembler.cc in Sources */, - 89A88DF10E71A60B0043BA31 /* ast.cc in Sources */, - 89A88DF20E71A60C0043BA31 /* bootstrapper.cc in Sources */, - 89A88DF40E71A6160043BA31 /* builtins-ia32.cc in Sources */, - 89A88DF50E71A6170043BA31 /* builtins.cc in Sources */, - 89A88DF60E71A61C0043BA31 /* checks.cc in Sources */, - 893CCE640E71D83700357A03 /* code-stubs.cc in Sources */, - 89A88DF70E71A6240043BA31 /* codegen-ia32.cc in Sources */, - 89A88DF80E71A6260043BA31 /* codegen.cc in Sources */, - 89495E480E79FC23001F68C3 /* compilation-cache.cc in Sources */, - 89A88DF90E71A6430043BA31 /* compiler.cc in Sources */, - 89A88DFA0E71A6440043BA31 /* contexts.cc in Sources */, - 89A88DFB0E71A6440043BA31 /* conversions.cc in Sources */, - 89A88DFC0E71A6460043BA31 /* counters.cc in Sources */, - 89A88DFD0E71A6470043BA31 /* cpu-ia32.cc in Sources */, - 89A88DFE0E71A6480043BA31 /* dateparser.cc in Sources */, - 8956B6CF0F5D86730033B5A2 /* debug-agent.cc in Sources */, - 898BD20E0EF6CC930068B00A /* debug-ia32.cc in Sources */, - 89A88DFF0E71A6530043BA31 /* debug.cc in Sources */, - 89A88E000E71A6540043BA31 /* disasm-ia32.cc in Sources */, - 89A88E010E71A6550043BA31 /* disassembler.cc in Sources */, - 89A88E020E71A65A0043BA31 /* dtoa-config.c in Sources */, - 89A88E030E71A65B0043BA31 /* execution.cc in Sources */, - 89A88E040E71A65D0043BA31 /* factory.cc in Sources */, - 89A88E050E71A65D0043BA31 /* flags.cc in Sources */, - 89A88E060E71A6600043BA31 /* frames-ia32.cc in Sources */, - 89A88E070E71A6610043BA31 /* frames.cc in Sources */, - 9F92FAA90F8F28AD0089F02C /* func-name-inferrer.cc in Sources */, - 89A88E080E71A6620043BA31 /* global-handles.cc in Sources */, - 89A88E090E71A6640043BA31 /* handles.cc in Sources */, - 89A88E0A0E71A6650043BA31 /* hashmap.cc in Sources */, - 89A88E0B0E71A66C0043BA31 /* heap.cc in Sources */, - 89A88E0C0E71A66D0043BA31 /* ic-ia32.cc in Sources */, - 89A88E0D0E71A66E0043BA31 /* ic.cc in Sources */, - 89A15C850EE4678B00B48DEB /* interpreter-irregexp.cc in Sources */, - 89A88E0E0E71A66F0043BA31 /* jsregexp.cc in Sources */, - 58950D5E0F55519800F3E8BA /* jump-target.cc in Sources */, - 58950D5F0F55519D00F3E8BA /* jump-target-ia32.cc in Sources */, - 8900116C0E71CA2300F91F35 /* libraries.cc in Sources */, - 89A88E0F0E71A6740043BA31 /* log.cc in Sources */, - 89A88E100E71A6770043BA31 /* macro-assembler-ia32.cc in Sources */, - 89A88E110E71A6780043BA31 /* mark-compact.cc in Sources */, - 89A88E120E71A67A0043BA31 /* messages.cc in Sources */, - 89A88E130E71A6860043BA31 /* objects-debug.cc in Sources */, - 89A88E140E71A6870043BA31 /* objects.cc in Sources */, - 9FC86ABD0F5FEDAC00F22668 /* oprofile-agent.cc in Sources */, - 89A88E150E71A68C0043BA31 /* parser.cc in Sources */, - 893A72240F7B101400303DD2 /* platform-posix.cc in Sources */, - 89A88E160E71A68E0043BA31 /* platform-macos.cc in Sources */, - 89A88E170E71A6950043BA31 /* prettyprinter.cc in Sources */, - 89A88E180E71A6960043BA31 /* property.cc in Sources */, - 89A15C7B0EE466EB00B48DEB /* regexp-macro-assembler-ia32.cc in Sources */, - 89A15C830EE4675E00B48DEB /* regexp-macro-assembler-irregexp.cc in Sources */, - 89A15C8A0EE467D100B48DEB /* regexp-macro-assembler-tracer.cc in Sources */, - 89A15C810EE4674900B48DEB /* regexp-macro-assembler.cc in Sources */, - 8944AD100F1D4D500028D560 /* regexp-stack.cc in Sources */, - 58950D620F5551AF00F3E8BA /* register-allocator-ia32.cc in Sources */, - 58950D630F5551AF00F3E8BA /* register-allocator.cc in Sources */, - 89A88E190E71A6970043BA31 /* rewriter.cc in Sources */, - 89A88E1A0E71A69B0043BA31 /* runtime.cc in Sources */, - 89A88E1B0E71A69D0043BA31 /* scanner.cc in Sources */, - 89A88E1C0E71A69E0043BA31 /* scopeinfo.cc in Sources */, - 89A88E1D0E71A6A00043BA31 /* scopes.cc in Sources */, - 89A88E1E0E71A6A30043BA31 /* serialize.cc in Sources */, - 89A88E1F0E71A6B40043BA31 /* snapshot-common.cc in Sources */, - 89A88E200E71A6B60043BA31 /* snapshot-empty.cc in Sources */, - 89A88E210E71A6B70043BA31 /* spaces.cc in Sources */, - 89A88E220E71A6BC0043BA31 /* string-stream.cc in Sources */, - 89A88E230E71A6BE0043BA31 /* stub-cache-ia32.cc in Sources */, - 89A88E240E71A6BF0043BA31 /* stub-cache.cc in Sources */, - 89A88E250E71A6C20043BA31 /* token.cc in Sources */, - 89A88E260E71A6C90043BA31 /* top.cc in Sources */, - 89A88E270E71A6CB0043BA31 /* unicode.cc in Sources */, - 89A88E280E71A6CC0043BA31 /* usage-analyzer.cc in Sources */, - 89A88E290E71A6CE0043BA31 /* utils.cc in Sources */, - 89A88E2A0E71A6D00043BA31 /* v8-counters.cc in Sources */, - 89A88E2B0E71A6D10043BA31 /* v8.cc in Sources */, - 89A88E2C0E71A6D20043BA31 /* v8threads.cc in Sources */, - 89A88E2D0E71A6D50043BA31 /* variables.cc in Sources */, - 89B933AF0FAA0F9600201304 /* version.cc in Sources */, - 58950D660F5551C200F3E8BA /* virtual-frame.cc in Sources */, - 58950D670F5551C400F3E8BA /* virtual-frame-ia32.cc in Sources */, - 89A88E2E0E71A6D60043BA31 /* zone.cc in Sources */, - 9F4B7B890FCC877A00DC4117 /* log-utils.cc in Sources */, - 8981F6001010501900D1520E /* frame-element.cc in Sources */, - 9F11D9A0105AF0A300EBE5B2 /* heap-profiler.cc in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 897F76770E71B4CC007ACF34 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 897F767F0E71B690007ACF34 /* shell.cc in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 89F23C3E0E78D5B2006B2466 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 89F23C3F0E78D5B2006B2466 /* accessors.cc in Sources */, - 89F23C400E78D5B2006B2466 /* allocation.cc in Sources */, - 89F23C410E78D5B2006B2466 /* api.cc in Sources */, - 89F23C970E78D5E3006B2466 /* assembler-arm.cc in Sources */, - 89F23C430E78D5B2006B2466 /* assembler.cc in Sources */, - 89F23C440E78D5B2006B2466 /* ast.cc in Sources */, - 89F23C450E78D5B2006B2466 /* bootstrapper.cc in Sources */, - 89F23C980E78D5E7006B2466 /* builtins-arm.cc in Sources */, - 89F23C470E78D5B2006B2466 /* builtins.cc in Sources */, - 89F23C480E78D5B2006B2466 /* checks.cc in Sources */, - 89F23C490E78D5B2006B2466 /* code-stubs.cc in Sources */, - 89F23C990E78D5E9006B2466 /* codegen-arm.cc in Sources */, - 89F23C4B0E78D5B2006B2466 /* codegen.cc in Sources */, - 89495E490E79FC23001F68C3 /* compilation-cache.cc in Sources */, - 89F23C4C0E78D5B2006B2466 /* compiler.cc in Sources */, - 89F23C4D0E78D5B2006B2466 /* contexts.cc in Sources */, - 89F23C4E0E78D5B2006B2466 /* conversions.cc in Sources */, - 89F23C4F0E78D5B2006B2466 /* counters.cc in Sources */, - 89F23C9A0E78D5EC006B2466 /* cpu-arm.cc in Sources */, - 89F23C510E78D5B2006B2466 /* dateparser.cc in Sources */, - 894599A30F5D8729008DA8FB /* debug-agent.cc in Sources */, - 898BD20F0EF6CC9A0068B00A /* debug-arm.cc in Sources */, - 89F23C520E78D5B2006B2466 /* debug.cc in Sources */, - 89F23C9B0E78D5EE006B2466 /* disasm-arm.cc in Sources */, - 89F23C540E78D5B2006B2466 /* disassembler.cc in Sources */, - 89F23C550E78D5B2006B2466 /* dtoa-config.c in Sources */, - 89F23C560E78D5B2006B2466 /* execution.cc in Sources */, - 89F23C570E78D5B2006B2466 /* factory.cc in Sources */, - 89F23C580E78D5B2006B2466 /* flags.cc in Sources */, - 89F23C9C0E78D5F1006B2466 /* frames-arm.cc in Sources */, - 89F23C5A0E78D5B2006B2466 /* frames.cc in Sources */, - 9F92FAAA0F8F28AD0089F02C /* func-name-inferrer.cc in Sources */, - 89F23C5B0E78D5B2006B2466 /* global-handles.cc in Sources */, - 89F23C5C0E78D5B2006B2466 /* handles.cc in Sources */, - 89F23C5D0E78D5B2006B2466 /* hashmap.cc in Sources */, - 89F23C5E0E78D5B2006B2466 /* heap.cc in Sources */, - 89F23C9D0E78D5FB006B2466 /* ic-arm.cc in Sources */, - 89F23C600E78D5B2006B2466 /* ic.cc in Sources */, - 890A13FE0EE9C47F00E49346 /* interpreter-irregexp.cc in Sources */, - 89F23C610E78D5B2006B2466 /* jsregexp.cc in Sources */, - 58950D600F5551A300F3E8BA /* jump-target.cc in Sources */, - 58950D610F5551A400F3E8BA /* jump-target-arm.cc in Sources */, - 89F23C620E78D5B2006B2466 /* libraries.cc in Sources */, - 89F23C630E78D5B2006B2466 /* log.cc in Sources */, - 89F23C9E0E78D5FD006B2466 /* macro-assembler-arm.cc in Sources */, - 89F23C650E78D5B2006B2466 /* mark-compact.cc in Sources */, - 89F23C660E78D5B2006B2466 /* messages.cc in Sources */, - 89F23C670E78D5B2006B2466 /* objects-debug.cc in Sources */, - 89F23C680E78D5B2006B2466 /* objects.cc in Sources */, - 9FC86ABE0F5FEDAC00F22668 /* oprofile-agent.cc in Sources */, - 89F23C690E78D5B2006B2466 /* parser.cc in Sources */, - 893A72250F7B101B00303DD2 /* platform-posix.cc in Sources */, - 89F23C6A0E78D5B2006B2466 /* platform-macos.cc in Sources */, - 89F23C6B0E78D5B2006B2466 /* prettyprinter.cc in Sources */, - 89F23C6C0E78D5B2006B2466 /* property.cc in Sources */, - 890A14010EE9C4B000E49346 /* regexp-macro-assembler-arm.cc in Sources */, - 890A14020EE9C4B400E49346 /* regexp-macro-assembler-irregexp.cc in Sources */, - 890A14030EE9C4B500E49346 /* regexp-macro-assembler-tracer.cc in Sources */, - 890A14040EE9C4B700E49346 /* regexp-macro-assembler.cc in Sources */, - 8944AD110F1D4D570028D560 /* regexp-stack.cc in Sources */, - 58950D640F5551B500F3E8BA /* register-allocator.cc in Sources */, - 58950D650F5551B600F3E8BA /* register-allocator-arm.cc in Sources */, - 89F23C6D0E78D5B2006B2466 /* rewriter.cc in Sources */, - 89F23C6E0E78D5B2006B2466 /* runtime.cc in Sources */, - 89F23C6F0E78D5B2006B2466 /* scanner.cc in Sources */, - 89F23C700E78D5B2006B2466 /* scopeinfo.cc in Sources */, - 89F23C710E78D5B2006B2466 /* scopes.cc in Sources */, - 89F23C720E78D5B2006B2466 /* serialize.cc in Sources */, - 89F23C9F0E78D604006B2466 /* simulator-arm.cc in Sources */, - 89F23C730E78D5B2006B2466 /* snapshot-common.cc in Sources */, - 89F23C740E78D5B2006B2466 /* snapshot-empty.cc in Sources */, - 89F23C750E78D5B2006B2466 /* spaces.cc in Sources */, - 89F23C760E78D5B2006B2466 /* string-stream.cc in Sources */, - 89F23CA00E78D609006B2466 /* stub-cache-arm.cc in Sources */, - 89F23C780E78D5B2006B2466 /* stub-cache.cc in Sources */, - 89F23C790E78D5B2006B2466 /* token.cc in Sources */, - 89F23C7A0E78D5B2006B2466 /* top.cc in Sources */, - 89F23C7B0E78D5B2006B2466 /* unicode.cc in Sources */, - 89F23C7C0E78D5B2006B2466 /* usage-analyzer.cc in Sources */, - 89F23C7D0E78D5B2006B2466 /* utils.cc in Sources */, - 89F23C7E0E78D5B2006B2466 /* v8-counters.cc in Sources */, - 89F23C7F0E78D5B2006B2466 /* v8.cc in Sources */, - 89F23C800E78D5B2006B2466 /* v8threads.cc in Sources */, - 89F23C810E78D5B2006B2466 /* variables.cc in Sources */, - 89B933B00FAA0F9D00201304 /* version.cc in Sources */, - 58950D680F5551CB00F3E8BA /* virtual-frame.cc in Sources */, - 58950D690F5551CE00F3E8BA /* virtual-frame-arm.cc in Sources */, - 89F23C820E78D5B2006B2466 /* zone.cc in Sources */, - 9F4B7B8A0FCC877A00DC4117 /* log-utils.cc in Sources */, - 8981F6011010502800D1520E /* frame-element.cc in Sources */, - 9F11D9A1105AF0A300EBE5B2 /* heap-profiler.cc in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 89F23C8D0E78D5B6006B2466 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 89F23C8E0E78D5B6006B2466 /* shell.cc in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 7BF891970E73099F000BAF8A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8970F2EF0E719FB2006AE7B5 /* v8 */; - targetProxy = 7BF891960E73099F000BAF8A /* PBXContainerItemProxy */; - }; - 7BF891990E73099F000BAF8A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 897F76790E71B4CC007ACF34 /* v8_shell */; - targetProxy = 7BF891980E73099F000BAF8A /* PBXContainerItemProxy */; - }; - 893988010F2A35FA007D5254 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8970F2EF0E719FB2006AE7B5 /* v8 */; - targetProxy = 893988020F2A35FA007D5254 /* PBXContainerItemProxy */; - }; - 893988100F2A3647007D5254 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 893987FE0F2A35FA007D5254 /* d8_shell */; - targetProxy = 8939880F0F2A3647007D5254 /* PBXContainerItemProxy */; - }; - 896FD03C0E78D71F003DFB6A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 89F23C3C0E78D5B2006B2466 /* v8-arm */; - targetProxy = 896FD03B0E78D71F003DFB6A /* PBXContainerItemProxy */; - }; - 896FD03E0E78D731003DFB6A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 89F23C3C0E78D5B2006B2466 /* v8-arm */; - targetProxy = 896FD03D0E78D731003DFB6A /* PBXContainerItemProxy */; - }; - 896FD0400E78D735003DFB6A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 89F23C880E78D5B6006B2466 /* v8_shell-arm */; - targetProxy = 896FD03F0E78D735003DFB6A /* PBXContainerItemProxy */; - }; - 897F76830E71B6AC007ACF34 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8970F2EF0E719FB2006AE7B5 /* v8 */; - targetProxy = 897F76820E71B6AC007ACF34 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 7BF891940E73098D000BAF8A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_NAME = All; - }; - name = Debug; - }; - 7BF891950E73098D000BAF8A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_NAME = All; - }; - name = Release; - }; - 8915B8690E719336009C4E19 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - GCC_CW_ASM_SYNTAX = NO; - GCC_C_LANGUAGE_STANDARD = ansi; - GCC_DYNAMIC_NO_PIC = YES; - GCC_ENABLE_CPP_EXCEPTIONS = NO; - GCC_ENABLE_CPP_RTTI = NO; - GCC_ENABLE_PASCAL_STRINGS = NO; - GCC_INLINES_ARE_PRIVATE_EXTERN = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - DEBUG, - V8_ENABLE_CHECKS, - ); - GCC_SYMBOLS_PRIVATE_EXTERN = YES; - GCC_TREAT_WARNINGS_AS_ERRORS = YES; - GCC_WARN_ABOUT_MISSING_NEWLINE = YES; - OTHER_CFLAGS = ( - "$(OTHER_CFLAGS)", - "-fstack-protector", - "-fstack-protector-all", - ); - PREBINDING = NO; - SYMROOT = ../xcodebuild; - USE_HEADERMAP = NO; - WARNING_CFLAGS = ( - "$(WARNING_CFLAGS)", - "-Wall", - "-Wendif-labels", - ); - }; - name = Debug; - }; - 8915B86A0E719336009C4E19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEPLOYMENT_POSTPROCESSING = YES; - GCC_CW_ASM_SYNTAX = NO; - GCC_C_LANGUAGE_STANDARD = ansi; - GCC_DYNAMIC_NO_PIC = YES; - GCC_ENABLE_CPP_EXCEPTIONS = NO; - GCC_ENABLE_CPP_RTTI = NO; - GCC_ENABLE_PASCAL_STRINGS = NO; - GCC_INLINES_ARE_PRIVATE_EXTERN = YES; - GCC_OPTIMIZATION_LEVEL = 2; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - NDEBUG, - ); - GCC_SYMBOLS_PRIVATE_EXTERN = YES; - GCC_TREAT_WARNINGS_AS_ERRORS = NO; - GCC_WARN_ABOUT_MISSING_NEWLINE = YES; - PREBINDING = NO; - STRIP_STYLE = all; - SYMROOT = ../xcodebuild; - USE_HEADERMAP = NO; - WARNING_CFLAGS = ( - "$(WARNING_CFLAGS)", - "-Wall", - "-Wendif-labels", - ); - }; - name = Release; - }; - 893988090F2A35FA007D5254 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - V8_TARGET_ARCH_IA32, - V8_NATIVE_REGEXP, - DEBUG, - V8_ENABLE_CHECKS, - ); - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = v8_shell; - }; - name = Debug; - }; - 8939880A0F2A35FA007D5254 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - V8_TARGET_ARCH_IA32, - V8_NATIVE_REGEXP, - NDEBUG, - ); - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = v8_shell; - }; - name = Release; - }; - 8970F2F10E719FB2006AE7B5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_POSTPROCESSING = NO; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - ENABLE_DISASSEMBLER, - V8_TARGET_ARCH_IA32, - V8_NATIVE_REGEXP, - ENABLE_LOGGING_AND_PROFILING, - ENABLE_DEBUGGER_SUPPORT, - ); - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = v8; - STRIP_STYLE = debugging; - }; - name = Debug; - }; - 8970F2F20E719FB2006AE7B5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_POSTPROCESSING = NO; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - V8_TARGET_ARCH_IA32, - V8_NATIVE_REGEXP, - NDEBUG, - ); - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = v8; - STRIP_STYLE = debugging; - }; - name = Release; - }; - 897F767C0E71B4CC007ACF34 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = v8_shell; - }; - name = Debug; - }; - 897F767D0E71B4CC007ACF34 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = v8_shell; - }; - name = Release; - }; - 89F23C850E78D5B2006B2466 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_POSTPROCESSING = NO; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - V8_TARGET_ARCH_ARM, - ENABLE_DISASSEMBLER, - ENABLE_LOGGING_AND_PROFILING, - ENABLE_DEBUGGER_SUPPORT, - ); - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = "v8-arm"; - STRIP_STYLE = debugging; - }; - name = Debug; - }; - 89F23C860E78D5B2006B2466 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_POSTPROCESSING = NO; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - V8_TARGET_ARCH_ARM, - ); - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = "v8-arm"; - STRIP_STYLE = debugging; - }; - name = Release; - }; - 89F23C930E78D5B6006B2466 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = "v8_shell-arm"; - }; - name = Debug; - }; - 89F23C940E78D5B6006B2466 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - HEADER_SEARCH_PATHS = ../src; - PRODUCT_NAME = "v8_shell-arm"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 7BF8919F0E7309BE000BAF8A /* Build configuration list for PBXAggregateTarget "All" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BF891940E73098D000BAF8A /* Debug */, - 7BF891950E73098D000BAF8A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 8915B86B0E719336009C4E19 /* Build configuration list for PBXProject "v8" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8915B8690E719336009C4E19 /* Debug */, - 8915B86A0E719336009C4E19 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 893988080F2A35FA007D5254 /* Build configuration list for PBXNativeTarget "d8_shell" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 893988090F2A35FA007D5254 /* Debug */, - 8939880A0F2A35FA007D5254 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 8970F2F70E719FC1006AE7B5 /* Build configuration list for PBXNativeTarget "v8" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8970F2F10E719FB2006AE7B5 /* Debug */, - 8970F2F20E719FB2006AE7B5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 897F767E0E71B4EA007ACF34 /* Build configuration list for PBXNativeTarget "v8_shell" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 897F767C0E71B4CC007ACF34 /* Debug */, - 897F767D0E71B4CC007ACF34 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 89F23C840E78D5B2006B2466 /* Build configuration list for PBXNativeTarget "v8-arm" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 89F23C850E78D5B2006B2466 /* Debug */, - 89F23C860E78D5B2006B2466 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 89F23C920E78D5B6006B2466 /* Build configuration list for PBXNativeTarget "v8_shell-arm" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 89F23C930E78D5B6006B2466 /* Debug */, - 89F23C940E78D5B6006B2466 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 8915B8680E719336009C4E19 /* Project object */; -} diff --git a/V8Binding/v8/tools/visual_studio/README.txt b/V8Binding/v8/tools/visual_studio/README.txt deleted file mode 100644 index dd9802b..0000000 --- a/V8Binding/v8/tools/visual_studio/README.txt +++ /dev/null @@ -1,71 +0,0 @@ -This directory contains Microsoft Visual Studio project files for including v8 -in a Visual Studio/Visual C++ Express solution. All these project files have -been created for use with Microsoft Visual Studio 2005. They can however also -be used in both Visual Studio 2008 and Visual C++ 2008 Express Edition. When -using the project files in the 2008 editions minor upgrades to the files will -be performed by Visual Studio. - -v8_base.vcproj --------------- -Base V8 library containing all the V8 code but no JavaScript library code. This -includes third party code for string/number convertions (dtoa). - -v8.vcproj ---------- -V8 library containing all the V8 and JavaScript library code embedded as source -which is compiled as V8 is running. - -v8_mksnapshot.vcproj --------------------- -Executable v8_mksnapshot.exe for building a heap snapshot from a running V8. - -v8_snapshot_cc.vcproj ---------------------- -Uses v8_mksnapshot.exe to generate snapshot.cc, which is used in -v8_snapshot.vcproj. - -v8_snapshot.vcproj ------------------- -V8 library containing all the V8 and JavaScript library code embedded as a heap -snapshot instead of source to be compiled as V8 is running. Using this library -provides significantly faster startup time than v8.vcproj. - -The property sheets common.vsprops, debug.vsprops and release.vsprops contains -most of the configuration options and are inhireted by the project files -described above. The location of the output directory used are defined in -common.vsprops. - -With regard to Platform SDK version V8 has no specific requriments and builds -with either what is supplied with Visual Studio 2005 or the latest Platform SDK -from Microsoft. - -When adding these projects to a solution the following dependencies needs to be -in place: - - v8.vcproj depends on v8_base.vcproj - v8_mksnapshot.vcproj depends on v8.vcproj - v8_snapshot_cc.vcproj depends on v8_mksnapshot.vcproj - v8_snapshot.vcproj depends on v8_snapshot_cc.vcproj and v8_base.vcproj - -A project which uses V8 should then depend on v8_snapshot.vcproj. - -If V8 without snapshot if preferred only v8_base.vcproj and v8.vcproj are -required and a project which uses V8 should depend on v8.vcproj. - -Two sample project files are available as well. These are v8_shell_sample.vcproj -for building the sample in samples\shell.cc and v8_process_sample.vcproj for -building the sample in samples\process.cc. Add either of these (or both) to a -solution with v8_base, v8, v8_mksnapshot and v8_snapshot set up as described -solution with v8_base, v8, v8_mksnapshot and v8_snapshot set up as described -above and have them depend on v8_snapshot. - -Finally a sample Visual Studio solution file for is provided. This solution file -includes the two sample projects together with the V8 projects and with the -dependencies configured as described above. - -Python requirements -------------------- -When using the Microsoft Visual Studio project files Python version 2.4 or later -is required. Make sure that python.exe is on the path before running Visual -Studio. The use of Python is in the command script js2c.cmd which is used in the -Custom Build Step for v8natives.js in the v8.vcproj project. diff --git a/V8Binding/v8/tools/visual_studio/arm.vsprops b/V8Binding/v8/tools/visual_studio/arm.vsprops deleted file mode 100644 index 0d6a888..0000000 --- a/V8Binding/v8/tools/visual_studio/arm.vsprops +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - OutputDirectory="$(SolutionDir)$(ConfigurationName)Arm" - IntermediateDirectory="$(SolutionDir)$(ConfigurationName)Arm\obj\$(ProjectName)" - Name="arm" - > - <Tool - Name="VCCLCompilerTool" - PreprocessorDefinitions="_USE_32BIT_TIME_T;V8_TARGET_ARCH_ARM;V8_NATIVE_REGEXP" - DisableSpecificWarnings="4996" - /> -</VisualStudioPropertySheet> diff --git a/V8Binding/v8/tools/visual_studio/common.vsprops b/V8Binding/v8/tools/visual_studio/common.vsprops deleted file mode 100644 index 213a081..0000000 --- a/V8Binding/v8/tools/visual_studio/common.vsprops +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - Name="essential" - CharacterSet="1" - > - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="$(ProjectDir)\..\..\src;$(IntDir)\DerivedSources" - PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;ENABLE_LOGGING_AND_PROFILING;ENABLE_DEBUGGER_SUPPORT" - MinimalRebuild="false" - ExceptionHandling="0" - RuntimeTypeInfo="false" - WarningLevel="3" - WarnAsError="true" - Detect64BitPortabilityProblems="false" - DebugInformationFormat="3" - DisableSpecificWarnings="4355;4800" - EnableFunctionLevelLinking="true" - /> - <Tool - Name="VCLibrarianTool" - OutputFile="$(OutDir)\lib\$(ProjectName).lib" - /> - <Tool - Name="VCLinkerTool" - GenerateDebugInformation="true" - MapFileName="$(OutDir)\$(TargetName).map" - ImportLibrary="$(OutDir)\lib\$(TargetName).lib" - TargetMachine="1" - FixedBaseAddress="1" - AdditionalOptions="/IGNORE:4221 /NXCOMPAT" - /> -</VisualStudioPropertySheet> diff --git a/V8Binding/v8/tools/visual_studio/d8.vcproj b/V8Binding/v8/tools/visual_studio/d8.vcproj deleted file mode 100644 index 21636ba..0000000 --- a/V8Binding/v8/tools/visual_studio/d8.vcproj +++ /dev/null @@ -1,199 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="d8" - ProjectGUID="{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" - RootNamespace="d8" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\src\d8.cc" - > - </File> - <File - RelativePath="..\..\src\d8.h" - > - </File> - <File - RelativePath="..\..\src\d8-debug.cc" - > - </File> - <File - RelativePath="..\..\src\d8-debug.h" - > - </File> - <File - RelativePath="..\..\src\d8-windows.cc" - > - </File> - <File - RelativePath="..\..\src\d8.js" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - </File> - <Filter - Name="generated files" - > - <File - RelativePath="$(IntDir)\DerivedSources\natives.cc" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/d8_arm.vcproj b/V8Binding/v8/tools/visual_studio/d8_arm.vcproj deleted file mode 100644 index fbebdb3..0000000 --- a/V8Binding/v8/tools/visual_studio/d8_arm.vcproj +++ /dev/null @@ -1,199 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="d8" - ProjectGUID="{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" - RootNamespace="d8" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\src\d8.cc" - > - </File> - <File - RelativePath="..\..\src\d8.h" - > - </File> - <File - RelativePath="..\..\src\d8-debug.cc" - > - </File> - <File - RelativePath="..\..\src\d8-debug.h" - > - </File> - <File - RelativePath="..\..\src\d8-windows.cc" - > - </File> - <File - RelativePath="..\..\src\d8.js" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - </File> - <Filter - Name="generated files" - > - <File - RelativePath="$(IntDir)\DerivedSources\natives.cc" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/d8_x64.vcproj b/V8Binding/v8/tools/visual_studio/d8_x64.vcproj deleted file mode 100644 index 5c47a8a..0000000 --- a/V8Binding/v8/tools/visual_studio/d8_x64.vcproj +++ /dev/null @@ -1,201 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="d8" - ProjectGUID="{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" - RootNamespace="d8" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\src\d8.cc" - > - </File> - <File - RelativePath="..\..\src\d8.h" - > - </File> - <File - RelativePath="..\..\src\d8-debug.cc" - > - </File> - <File - RelativePath="..\..\src\d8-debug.h" - > - </File> - <File - RelativePath="..\..\src\d8-windows.cc" - > - </File> - <File - RelativePath="..\..\src\d8.js" - > - <FileConfiguration - Name="Debug|x64" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|x64" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - </File> - <Filter - Name="generated files" - > - <File - RelativePath="$(IntDir)\DerivedSources\natives.cc" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/d8js2c.cmd b/V8Binding/v8/tools/visual_studio/d8js2c.cmd deleted file mode 100644 index 04d8e26..0000000 --- a/V8Binding/v8/tools/visual_studio/d8js2c.cmd +++ /dev/null @@ -1,6 +0,0 @@ -@echo off
-set SOURCE_DIR=%1
-set TARGET_DIR=%2
-set PYTHON="..\..\..\third_party\python_24\python.exe"
-if not exist %PYTHON% set PYTHON=python.exe
-%PYTHON% ..\js2c.py %TARGET_DIR%\natives.cc %TARGET_DIR%\natives-empty.cc D8 %SOURCE_DIR%\macros.py %SOURCE_DIR%\d8.js
diff --git a/V8Binding/v8/tools/visual_studio/debug.vsprops b/V8Binding/v8/tools/visual_studio/debug.vsprops deleted file mode 100644 index 5e3555a..0000000 --- a/V8Binding/v8/tools/visual_studio/debug.vsprops +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - Name="debug" - > - <Tool - Name="VCCLCompilerTool" - Optimization="0" - PreprocessorDefinitions="DEBUG;_DEBUG;ENABLE_DISASSEMBLER;V8_ENABLE_CHECKS" - RuntimeLibrary="1" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="2" - /> -</VisualStudioPropertySheet> diff --git a/V8Binding/v8/tools/visual_studio/ia32.vsprops b/V8Binding/v8/tools/visual_studio/ia32.vsprops deleted file mode 100644 index 0399bbb..0000000 --- a/V8Binding/v8/tools/visual_studio/ia32.vsprops +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj\$(ProjectName)" - Name="ia32" - > - <Tool - Name="VCCLCompilerTool" - PreprocessorDefinitions="_USE_32BIT_TIME_T;V8_TARGET_ARCH_IA32;V8_NATIVE_REGEXP" - /> -</VisualStudioPropertySheet> diff --git a/V8Binding/v8/tools/visual_studio/js2c.cmd b/V8Binding/v8/tools/visual_studio/js2c.cmd deleted file mode 100644 index df5293b..0000000 --- a/V8Binding/v8/tools/visual_studio/js2c.cmd +++ /dev/null @@ -1,6 +0,0 @@ -@echo off -set SOURCE_DIR=%1 -set TARGET_DIR=%2 -set PYTHON="..\..\..\third_party\python_24\python.exe" -if not exist %PYTHON% set PYTHON=python.exe -%PYTHON% ..\js2c.py %TARGET_DIR%\natives.cc %TARGET_DIR%\natives-empty.cc CORE %SOURCE_DIR%\macros.py %SOURCE_DIR%\runtime.js %SOURCE_DIR%\v8natives.js %SOURCE_DIR%\array.js %SOURCE_DIR%\string.js %SOURCE_DIR%\uri.js %SOURCE_DIR%\math.js %SOURCE_DIR%\messages.js %SOURCE_DIR%\apinatives.js %SOURCE_DIR%\debug-delay.js %SOURCE_DIR%\mirror-delay.js %SOURCE_DIR%\date-delay.js %SOURCE_DIR%\regexp-delay.js %SOURCE_DIR%\json-delay.js diff --git a/V8Binding/v8/tools/visual_studio/release.vsprops b/V8Binding/v8/tools/visual_studio/release.vsprops deleted file mode 100644 index d7b26bc..0000000 --- a/V8Binding/v8/tools/visual_studio/release.vsprops +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - Name="release" - > - <Tool - Name="VCCLCompilerTool" - RuntimeLibrary="0" - Optimization="2" - InlineFunctionExpansion="2" - EnableIntrinsicFunctions="true" - FavorSizeOrSpeed="0" - OmitFramePointers="true" - StringPooling="true" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="1" - OptimizeReferences="2" - OptimizeForWindows98="1" - EnableCOMDATFolding="2" - /> -</VisualStudioPropertySheet> diff --git a/V8Binding/v8/tools/visual_studio/v8.sln b/V8Binding/v8/tools/visual_studio/v8.sln deleted file mode 100644 index db84858..0000000 --- a/V8Binding/v8/tools/visual_studio/v8.sln +++ /dev/null @@ -1,101 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_base", "v8_base.vcproj", "{EC8B7909-62AF-470D-A75D-E1D89C837142}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8", "v8.vcproj", "{21E22961-22BF-4493-BD3A-868F93DA5179}" - ProjectSection(ProjectDependencies) = postProject - {EC8B7909-62AF-470D-A75D-E1D89C837142} = {EC8B7909-62AF-470D-A75D-E1D89C837142} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_mksnapshot", "v8_mksnapshot.vcproj", "{865575D0-37E2-405E-8CBA-5F6C485B5A26}" - ProjectSection(ProjectDependencies) = postProject - {21E22961-22BF-4493-BD3A-868F93DA5179} = {21E22961-22BF-4493-BD3A-868F93DA5179} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_snapshot", "v8_snapshot.vcproj", "{C0334F9A-1168-4101-9DD8-C30FB252D435}" - ProjectSection(ProjectDependencies) = postProject - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F} = {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F} - {EC8B7909-62AF-470D-A75D-E1D89C837142} = {EC8B7909-62AF-470D-A75D-E1D89C837142} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_shell_sample", "v8_shell_sample.vcproj", "{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E131F77D-B713-48F3-B86D-097ECDCC4C3A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_process_sample", "v8_process_sample.vcproj", "{EF019874-D38A-40E3-B17C-DB5923F0A79C}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_cctest", "v8_cctest.vcproj", "{97ECC711-7430-4FC4-90FD-004DA880E72A}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{AD933CE2-1303-448E-89C8-60B1FDD18EC3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "d8", "d8.vcproj", "{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_snapshot_cc", "v8_snapshot_cc.vcproj", "{0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}" - ProjectSection(ProjectDependencies) = postProject - {865575D0-37E2-405E-8CBA-5F6C485B5A26} = {865575D0-37E2-405E-8CBA-5F6C485B5A26} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Debug|Win32.ActiveCfg = Debug|Win32 - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Debug|Win32.Build.0 = Debug|Win32 - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Release|Win32.ActiveCfg = Release|Win32 - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Release|Win32.Build.0 = Release|Win32 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Debug|Win32.ActiveCfg = Debug|Win32 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Debug|Win32.Build.0 = Debug|Win32 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Release|Win32.ActiveCfg = Release|Win32 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Release|Win32.Build.0 = Release|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Debug|Win32.ActiveCfg = Debug|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Debug|Win32.Build.0 = Debug|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|Win32.ActiveCfg = Release|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|Win32.Build.0 = Release|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|Win32.ActiveCfg = Debug|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|Win32.Build.0 = Debug|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|Win32.ActiveCfg = Release|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|Win32.Build.0 = Release|Win32 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Debug|Win32.ActiveCfg = Debug|Win32 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Debug|Win32.Build.0 = Debug|Win32 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Release|Win32.ActiveCfg = Release|Win32 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Release|Win32.Build.0 = Release|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Debug|Win32.ActiveCfg = Debug|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Debug|Win32.Build.0 = Debug|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Release|Win32.ActiveCfg = Release|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Release|Win32.Build.0 = Release|Win32 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Debug|Win32.ActiveCfg = Debug|Win32 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Debug|Win32.Build.0 = Debug|Win32 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Release|Win32.ActiveCfg = Release|Win32 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Release|Win32.Build.0 = Release|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Debug|Win32.ActiveCfg = Debug|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Debug|Win32.Build.0 = Debug|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Release|Win32.ActiveCfg = Release|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Release|Win32.Build.0 = Release|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Debug|Win32.ActiveCfg = Debug|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Debug|Win32.Build.0 = Debug|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Release|Win32.ActiveCfg = Release|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119} = {E131F77D-B713-48F3-B86D-097ECDCC4C3A} - {97ECC711-7430-4FC4-90FD-004DA880E72A} = {AD933CE2-1303-448E-89C8-60B1FDD18EC3} - {EF019874-D38A-40E3-B17C-DB5923F0A79C} = {E131F77D-B713-48F3-B86D-097ECDCC4C3A} - EndGlobalSection -EndGlobal diff --git a/V8Binding/v8/tools/visual_studio/v8.vcproj b/V8Binding/v8/tools/visual_studio/v8.vcproj deleted file mode 100644 index 47ba8c1..0000000 --- a/V8Binding/v8/tools/visual_studio/v8.vcproj +++ /dev/null @@ -1,223 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8" - ProjectGUID="{21E22961-22BF-4493-BD3A-868F93DA5179}" - RootNamespace="v8" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="js" - > - <File - RelativePath="..\..\src\apinatives.js" - > - </File> - <File - RelativePath="..\..\src\array.js" - > - </File> - <File - RelativePath="..\..\src\date-delay.js" - > - </File> - <File - RelativePath="..\..\src\debug-delay.js" - > - </File> - <File - RelativePath="..\..\src\macros.py" - > - </File> - <File - RelativePath="..\..\src\math.js" - > - </File> - <File - RelativePath="..\..\src\messages.js" - > - </File> - <File - RelativePath="..\..\src\mirror-delay.js" - > - </File> - <File - RelativePath="..\..\src\regexp-delay.js" - > - </File> - <File - RelativePath="..\..\src\json-delay.js" - > - </File> - <File - RelativePath="..\..\src\runtime.js" - > - </File> - <File - RelativePath="..\..\src\string.js" - > - </File> - <File - RelativePath="..\..\src\uri.js" - > - </File> - <File - RelativePath="..\..\src\v8natives.js" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - </File> - </Filter> - <Filter - Name="generated files" - > - <File - RelativePath="$(IntDir)\DerivedSources\natives.cc" - > - </File> - </Filter> - <File - RelativePath="..\..\src\snapshot-empty.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_arm.sln b/V8Binding/v8/tools/visual_studio/v8_arm.sln deleted file mode 100644 index 069ff32..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_arm.sln +++ /dev/null @@ -1,74 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8", "v8_arm.vcproj", "{21E22961-22BF-4493-BD3A-868F93DA5179}" - ProjectSection(ProjectDependencies) = postProject - {EC8B7909-62AF-470D-A75D-E1D89C837142} = {EC8B7909-62AF-470D-A75D-E1D89C837142} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_shell_sample", "v8_shell_sample_arm.vcproj", "{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}" - ProjectSection(ProjectDependencies) = postProject - {EC8B7909-62AF-470D-A75D-E1D89C837142} = {EC8B7909-62AF-470D-A75D-E1D89C837142} - {21E22961-22BF-4493-BD3A-868F93DA5179} = {21E22961-22BF-4493-BD3A-868F93DA5179} - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E131F77D-B713-48F3-B86D-097ECDCC4C3A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_process_sample", "v8_process_sample_arm.vcproj", "{EF019874-D38A-40E3-B17C-DB5923F0A79C}" - ProjectSection(ProjectDependencies) = postProject - {21E22961-22BF-4493-BD3A-868F93DA5179} = {21E22961-22BF-4493-BD3A-868F93DA5179} - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{AD933CE2-1303-448E-89C8-60B1FDD18EC3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "d8", "d8_arm.vcproj", "{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" - ProjectSection(ProjectDependencies) = postProject - {21E22961-22BF-4493-BD3A-868F93DA5179} = {21E22961-22BF-4493-BD3A-868F93DA5179} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_base", "v8_base_arm.vcproj", "{EC8B7909-62AF-470D-A75D-E1D89C837142}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_cctest", "v8_cctest_arm.vcproj", "{97ECC711-7430-4FC4-90FD-004DA880E72A}" - ProjectSection(ProjectDependencies) = postProject - {21E22961-22BF-4493-BD3A-868F93DA5179} = {21E22961-22BF-4493-BD3A-868F93DA5179} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {21E22961-22BF-4493-BD3A-868F93DA5179}.Debug|Win32.ActiveCfg = Debug|Win32 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Debug|Win32.Build.0 = Debug|Win32 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Release|Win32.ActiveCfg = Release|Win32 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Release|Win32.Build.0 = Release|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Debug|Win32.ActiveCfg = Debug|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Debug|Win32.Build.0 = Debug|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|Win32.ActiveCfg = Release|Win32 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|Win32.Build.0 = Release|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Debug|Win32.ActiveCfg = Debug|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Debug|Win32.Build.0 = Debug|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Release|Win32.ActiveCfg = Release|Win32 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Release|Win32.Build.0 = Release|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|Win32.ActiveCfg = Debug|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|Win32.Build.0 = Debug|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|Win32.ActiveCfg = Release|Win32 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|Win32.Build.0 = Release|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Debug|Win32.ActiveCfg = Debug|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Debug|Win32.Build.0 = Debug|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Release|Win32.ActiveCfg = Release|Win32 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Release|Win32.Build.0 = Release|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Debug|Win32.ActiveCfg = Debug|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Debug|Win32.Build.0 = Debug|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Release|Win32.ActiveCfg = Release|Win32 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119} = {E131F77D-B713-48F3-B86D-097ECDCC4C3A} - {EF019874-D38A-40E3-B17C-DB5923F0A79C} = {E131F77D-B713-48F3-B86D-097ECDCC4C3A} - {97ECC711-7430-4FC4-90FD-004DA880E72A} = {AD933CE2-1303-448E-89C8-60B1FDD18EC3} - EndGlobalSection -EndGlobal diff --git a/V8Binding/v8/tools/visual_studio/v8_arm.vcproj b/V8Binding/v8/tools/visual_studio/v8_arm.vcproj deleted file mode 100644 index f8cbcc4..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_arm.vcproj +++ /dev/null @@ -1,223 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8" - ProjectGUID="{21E22961-22BF-4493-BD3A-868F93DA5179}" - RootNamespace="v8" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="js" - > - <File - RelativePath="..\..\src\apinatives.js" - > - </File> - <File - RelativePath="..\..\src\array.js" - > - </File> - <File - RelativePath="..\..\src\date-delay.js" - > - </File> - <File - RelativePath="..\..\src\debug-delay.js" - > - </File> - <File - RelativePath="..\..\src\macros.py" - > - </File> - <File - RelativePath="..\..\src\math.js" - > - </File> - <File - RelativePath="..\..\src\messages.js" - > - </File> - <File - RelativePath="..\..\src\mirror-delay.js" - > - </File> - <File - RelativePath="..\..\src\regexp-delay.js" - > - </File> - <File - RelativePath="..\..\src\json-delay.js" - > - </File> - <File - RelativePath="..\..\src\runtime.js" - > - </File> - <File - RelativePath="..\..\src\string.js" - > - </File> - <File - RelativePath="..\..\src\uri.js" - > - </File> - <File - RelativePath="..\..\src\v8natives.js" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - </File> - </Filter> - <Filter - Name="generated files" - > - <File - RelativePath="$(IntDir)\DerivedSources\natives.cc" - > - </File> - </Filter> - <File - RelativePath="..\..\src\snapshot-empty.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_base.vcproj b/V8Binding/v8/tools/visual_studio/v8_base.vcproj deleted file mode 100644 index 7a013c0..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_base.vcproj +++ /dev/null @@ -1,959 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_base" - ProjectGUID="{EC8B7909-62AF-470D-A75D-E1D89C837142}" - RootNamespace="v8_base" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="dtoa" - > - <File - RelativePath="..\..\src\dtoa-config.c" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCLCompilerTool" - DisableSpecificWarnings="4018;4244" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCLCompilerTool" - DisableSpecificWarnings="4018;4244" - /> - </FileConfiguration> - </File> - </Filter> - <Filter - Name="src" - > - <File - RelativePath="..\..\src\accessors.cc" - > - </File> - <File - RelativePath="..\..\src\accessors.h" - > - </File> - <File - RelativePath="..\..\src\allocation.cc" - > - </File> - <File - RelativePath="..\..\src\allocation.h" - > - </File> - <File - RelativePath="..\..\src\api.cc" - > - </File> - <File - RelativePath="..\..\src\api.h" - > - </File> - <File - RelativePath="..\..\src\arguments.h" - > - </File> - <File - RelativePath="..\..\src\ia32\assembler-ia32-inl.h" - > - </File> - <File - RelativePath="..\..\src\ia32\assembler-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\assembler-ia32.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp-inl.h" - > - </File> - <File - RelativePath="..\..\src\regexp-stack.h" - > - </File> - <File - RelativePath="..\..\src\assembler.cc" - > - </File> - <File - RelativePath="..\..\src\assembler.h" - > - </File> - <File - RelativePath="..\..\src\ast.cc" - > - </File> - <File - RelativePath="..\..\src\ast.h" - > - </File> - <File - RelativePath="..\..\src\bootstrapper.cc" - > - </File> - <File - RelativePath="..\..\src\bootstrapper.h" - > - </File> - <File - RelativePath="..\..\src\ia32\builtins-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\builtins.cc" - > - </File> - <File - RelativePath="..\..\src\builtins.h" - > - </File> - <File - RelativePath="..\..\src\bytecodes-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\char-predicates-inl.h" - > - </File> - <File - RelativePath="..\..\src\char-predicates.h" - > - </File> - <File - RelativePath="..\..\src\checks.cc" - > - </File> - <File - RelativePath="..\..\src\checks.h" - > - </File> - <File - RelativePath="..\..\src\code-stubs.cc" - > - </File> - <File - RelativePath="..\..\src\code-stubs.h" - > - </File> - <File - RelativePath="..\..\src\code.h" - > - </File> - <File - RelativePath="..\..\src\ia32\codegen-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\codegen-ia32.h" - > - </File> - <File - RelativePath="..\..\src\codegen-inl.h" - > - </File> - <File - RelativePath="..\..\src\codegen.cc" - > - </File> - <File - RelativePath="..\..\src\codegen.h" - > - </File> - <File - RelativePath="..\..\src\compilation-cache.cc" - > - </File> - <File - RelativePath="..\..\src\compilation-cache.h" - > - </File> - <File - RelativePath="..\..\src\compiler.cc" - > - </File> - <File - RelativePath="..\..\src\compiler.h" - > - </File> - <File - RelativePath="..\..\src\contexts.cc" - > - </File> - <File - RelativePath="..\..\src\contexts.h" - > - </File> - <File - RelativePath="..\..\src\conversions-inl.h" - > - </File> - <File - RelativePath="..\..\src\conversions.cc" - > - </File> - <File - RelativePath="..\..\src\conversions.h" - > - </File> - <File - RelativePath="..\..\src\counters.cc" - > - </File> - <File - RelativePath="..\..\src\counters.h" - > - </File> - <File - RelativePath="..\..\src\ia32\cpu-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\cpu.h" - > - </File> - <File - RelativePath="..\..\src\dateparser.cc" - > - </File> - <File - RelativePath="..\..\src\dateparser.h" - > - </File> - <File - RelativePath="..\..\src\debug-agent.cc" - > - </File> - <File - RelativePath="..\..\src\debug-agent.h" - > - </File> - <File - RelativePath="..\..\src\ia32\debug-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\debug.cc" - > - </File> - <File - RelativePath="..\..\src\debug.h" - > - </File> - <File - RelativePath="..\..\src\disassembler.cc" - > - </File> - <File - RelativePath="..\..\src\disassembler.h" - > - </File> - <File - RelativePath="..\..\src\execution.cc" - > - </File> - <File - RelativePath="..\..\src\execution.h" - > - </File> - <File - RelativePath="..\..\src\factory.cc" - > - </File> - <File - RelativePath="..\..\src\factory.h" - > - </File> - <File - RelativePath="..\..\src\flags.cc" - > - </File> - <File - RelativePath="..\..\src\flags.h" - > - </File> - <File - RelativePath="..\..\src\frame-element.cc" - > - </File> - <File - RelativePath="..\..\src\frame-element.h" - > - </File> - <File - RelativePath="..\..\src\ia32\frames-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\frames-ia32.h" - > - </File> - <File - RelativePath="..\..\src\frames-inl.h" - > - </File> - <File - RelativePath="..\..\src\frames.cc" - > - </File> - <File - RelativePath="..\..\src\frames.h" - > - </File> - <File - RelativePath="..\..\src\func-name-inferrer.cc" - > - </File> - <File - RelativePath="..\..\src\func-name-inferrer.h" - > - </File> - <File - RelativePath="..\..\src\global-handles.cc" - > - </File> - <File - RelativePath="..\..\src\global-handles.h" - > - </File> - <File - RelativePath="..\..\src\globals.h" - > - </File> - <File - RelativePath="..\..\src\handles-inl.h" - > - </File> - <File - RelativePath="..\..\src\handles.cc" - > - </File> - <File - RelativePath="..\..\src\handles.h" - > - </File> - <File - RelativePath="..\..\src\hashmap.cc" - > - </File> - <File - RelativePath="..\..\src\hashmap.h" - > - </File> - <File - RelativePath="..\..\src\heap-inl.h" - > - </File> - <File - RelativePath="..\..\src\heap.cc" - > - </File> - <File - RelativePath="..\..\src\heap.h" - > - </File> - <File - RelativePath="..\..\src\heap-profiler.cc" - > - </File> - <File - RelativePath="..\..\src\heap-profiler.h" - > - </File> - <File - RelativePath="..\..\src\ia32\ic-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\ic-inl.h" - > - </File> - <File - RelativePath="..\..\src\ic.cc" - > - </File> - <File - RelativePath="..\..\src\ic.h" - > - </File> - <File - RelativePath="..\..\src\interceptors.h" - > - </File> - <File - RelativePath="..\..\src\interpreter-irregexp.cc" - > - </File> - <File - RelativePath="..\..\src\interpreter-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\jump-target.h" - > - </File> - <File - RelativePath="..\..\src\jump-target-inl.h" - > - </File> - <File - RelativePath="..\..\src\jump-target.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\jump-target-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\jsregexp.cc" - > - </File> - <File - RelativePath="..\..\src\jsregexp.h" - > - </File> - <File - RelativePath="..\..\src\list-inl.h" - > - </File> - <File - RelativePath="..\..\src\list.h" - > - </File> - <File - RelativePath="..\..\src\log.cc" - > - </File> - <File - RelativePath="..\..\src\log-inl.h" - > - </File> - <File - RelativePath="..\..\src\log.h" - > - </File> - <File - RelativePath="..\..\src\log-utils.cc" - > - </File> - <File - RelativePath="..\..\src\log-utils.h" - > - </File> - <File - RelativePath="..\..\src\ia32\macro-assembler-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\macro-assembler-ia32.h" - > - </File> - <File - RelativePath="..\..\src\macro-assembler.h" - > - </File> - <File - RelativePath="..\..\src\mark-compact.cc" - > - </File> - <File - RelativePath="..\..\src\mark-compact.h" - > - </File> - <File - RelativePath="..\..\src\memory.h" - > - </File> - <File - RelativePath="..\..\src\messages.cc" - > - </File> - <File - RelativePath="..\..\src\messages.h" - > - </File> - <File - RelativePath="..\..\src\natives.h" - > - </File> - <File - RelativePath="..\..\src\objects-debug.cc" - > - <FileConfiguration - Name="Release|Win32" - ExcludedFromBuild="true" - > - <Tool - Name="VCCLCompilerTool" - /> - </FileConfiguration> - </File> - <File - RelativePath="..\..\src\objects-inl.h" - > - </File> - <File - RelativePath="..\..\src\objects.cc" - > - </File> - <File - RelativePath="..\..\src\objects.h" - > - </File> - <File - RelativePath="..\..\src\oprofile-agent.cc" - > - </File> - <File - RelativePath="..\..\src\oprofile-agent.h" - > - </File> - <File - RelativePath="..\..\src\parser.cc" - > - </File> - <File - RelativePath="..\..\src\parser.h" - > - </File> - <File - RelativePath="..\..\src\platform-win32.cc" - > - </File> - <File - RelativePath="..\..\src\platform.h" - > - </File> - <File - RelativePath="..\..\src\prettyprinter.cc" - > - <FileConfiguration - Name="Release|Win32" - ExcludedFromBuild="true" - > - <Tool - Name="VCCLCompilerTool" - /> - </FileConfiguration> - </File> - <File - RelativePath="..\..\src\prettyprinter.h" - > - </File> - <File - RelativePath="..\..\src\property.cc" - > - </File> - <File - RelativePath="..\..\src\property.h" - > - </File> - <File - RelativePath="..\..\src\ia32\regexp-macro-assembler-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\regexp-macro-assembler-ia32.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-tracer.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-tracer.h" - > - </File> - <File - RelativePath="..\..\src\regexp-stack.cc" - > - </File> - <File - RelativePath="..\..\src\register-allocator.h" - > - </File> - <File - RelativePath="..\..\src\register-allocator.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\register-allocator-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\rewriter.cc" - > - </File> - <File - RelativePath="..\..\src\rewriter.h" - > - </File> - <File - RelativePath="..\..\src\runtime.cc" - > - </File> - <File - RelativePath="..\..\src\runtime.h" - > - </File> - <File - RelativePath="..\..\src\scanner.cc" - > - </File> - <File - RelativePath="..\..\src\scanner.h" - > - </File> - <File - RelativePath="..\..\src\scopeinfo.cc" - > - </File> - <File - RelativePath="..\..\src\scopeinfo.h" - > - </File> - <File - RelativePath="..\..\src\scopes.cc" - > - </File> - <File - RelativePath="..\..\src\scopes.h" - > - </File> - <File - RelativePath="..\..\src\serialize.cc" - > - </File> - <File - RelativePath="..\..\src\serialize.h" - > - </File> - <File - RelativePath="..\..\src\shell.h" - > - </File> - <File - RelativePath="..\..\src\snapshot-common.cc" - > - </File> - <File - RelativePath="..\..\src\snapshot.h" - > - </File> - <File - RelativePath="..\..\src\spaces-inl.h" - > - </File> - <File - RelativePath="..\..\src\spaces.cc" - > - </File> - <File - RelativePath="..\..\src\spaces.h" - > - </File> - <File - RelativePath="..\..\src\string-stream.cc" - > - </File> - <File - RelativePath="..\..\src\string-stream.h" - > - </File> - <File - RelativePath="..\..\src\ia32\stub-cache-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\stub-cache.cc" - > - </File> - <File - RelativePath="..\..\src\stub-cache.h" - > - </File> - <File - RelativePath="..\..\src\token.cc" - > - </File> - <File - RelativePath="..\..\src\token.h" - > - </File> - <File - RelativePath="..\..\src\top.cc" - > - </File> - <File - RelativePath="..\..\src\top.h" - > - </File> - <File - RelativePath="..\..\src\unicode-inl.h" - > - </File> - <File - RelativePath="..\..\src\unicode.h" - > - </File> - <File - RelativePath="..\..\src\usage-analyzer.cc" - > - </File> - <File - RelativePath="..\..\src\usage-analyzer.h" - > - </File> - <File - RelativePath="..\..\src\utils.cc" - > - </File> - <File - RelativePath="..\..\src\utils.h" - > - </File> - <File - RelativePath="..\..\src\v8-counters.cc" - > - </File> - <File - RelativePath="..\..\src\v8-counters.h" - > - </File> - <File - RelativePath="..\..\src\v8.cc" - > - </File> - <File - RelativePath="..\..\src\v8.h" - > - </File> - <File - RelativePath="..\..\src\v8threads.cc" - > - </File> - <File - RelativePath="..\..\src\v8threads.h" - > - </File> - <File - RelativePath="..\..\src\variables.cc" - > - </File> - <File - RelativePath="..\..\src\variables.h" - > - </File> - <File - RelativePath="..\..\src\version.cc" - > - </File> - <File - RelativePath="..\..\src\version.h" - > - </File> - <File - RelativePath="..\..\src\virtual-frame.h" - > - </File> - <File - RelativePath="..\..\src\ia32\virtual-frame-ia32.h" - > - </File> - <File - RelativePath="..\..\src\virtual-frame.cc" - > - </File> - <File - RelativePath="..\..\src\ia32\virtual-frame-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\zone-inl.h" - > - </File> - <File - RelativePath="..\..\src\zone.cc" - > - </File> - <File - RelativePath="..\..\src\zone.h" - > - </File> - <Filter - Name="third party" - > - <File - RelativePath="..\..\src\ia32\disasm-ia32.cc" - > - </File> - <File - RelativePath="..\..\src\disasm.h" - > - </File> - </Filter> - <Filter - Name="generated files" - > - <File - RelativePath="..\..\src\unicode.cc" - > - </File> - </Filter> - </Filter> - <Filter - Name="include" - > - <File - RelativePath="..\..\include\debug.h" - > - </File> - <File - RelativePath="..\..\include\v8.h" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_base_arm.vcproj b/V8Binding/v8/tools/visual_studio/v8_base_arm.vcproj deleted file mode 100644 index abdb418..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_base_arm.vcproj +++ /dev/null @@ -1,971 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_base" - ProjectGUID="{EC8B7909-62AF-470D-A75D-E1D89C837142}" - RootNamespace="v8_base" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\debug.vsprops;.\arm.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\release.vsprops;.\arm.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="dtoa" - > - <File - RelativePath="..\..\src\dtoa-config.c" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCLCompilerTool" - DisableSpecificWarnings="4018;4244" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCLCompilerTool" - DisableSpecificWarnings="4018;4244" - /> - </FileConfiguration> - </File> - </Filter> - <Filter - Name="src" - > - <File - RelativePath="..\..\src\accessors.cc" - > - </File> - <File - RelativePath="..\..\src\accessors.h" - > - </File> - <File - RelativePath="..\..\src\allocation.cc" - > - </File> - <File - RelativePath="..\..\src\allocation.h" - > - </File> - <File - RelativePath="..\..\src\api.cc" - > - </File> - <File - RelativePath="..\..\src\api.h" - > - </File> - <File - RelativePath="..\..\src\arguments.h" - > - </File> - <File - RelativePath="..\..\src\arm\assembler-arm-inl.h" - > - </File> - <File - RelativePath="..\..\src\arm\assembler-arm.cc" - > - </File> - <File - RelativePath="..\..\src\arm\assembler-arm.h" - > - </File> - <File - RelativePath="..\..\src\regexp-stack.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp-inl.h" - > - </File> - <File - RelativePath="..\..\src\assembler.cc" - > - </File> - <File - RelativePath="..\..\src\assembler.h" - > - </File> - <File - RelativePath="..\..\src\ast.cc" - > - </File> - <File - RelativePath="..\..\src\ast.h" - > - </File> - <File - RelativePath="..\..\src\bootstrapper.cc" - > - </File> - <File - RelativePath="..\..\src\bootstrapper.h" - > - </File> - <File - RelativePath="..\..\src\arm\builtins-arm.cc" - > - </File> - <File - RelativePath="..\..\src\builtins.cc" - > - </File> - <File - RelativePath="..\..\src\builtins.h" - > - </File> - <File - RelativePath="..\..\src\bytecodes-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\char-predicates-inl.h" - > - </File> - <File - RelativePath="..\..\src\char-predicates.h" - > - </File> - <File - RelativePath="..\..\src\checks.cc" - > - </File> - <File - RelativePath="..\..\src\checks.h" - > - </File> - <File - RelativePath="..\..\src\code-stubs.cc" - > - </File> - <File - RelativePath="..\..\src\code-stubs.h" - > - </File> - <File - RelativePath="..\..\src\code.h" - > - </File> - <File - RelativePath="..\..\src\arm\codegen-arm.cc" - > - </File> - <File - RelativePath="..\..\src\arm\codegen-arm.h" - > - </File> - <File - RelativePath="..\..\src\codegen-inl.h" - > - </File> - <File - RelativePath="..\..\src\codegen.cc" - > - </File> - <File - RelativePath="..\..\src\codegen.h" - > - </File> - <File - RelativePath="..\..\src\compilation-cache.cc" - > - </File> - <File - RelativePath="..\..\src\compilation-cache.h" - > - </File> - <File - RelativePath="..\..\src\compiler.cc" - > - </File> - <File - RelativePath="..\..\src\compiler.h" - > - </File> - <File - RelativePath="..\..\src\arm\constants-arm.cc" - > - </File> - <File - RelativePath="..\..\src\arm\constants-arm.h" - > - </File> - <File - RelativePath="..\..\src\contexts.cc" - > - </File> - <File - RelativePath="..\..\src\contexts.h" - > - </File> - <File - RelativePath="..\..\src\conversions-inl.h" - > - </File> - <File - RelativePath="..\..\src\conversions.cc" - > - </File> - <File - RelativePath="..\..\src\conversions.h" - > - </File> - <File - RelativePath="..\..\src\counters.cc" - > - </File> - <File - RelativePath="..\..\src\counters.h" - > - </File> - <File - RelativePath="..\..\src\arm\cpu-arm.cc" - > - </File> - <File - RelativePath="..\..\src\cpu.h" - > - </File> - <File - RelativePath="..\..\src\dateparser.cc" - > - </File> - <File - RelativePath="..\..\src\dateparser.h" - > - </File> - <File - RelativePath="..\..\src\debug-agent.cc" - > - </File> - <File - RelativePath="..\..\src\debug-agent.h" - > - </File> - <File - RelativePath="..\..\src\arm\debug-arm.cc" - > - </File> - <File - RelativePath="..\..\src\debug.cc" - > - </File> - <File - RelativePath="..\..\src\debug.h" - > - </File> - <File - RelativePath="..\..\src\disassembler.cc" - > - </File> - <File - RelativePath="..\..\src\disassembler.h" - > - </File> - <File - RelativePath="..\..\src\execution.cc" - > - </File> - <File - RelativePath="..\..\src\execution.h" - > - </File> - <File - RelativePath="..\..\src\factory.cc" - > - </File> - <File - RelativePath="..\..\src\factory.h" - > - </File> - <File - RelativePath="..\..\src\flags.cc" - > - </File> - <File - RelativePath="..\..\src\flags.h" - > - </File> - <File - RelativePath="..\..\src\frame-element.cc" - > - </File> - <File - RelativePath="..\..\src\frame-element.h" - > - </File> - <File - RelativePath="..\..\src\arm\frames-arm.cc" - > - </File> - <File - RelativePath="..\..\src\arm\frames-arm.h" - > - </File> - <File - RelativePath="..\..\src\frames-inl.h" - > - </File> - <File - RelativePath="..\..\src\frames.cc" - > - </File> - <File - RelativePath="..\..\src\frames.h" - > - </File> - <File - RelativePath="..\..\src\func-name-inferrer.cc" - > - </File> - <File - RelativePath="..\..\src\func-name-inferrer.h" - > - </File> - <File - RelativePath="..\..\src\global-handles.cc" - > - </File> - <File - RelativePath="..\..\src\global-handles.h" - > - </File> - <File - RelativePath="..\..\src\globals.h" - > - </File> - <File - RelativePath="..\..\src\handles-inl.h" - > - </File> - <File - RelativePath="..\..\src\handles.cc" - > - </File> - <File - RelativePath="..\..\src\handles.h" - > - </File> - <File - RelativePath="..\..\src\hashmap.cc" - > - </File> - <File - RelativePath="..\..\src\hashmap.h" - > - </File> - <File - RelativePath="..\..\src\heap-inl.h" - > - </File> - <File - RelativePath="..\..\src\heap.cc" - > - </File> - <File - RelativePath="..\..\src\heap.h" - > - </File> - <File - RelativePath="..\..\src\heap-profiler.cc" - > - </File> - <File - RelativePath="..\..\src\heap-profiler.h" - > - </File> - <File - RelativePath="..\..\src\arm\ic-arm.cc" - > - </File> - <File - RelativePath="..\..\src\ic-inl.h" - > - </File> - <File - RelativePath="..\..\src\ic.cc" - > - </File> - <File - RelativePath="..\..\src\ic.h" - > - </File> - <File - RelativePath="..\..\src\interceptors.h" - > - </File> - <File - RelativePath="..\..\src\interpreter-irregexp.cc" - > - </File> - <File - RelativePath="..\..\src\interpreter-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\jump-target.h" - > - </File> - <File - RelativePath="..\..\src\jump-target.cc" - > - </File> - <File - RelativePath="..\..\src\arm\jump-target-arm.cc" - > - </File> - <File - RelativePath="..\..\src\jsregexp.cc" - > - </File> - <File - RelativePath="..\..\src\jsregexp.h" - > - </File> - <File - RelativePath="..\..\src\list-inl.h" - > - </File> - <File - RelativePath="..\..\src\list.h" - > - </File> - <File - RelativePath="..\..\src\log.cc" - > - </File> - <File - RelativePath="..\..\src\log-inl.h" - > - </File> - <File - RelativePath="..\..\src\log.h" - > - </File> - <File - RelativePath="..\..\src\log-utils.cc" - > - </File> - <File - RelativePath="..\..\src\log-utils.h" - > - </File> - <File - RelativePath="..\..\src\arm\macro-assembler-arm.cc" - > - </File> - <File - RelativePath="..\..\src\arm\macro-assembler-arm.h" - > - </File> - <File - RelativePath="..\..\src\macro-assembler.h" - > - </File> - <File - RelativePath="..\..\src\mark-compact.cc" - > - </File> - <File - RelativePath="..\..\src\mark-compact.h" - > - </File> - <File - RelativePath="..\..\src\memory.h" - > - </File> - <File - RelativePath="..\..\src\messages.cc" - > - </File> - <File - RelativePath="..\..\src\messages.h" - > - </File> - <File - RelativePath="..\..\src\natives.h" - > - </File> - <File - RelativePath="..\..\src\objects-debug.cc" - > - <FileConfiguration - Name="Release|Win32" - ExcludedFromBuild="true" - > - <Tool - Name="VCCLCompilerTool" - /> - </FileConfiguration> - </File> - <File - RelativePath="..\..\src\objects-inl.h" - > - </File> - <File - RelativePath="..\..\src\objects.cc" - > - </File> - <File - RelativePath="..\..\src\objects.h" - > - </File> - <File - RelativePath="..\..\src\oprofile-agent.cc" - > - </File> - <File - RelativePath="..\..\src\oprofile-agent.h" - > - </File> - <File - RelativePath="..\..\src\parser.cc" - > - </File> - <File - RelativePath="..\..\src\parser.h" - > - </File> - <File - RelativePath="..\..\src\platform-win32.cc" - > - </File> - <File - RelativePath="..\..\src\platform.h" - > - </File> - <File - RelativePath="..\..\src\prettyprinter.cc" - > - <FileConfiguration - Name="Release|Win32" - ExcludedFromBuild="true" - > - <Tool - Name="VCCLCompilerTool" - /> - </FileConfiguration> - </File> - <File - RelativePath="..\..\src\prettyprinter.h" - > - </File> - <File - RelativePath="..\..\src\property.cc" - > - </File> - <File - RelativePath="..\..\src\property.h" - > - </File> - <File - RelativePath="..\..\src\arm\regexp-macro-assembler-arm.cc" - > - </File> - <File - RelativePath="..\..\src\arm\regexp-macro-assembler-arm.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-tracer.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-tracer.h" - > - </File> - <File - RelativePath="..\..\src\regexp-stack.cc" - > - </File> - <File - RelativePath="..\..\src\register-allocator.h" - > - </File> - <File - RelativePath="..\..\src\register-allocator.cc" - > - </File> - <File - RelativePath="..\..\src\arm\register-allocator-arm.cc" - > - </File> - <File - RelativePath="..\..\src\rewriter.cc" - > - </File> - <File - RelativePath="..\..\src\rewriter.h" - > - </File> - <File - RelativePath="..\..\src\runtime.cc" - > - </File> - <File - RelativePath="..\..\src\runtime.h" - > - </File> - <File - RelativePath="..\..\src\scanner.cc" - > - </File> - <File - RelativePath="..\..\src\scanner.h" - > - </File> - <File - RelativePath="..\..\src\scopeinfo.cc" - > - </File> - <File - RelativePath="..\..\src\scopeinfo.h" - > - </File> - <File - RelativePath="..\..\src\scopes.cc" - > - </File> - <File - RelativePath="..\..\src\scopes.h" - > - </File> - <File - RelativePath="..\..\src\serialize.cc" - > - </File> - <File - RelativePath="..\..\src\serialize.h" - > - </File> - <File - RelativePath="..\..\src\shell.h" - > - </File> - <File - RelativePath="..\..\src\snapshot-common.cc" - > - </File> - <File - RelativePath="..\..\src\snapshot.h" - > - </File> - <File - RelativePath="..\..\src\arm\simulator-arm.cc" - > - </File> - <File - RelativePath="..\..\src\arm\simulator-arm.h" - > - </File> - <File - RelativePath="..\..\src\spaces-inl.h" - > - </File> - <File - RelativePath="..\..\src\spaces.cc" - > - </File> - <File - RelativePath="..\..\src\spaces.h" - > - </File> - <File - RelativePath="..\..\src\string-stream.cc" - > - </File> - <File - RelativePath="..\..\src\string-stream.h" - > - </File> - <File - RelativePath="..\..\src\arm\stub-cache-arm.cc" - > - </File> - <File - RelativePath="..\..\src\stub-cache.cc" - > - </File> - <File - RelativePath="..\..\src\stub-cache.h" - > - </File> - <File - RelativePath="..\..\src\token.cc" - > - </File> - <File - RelativePath="..\..\src\token.h" - > - </File> - <File - RelativePath="..\..\src\top.cc" - > - </File> - <File - RelativePath="..\..\src\top.h" - > - </File> - <File - RelativePath="..\..\src\unicode-inl.h" - > - </File> - <File - RelativePath="..\..\src\unicode.h" - > - </File> - <File - RelativePath="..\..\src\usage-analyzer.cc" - > - </File> - <File - RelativePath="..\..\src\usage-analyzer.h" - > - </File> - <File - RelativePath="..\..\src\utils.cc" - > - </File> - <File - RelativePath="..\..\src\utils.h" - > - </File> - <File - RelativePath="..\..\src\v8-counters.cc" - > - </File> - <File - RelativePath="..\..\src\v8-counters.h" - > - </File> - <File - RelativePath="..\..\src\v8.cc" - > - </File> - <File - RelativePath="..\..\src\v8.h" - > - </File> - <File - RelativePath="..\..\src\v8threads.cc" - > - </File> - <File - RelativePath="..\..\src\v8threads.h" - > - </File> - <File - RelativePath="..\..\src\variables.cc" - > - </File> - <File - RelativePath="..\..\src\variables.h" - > - </File> - <File - RelativePath="..\..\src\version.cc" - > - </File> - <File - RelativePath="..\..\src\version.h" - > - </File> - <File - RelativePath="..\..\src\virtual-frame.h" - > - </File> - <File - RelativePath="..\..\src\arm\virtual-frame-arm.h" - > - </File> - <File - RelativePath="..\..\src\virtual-frame.cc" - > - </File> - <File - RelativePath="..\..\src\arm\virtual-frame-arm.cc" - > - </File> - <File - RelativePath="..\..\src\zone-inl.h" - > - </File> - <File - RelativePath="..\..\src\zone.cc" - > - </File> - <File - RelativePath="..\..\src\zone.h" - > - </File> - <Filter - Name="third party" - > - <File - RelativePath="..\..\src\arm\disasm-arm.cc" - > - </File> - <File - RelativePath="..\..\src\disasm.h" - > - </File> - </Filter> - <Filter - Name="generated files" - > - <File - RelativePath="..\..\src\unicode.cc" - > - </File> - </Filter> - </Filter> - <Filter - Name="include" - > - <File - RelativePath="..\..\include\debug.h" - > - </File> - <File - RelativePath="..\..\include\v8.h" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_base_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_base_x64.vcproj deleted file mode 100644 index 7b8b4d3..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_base_x64.vcproj +++ /dev/null @@ -1,959 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_base" - ProjectGUID="{EC8B7909-62AF-470D-A75D-E1D89C837142}" - RootNamespace="v8_base" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="dtoa" - > - <File - RelativePath="..\..\src\dtoa-config.c" - > - <FileConfiguration - Name="Debug|x64" - > - <Tool - Name="VCCLCompilerTool" - DisableSpecificWarnings="4018;4244" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|x64" - > - <Tool - Name="VCCLCompilerTool" - DisableSpecificWarnings="4018;4244" - /> - </FileConfiguration> - </File> - </Filter> - <Filter - Name="src" - > - <File - RelativePath="..\..\src\accessors.cc" - > - </File> - <File - RelativePath="..\..\src\accessors.h" - > - </File> - <File - RelativePath="..\..\src\allocation.cc" - > - </File> - <File - RelativePath="..\..\src\allocation.h" - > - </File> - <File - RelativePath="..\..\src\api.cc" - > - </File> - <File - RelativePath="..\..\src\api.h" - > - </File> - <File - RelativePath="..\..\src\arguments.h" - > - </File> - <File - RelativePath="..\..\src\x64\assembler-x64-inl.h" - > - </File> - <File - RelativePath="..\..\src\x64\assembler-x64.cc" - > - </File> - <File - RelativePath="..\..\src\x64\assembler-x64.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp-inl.h" - > - </File> - <File - RelativePath="..\..\src\regexp-stack.h" - > - </File> - <File - RelativePath="..\..\src\assembler.cc" - > - </File> - <File - RelativePath="..\..\src\assembler.h" - > - </File> - <File - RelativePath="..\..\src\ast.cc" - > - </File> - <File - RelativePath="..\..\src\ast.h" - > - </File> - <File - RelativePath="..\..\src\bootstrapper.cc" - > - </File> - <File - RelativePath="..\..\src\bootstrapper.h" - > - </File> - <File - RelativePath="..\..\src\x64\builtins-x64.cc" - > - </File> - <File - RelativePath="..\..\src\builtins.cc" - > - </File> - <File - RelativePath="..\..\src\builtins.h" - > - </File> - <File - RelativePath="..\..\src\bytecodes-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\char-predicates-inl.h" - > - </File> - <File - RelativePath="..\..\src\char-predicates.h" - > - </File> - <File - RelativePath="..\..\src\checks.cc" - > - </File> - <File - RelativePath="..\..\src\checks.h" - > - </File> - <File - RelativePath="..\..\src\code-stubs.cc" - > - </File> - <File - RelativePath="..\..\src\code-stubs.h" - > - </File> - <File - RelativePath="..\..\src\code.h" - > - </File> - <File - RelativePath="..\..\src\x64\codegen-x64.cc" - > - </File> - <File - RelativePath="..\..\src\x64\codegen-x64.h" - > - </File> - <File - RelativePath="..\..\src\codegen-inl.h" - > - </File> - <File - RelativePath="..\..\src\codegen.cc" - > - </File> - <File - RelativePath="..\..\src\codegen.h" - > - </File> - <File - RelativePath="..\..\src\compilation-cache.cc" - > - </File> - <File - RelativePath="..\..\src\compilation-cache.h" - > - </File> - <File - RelativePath="..\..\src\compiler.cc" - > - </File> - <File - RelativePath="..\..\src\compiler.h" - > - </File> - <File - RelativePath="..\..\src\contexts.cc" - > - </File> - <File - RelativePath="..\..\src\contexts.h" - > - </File> - <File - RelativePath="..\..\src\conversions-inl.h" - > - </File> - <File - RelativePath="..\..\src\conversions.cc" - > - </File> - <File - RelativePath="..\..\src\conversions.h" - > - </File> - <File - RelativePath="..\..\src\counters.cc" - > - </File> - <File - RelativePath="..\..\src\counters.h" - > - </File> - <File - RelativePath="..\..\src\x64\cpu-x64.cc" - > - </File> - <File - RelativePath="..\..\src\cpu.h" - > - </File> - <File - RelativePath="..\..\src\dateparser.cc" - > - </File> - <File - RelativePath="..\..\src\dateparser.h" - > - </File> - <File - RelativePath="..\..\src\debug-agent.cc" - > - </File> - <File - RelativePath="..\..\src\debug-agent.h" - > - </File> - <File - RelativePath="..\..\src\x64\debug-x64.cc" - > - </File> - <File - RelativePath="..\..\src\debug.cc" - > - </File> - <File - RelativePath="..\..\src\debug.h" - > - </File> - <File - RelativePath="..\..\src\disassembler.cc" - > - </File> - <File - RelativePath="..\..\src\disassembler.h" - > - </File> - <File - RelativePath="..\..\src\execution.cc" - > - </File> - <File - RelativePath="..\..\src\execution.h" - > - </File> - <File - RelativePath="..\..\src\factory.cc" - > - </File> - <File - RelativePath="..\..\src\factory.h" - > - </File> - <File - RelativePath="..\..\src\flags.cc" - > - </File> - <File - RelativePath="..\..\src\flags.h" - > - </File> - <File - RelativePath="..\..\src\frame-element.cc" - > - </File> - <File - RelativePath="..\..\src\frame-element.h" - > - </File> - <File - RelativePath="..\..\src\x64\frames-x64.cc" - > - </File> - <File - RelativePath="..\..\src\x64\frames-x64.h" - > - </File> - <File - RelativePath="..\..\src\frames-inl.h" - > - </File> - <File - RelativePath="..\..\src\frames.cc" - > - </File> - <File - RelativePath="..\..\src\frames.h" - > - </File> - <File - RelativePath="..\..\src\func-name-inferrer.cc" - > - </File> - <File - RelativePath="..\..\src\func-name-inferrer.h" - > - </File> - <File - RelativePath="..\..\src\global-handles.cc" - > - </File> - <File - RelativePath="..\..\src\global-handles.h" - > - </File> - <File - RelativePath="..\..\src\globals.h" - > - </File> - <File - RelativePath="..\..\src\handles-inl.h" - > - </File> - <File - RelativePath="..\..\src\handles.cc" - > - </File> - <File - RelativePath="..\..\src\handles.h" - > - </File> - <File - RelativePath="..\..\src\hashmap.cc" - > - </File> - <File - RelativePath="..\..\src\hashmap.h" - > - </File> - <File - RelativePath="..\..\src\heap-inl.h" - > - </File> - <File - RelativePath="..\..\src\heap.cc" - > - </File> - <File - RelativePath="..\..\src\heap.h" - > - </File> - <File - RelativePath="..\..\src\heap-profiler.cc" - > - </File> - <File - RelativePath="..\..\src\heap-profiler.h" - > - </File> - <File - RelativePath="..\..\src\x64\ic-x64.cc" - > - </File> - <File - RelativePath="..\..\src\ic-inl.h" - > - </File> - <File - RelativePath="..\..\src\ic.cc" - > - </File> - <File - RelativePath="..\..\src\ic.h" - > - </File> - <File - RelativePath="..\..\src\interceptors.h" - > - </File> - <File - RelativePath="..\..\src\interpreter-irregexp.cc" - > - </File> - <File - RelativePath="..\..\src\interpreter-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\jump-target.h" - > - </File> - <File - RelativePath="..\..\src\jump-target-inl.h" - > - </File> - <File - RelativePath="..\..\src\jump-target.cc" - > - </File> - <File - RelativePath="..\..\src\x64\jump-target-x64.cc" - > - </File> - <File - RelativePath="..\..\src\jsregexp.cc" - > - </File> - <File - RelativePath="..\..\src\jsregexp.h" - > - </File> - <File - RelativePath="..\..\src\list-inl.h" - > - </File> - <File - RelativePath="..\..\src\list.h" - > - </File> - <File - RelativePath="..\..\src\log.cc" - > - </File> - <File - RelativePath="..\..\src\log-inl.h" - > - </File> - <File - RelativePath="..\..\src\log.h" - > - </File> - <File - RelativePath="..\..\src\log-utils.cc" - > - </File> - <File - RelativePath="..\..\src\log-utils.h" - > - </File> - <File - RelativePath="..\..\src\x64\macro-assembler-x64.cc" - > - </File> - <File - RelativePath="..\..\src\x64\macro-assembler-x64.h" - > - </File> - <File - RelativePath="..\..\src\macro-assembler.h" - > - </File> - <File - RelativePath="..\..\src\mark-compact.cc" - > - </File> - <File - RelativePath="..\..\src\mark-compact.h" - > - </File> - <File - RelativePath="..\..\src\memory.h" - > - </File> - <File - RelativePath="..\..\src\messages.cc" - > - </File> - <File - RelativePath="..\..\src\messages.h" - > - </File> - <File - RelativePath="..\..\src\natives.h" - > - </File> - <File - RelativePath="..\..\src\objects-debug.cc" - > - <FileConfiguration - Name="Release|x64" - ExcludedFromBuild="true" - > - <Tool - Name="VCCLCompilerTool" - /> - </FileConfiguration> - </File> - <File - RelativePath="..\..\src\objects-inl.h" - > - </File> - <File - RelativePath="..\..\src\objects.cc" - > - </File> - <File - RelativePath="..\..\src\objects.h" - > - </File> - <File - RelativePath="..\..\src\oprofile-agent.cc" - > - </File> - <File - RelativePath="..\..\src\oprofile-agent.h" - > - </File> - <File - RelativePath="..\..\src\parser.cc" - > - </File> - <File - RelativePath="..\..\src\parser.h" - > - </File> - <File - RelativePath="..\..\src\platform-win32.cc" - > - </File> - <File - RelativePath="..\..\src\platform.h" - > - </File> - <File - RelativePath="..\..\src\prettyprinter.cc" - > - <FileConfiguration - Name="Release|x64" - ExcludedFromBuild="true" - > - <Tool - Name="VCCLCompilerTool" - /> - </FileConfiguration> - </File> - <File - RelativePath="..\..\src\prettyprinter.h" - > - </File> - <File - RelativePath="..\..\src\property.cc" - > - </File> - <File - RelativePath="..\..\src\property.h" - > - </File> - <File - RelativePath="..\..\src\x64\regexp-macro-assembler-x64.cc" - > - </File> - <File - RelativePath="..\..\src\x64\regexp-macro-assembler-x64.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-irregexp.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler.h" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-tracer.cc" - > - </File> - <File - RelativePath="..\..\src\regexp-macro-assembler-tracer.h" - > - </File> - <File - RelativePath="..\..\src\regexp-stack.cc" - > - </File> - <File - RelativePath="..\..\src\register-allocator.h" - > - </File> - <File - RelativePath="..\..\src\register-allocator.cc" - > - </File> - <File - RelativePath="..\..\src\x64\register-allocator-x64.cc" - > - </File> - <File - RelativePath="..\..\src\rewriter.cc" - > - </File> - <File - RelativePath="..\..\src\rewriter.h" - > - </File> - <File - RelativePath="..\..\src\runtime.cc" - > - </File> - <File - RelativePath="..\..\src\runtime.h" - > - </File> - <File - RelativePath="..\..\src\scanner.cc" - > - </File> - <File - RelativePath="..\..\src\scanner.h" - > - </File> - <File - RelativePath="..\..\src\scopeinfo.cc" - > - </File> - <File - RelativePath="..\..\src\scopeinfo.h" - > - </File> - <File - RelativePath="..\..\src\scopes.cc" - > - </File> - <File - RelativePath="..\..\src\scopes.h" - > - </File> - <File - RelativePath="..\..\src\serialize.cc" - > - </File> - <File - RelativePath="..\..\src\serialize.h" - > - </File> - <File - RelativePath="..\..\src\shell.h" - > - </File> - <File - RelativePath="..\..\src\snapshot-common.cc" - > - </File> - <File - RelativePath="..\..\src\snapshot.h" - > - </File> - <File - RelativePath="..\..\src\spaces-inl.h" - > - </File> - <File - RelativePath="..\..\src\spaces.cc" - > - </File> - <File - RelativePath="..\..\src\spaces.h" - > - </File> - <File - RelativePath="..\..\src\string-stream.cc" - > - </File> - <File - RelativePath="..\..\src\string-stream.h" - > - </File> - <File - RelativePath="..\..\src\x64\stub-cache-x64.cc" - > - </File> - <File - RelativePath="..\..\src\stub-cache.cc" - > - </File> - <File - RelativePath="..\..\src\stub-cache.h" - > - </File> - <File - RelativePath="..\..\src\token.cc" - > - </File> - <File - RelativePath="..\..\src\token.h" - > - </File> - <File - RelativePath="..\..\src\top.cc" - > - </File> - <File - RelativePath="..\..\src\top.h" - > - </File> - <File - RelativePath="..\..\src\unicode-inl.h" - > - </File> - <File - RelativePath="..\..\src\unicode.h" - > - </File> - <File - RelativePath="..\..\src\usage-analyzer.cc" - > - </File> - <File - RelativePath="..\..\src\usage-analyzer.h" - > - </File> - <File - RelativePath="..\..\src\utils.cc" - > - </File> - <File - RelativePath="..\..\src\utils.h" - > - </File> - <File - RelativePath="..\..\src\v8-counters.cc" - > - </File> - <File - RelativePath="..\..\src\v8-counters.h" - > - </File> - <File - RelativePath="..\..\src\v8.cc" - > - </File> - <File - RelativePath="..\..\src\v8.h" - > - </File> - <File - RelativePath="..\..\src\v8threads.cc" - > - </File> - <File - RelativePath="..\..\src\v8threads.h" - > - </File> - <File - RelativePath="..\..\src\variables.cc" - > - </File> - <File - RelativePath="..\..\src\variables.h" - > - </File> - <File - RelativePath="..\..\src\version.cc" - > - </File> - <File - RelativePath="..\..\src\version.h" - > - </File> - <File - RelativePath="..\..\src\virtual-frame.h" - > - </File> - <File - RelativePath="..\..\src\x64\virtual-frame-x64.h" - > - </File> - <File - RelativePath="..\..\src\virtual-frame.cc" - > - </File> - <File - RelativePath="..\..\src\x64\virtual-frame-x64.cc" - > - </File> - <File - RelativePath="..\..\src\zone-inl.h" - > - </File> - <File - RelativePath="..\..\src\zone.cc" - > - </File> - <File - RelativePath="..\..\src\zone.h" - > - </File> - <Filter - Name="third party" - > - <File - RelativePath="..\..\src\x64\disasm-x64.cc" - > - </File> - <File - RelativePath="..\..\src\disasm.h" - > - </File> - </Filter> - <Filter - Name="generated files" - > - <File - RelativePath="..\..\src\unicode.cc" - > - </File> - </Filter> - </Filter> - <Filter - Name="include" - > - <File - RelativePath="..\..\include\debug.h" - > - </File> - <File - RelativePath="..\..\include\v8.h" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_cctest.vcproj b/V8Binding/v8/tools/visual_studio/v8_cctest.vcproj deleted file mode 100644 index d1cf2e84..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_cctest.vcproj +++ /dev/null @@ -1,255 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_cctest" - ProjectGUID="{97ECC711-7430-4FC4-90FD-004DA880E72A}" - RootNamespace="v8_cctest" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\test\cctest\cctest.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-alloc.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-api.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-assembler-ia32.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-ast.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-compiler.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-conversions.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-debug.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-decls.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-disasm-ia32.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-flags.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-func-name-inference.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-hashmap.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-heap.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-heap-profiler.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-lock.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log-utils.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log-stack-tracer.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-mark-compact.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-platform-win32.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-serialize.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-sockets.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-spaces.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-strings.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-utils.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-version.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_cctest_arm.vcproj b/V8Binding/v8/tools/visual_studio/v8_cctest_arm.vcproj deleted file mode 100644 index 968d134..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_cctest_arm.vcproj +++ /dev/null @@ -1,243 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_cctest" - ProjectGUID="{97ECC711-7430-4FC4-90FD-004DA880E72A}" - RootNamespace="v8_cctest" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\debug.vsprops;.\arm.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\release.vsprops;.\arm.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\test\cctest\cctest.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-alloc.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-api.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-assembler-arm.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-ast.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-compiler.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-conversions.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-debug.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-decls.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-disasm-arm.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-flags.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-hashmap.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-heap.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-heap-profiler.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-lock.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log-utils.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-mark-compact.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-platform-win32.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-serialize.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-spaces.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-strings.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-utils.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-version.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_cctest_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_cctest_x64.vcproj deleted file mode 100644 index 78db1a4..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_cctest_x64.vcproj +++ /dev/null @@ -1,257 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_cctest" - ProjectGUID="{97ECC711-7430-4FC4-90FD-004DA880E72A}" - RootNamespace="v8_cctest" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\test\cctest\cctest.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-alloc.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-api.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-assembler-x64.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-ast.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-compiler.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-conversions.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-debug.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-decls.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-disasm-x64.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-flags.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-func-name-inference.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-hashmap.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-heap.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-heap-profiler.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-lock.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log-utils.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-log-stack-tracer.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-mark-compact.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-platform-win32.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-serialize.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-sockets.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-spaces.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-strings.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-utils.cc" - > - </File> - <File - RelativePath="..\..\test\cctest\test-version.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_mksnapshot.vcproj b/V8Binding/v8/tools/visual_studio/v8_mksnapshot.vcproj deleted file mode 100644 index 00950b0..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_mksnapshot.vcproj +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_mksnapshot" - ProjectGUID="{865575D0-37E2-405E-8CBA-5F6C485B5A26}" - RootNamespace="v8_mksnapshot" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\src\mksnapshot.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_mksnapshot_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_mksnapshot_x64.vcproj deleted file mode 100644 index 1c460e4..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_mksnapshot_x64.vcproj +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_mksnapshot" - ProjectGUID="{865575D0-37E2-405E-8CBA-5F6C485B5A26}" - RootNamespace="v8_mksnapshot" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\src\mksnapshot.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_process_sample.vcproj b/V8Binding/v8/tools/visual_studio/v8_process_sample.vcproj deleted file mode 100644 index d94966b..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_process_sample.vcproj +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_process_sample" - ProjectGUID="{EF019874-D38A-40E3-B17C-DB5923F0A79C}" - RootNamespace="v8_process_sample" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\samples\process.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_process_sample_arm.vcproj b/V8Binding/v8/tools/visual_studio/v8_process_sample_arm.vcproj deleted file mode 100644 index 7320231..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_process_sample_arm.vcproj +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_process_sample" - ProjectGUID="{EF019874-D38A-40E3-B17C-DB5923F0A79C}" - RootNamespace="v8_process_sample" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\samples\process.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_process_sample_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_process_sample_x64.vcproj deleted file mode 100644 index 81adbe0..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_process_sample_x64.vcproj +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_process_sample" - ProjectGUID="{EF019874-D38A-40E3-B17C-DB5923F0A79C}" - RootNamespace="v8_process_sample" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\samples\process.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_shell_sample.vcproj b/V8Binding/v8/tools/visual_studio/v8_shell_sample.vcproj deleted file mode 100644 index 2cbd22d..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_shell_sample.vcproj +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_shell_sample" - ProjectGUID="{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}" - RootNamespace="v8_shell_sample" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\samples\shell.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_shell_sample_arm.vcproj b/V8Binding/v8/tools/visual_studio/v8_shell_sample_arm.vcproj deleted file mode 100644 index ba7e0e0..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_shell_sample_arm.vcproj +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_shell_sample" - ProjectGUID="{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}" - RootNamespace="v8_shell_sample" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\samples\shell.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_shell_sample_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_shell_sample_x64.vcproj deleted file mode 100644 index e1d5164..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_shell_sample_x64.vcproj +++ /dev/null @@ -1,153 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_shell_sample" - ProjectGUID="{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}" - RootNamespace="v8_shell_sample" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="1" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="winmm.lib Ws2_32.lib" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\samples\shell.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_snapshot.vcproj b/V8Binding/v8/tools/visual_studio/v8_snapshot.vcproj deleted file mode 100644 index 29db4f8..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_snapshot.vcproj +++ /dev/null @@ -1,142 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_snapshot" - ProjectGUID="{C0334F9A-1168-4101-9DD8-C30FB252D435}" - RootNamespace="v8_snapshot" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="generated files" - SourceControlFiles="false" - > - <File - RelativePath="$(IntDir)\..\v8\DerivedSources\natives-empty.cc" - > - </File> - <File - RelativePath="$(IntDir)\..\v8_snapshot_cc\DerivedSources\snapshot.cc" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_snapshot_cc.vcproj b/V8Binding/v8/tools/visual_studio/v8_snapshot_cc.vcproj deleted file mode 100644 index 7c4799a..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_snapshot_cc.vcproj +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_snapshot_cc" - ProjectGUID="{0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}" - RootNamespace="v8_snapshot_cc" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="10" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="10" - InheritedPropertySheets=".\common.vsprops;.\ia32.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="generated files" - SourceControlFiles="false" - > - <File - RelativePath="$(OutDir)\v8_mksnapshot.exe" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Building snapshot..." - CommandLine=""$(OutDir)\v8_mksnapshot.exe" "$(IntDir)\DerivedSources\snapshot.cc"
" - AdditionalDependencies="$(OutDir)\v8_mksnapshot.exe" - Outputs="$(IntDir)\DerivedSources\snapshot.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCustomBuildTool" - Description="Building snapshot..." - CommandLine=""$(OutDir)\v8_mksnapshot.exe" "$(IntDir)\DerivedSources\snapshot.cc"
" - AdditionalDependencies="$(OutDir)\v8_mksnapshot.exe" - Outputs="$(IntDir)\DerivedSources\snapshot.cc" - /> - </FileConfiguration> - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_snapshot_cc_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_snapshot_cc_x64.vcproj deleted file mode 100644 index 9c6f9d2..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_snapshot_cc_x64.vcproj +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_snapshot_cc" - ProjectGUID="{0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}" - RootNamespace="v8_snapshot_cc" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="10" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="10" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="generated files" - SourceControlFiles="false" - > - <File - RelativePath="$(OutDir)\v8_mksnapshot.exe" - > - <FileConfiguration - Name="Debug|x64" - > - <Tool - Name="VCCustomBuildTool" - Description="Building snapshot..." - CommandLine=""$(OutDir)\v8_mksnapshot.exe" "$(IntDir)\DerivedSources\snapshot.cc"
" - AdditionalDependencies="$(OutDir)\v8_mksnapshot.exe" - Outputs="$(IntDir)\DerivedSources\snapshot.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|x64" - > - <Tool - Name="VCCustomBuildTool" - Description="Building snapshot..." - CommandLine=""$(OutDir)\v8_mksnapshot.exe" "$(IntDir)\DerivedSources\snapshot.cc"
" - AdditionalDependencies="$(OutDir)\v8_mksnapshot.exe" - Outputs="$(IntDir)\DerivedSources\snapshot.cc" - /> - </FileConfiguration> - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_snapshot_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_snapshot_x64.vcproj deleted file mode 100644 index 0f6c70f..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_snapshot_x64.vcproj +++ /dev/null @@ -1,142 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8_snapshot" - ProjectGUID="{C0334F9A-1168-4101-9DD8-C30FB252D435}" - RootNamespace="v8_snapshot" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="generated files" - SourceControlFiles="false" - > - <File - RelativePath="$(IntDir)\..\v8\DerivedSources\natives-empty.cc" - > - </File> - <File - RelativePath="$(IntDir)\..\v8_snapshot_cc\DerivedSources\snapshot.cc" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/v8_x64.sln b/V8Binding/v8/tools/visual_studio/v8_x64.sln deleted file mode 100644 index 1fa2f16..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_x64.sln +++ /dev/null @@ -1,101 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_base", "v8_base_x64.vcproj", "{EC8B7909-62AF-470D-A75D-E1D89C837142}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8", "v8_x64.vcproj", "{21E22961-22BF-4493-BD3A-868F93DA5179}" - ProjectSection(ProjectDependencies) = postProject - {EC8B7909-62AF-470D-A75D-E1D89C837142} = {EC8B7909-62AF-470D-A75D-E1D89C837142} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_mksnapshot", "v8_mksnapshot_x64.vcproj", "{865575D0-37E2-405E-8CBA-5F6C485B5A26}" - ProjectSection(ProjectDependencies) = postProject - {21E22961-22BF-4493-BD3A-868F93DA5179} = {21E22961-22BF-4493-BD3A-868F93DA5179} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_snapshot", "v8_snapshot_x64.vcproj", "{C0334F9A-1168-4101-9DD8-C30FB252D435}" - ProjectSection(ProjectDependencies) = postProject - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F} = {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F} - {EC8B7909-62AF-470D-A75D-E1D89C837142} = {EC8B7909-62AF-470D-A75D-E1D89C837142} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_shell_sample", "v8_shell_sample_x64.vcproj", "{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E131F77D-B713-48F3-B86D-097ECDCC4C3A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_process_sample", "v8_process_sample_x64.vcproj", "{EF019874-D38A-40E3-B17C-DB5923F0A79C}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_cctest", "v8_cctest_x64.vcproj", "{97ECC711-7430-4FC4-90FD-004DA880E72A}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{AD933CE2-1303-448E-89C8-60B1FDD18EC3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "d8", "d8_x64.vcproj", "{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" - ProjectSection(ProjectDependencies) = postProject - {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_snapshot_cc", "v8_snapshot_cc_x64.vcproj", "{0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}" - ProjectSection(ProjectDependencies) = postProject - {865575D0-37E2-405E-8CBA-5F6C485B5A26} = {865575D0-37E2-405E-8CBA-5F6C485B5A26} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Debug|x64.ActiveCfg = Debug|x64 - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Debug|x64.Build.0 = Debug|x64 - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Release|x64.ActiveCfg = Release|x64 - {0DDBDA8B-A49F-4CC7-A1D5-5BB8297C8A3F}.Release|x64.Build.0 = Release|x64 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Debug|x64.ActiveCfg = Debug|x64 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Debug|x64.Build.0 = Debug|x64 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Release|x64.ActiveCfg = Release|x64 - {21E22961-22BF-4493-BD3A-868F93DA5179}.Release|x64.Build.0 = Release|x64 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Debug|x64.ActiveCfg = Debug|x64 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Debug|x64.Build.0 = Debug|x64 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|x64.ActiveCfg = Release|x64 - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|x64.Build.0 = Release|x64 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|x64.ActiveCfg = Debug|x64 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|x64.Build.0 = Debug|x64 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|x64.ActiveCfg = Release|x64 - {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|x64.Build.0 = Release|x64 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Debug|x64.ActiveCfg = Debug|x64 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Debug|x64.Build.0 = Debug|x64 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Release|x64.ActiveCfg = Release|x64 - {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Release|x64.Build.0 = Release|x64 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Debug|x64.ActiveCfg = Debug|x64 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Debug|x64.Build.0 = Debug|x64 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Release|x64.ActiveCfg = Release|x64 - {97ECC711-7430-4FC4-90FD-004DA880E72A}.Release|x64.Build.0 = Release|x64 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Debug|x64.ActiveCfg = Debug|x64 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Debug|x64.Build.0 = Debug|x64 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Release|x64.ActiveCfg = Release|x64 - {C0334F9A-1168-4101-9DD8-C30FB252D435}.Release|x64.Build.0 = Release|x64 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Debug|x64.ActiveCfg = Debug|x64 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Debug|x64.Build.0 = Debug|x64 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Release|x64.ActiveCfg = Release|x64 - {EC8B7909-62AF-470D-A75D-E1D89C837142}.Release|x64.Build.0 = Release|x64 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Debug|x64.ActiveCfg = Debug|x64 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Debug|x64.Build.0 = Debug|x64 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Release|x64.ActiveCfg = Release|x64 - {EF019874-D38A-40E3-B17C-DB5923F0A79C}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {2DE20FFA-6F5E-48D9-84D8-09B044A5B119} = {E131F77D-B713-48F3-B86D-097ECDCC4C3A} - {97ECC711-7430-4FC4-90FD-004DA880E72A} = {AD933CE2-1303-448E-89C8-60B1FDD18EC3} - {EF019874-D38A-40E3-B17C-DB5923F0A79C} = {E131F77D-B713-48F3-B86D-097ECDCC4C3A} - EndGlobalSection -EndGlobal diff --git a/V8Binding/v8/tools/visual_studio/v8_x64.vcproj b/V8Binding/v8/tools/visual_studio/v8_x64.vcproj deleted file mode 100644 index cbf88c9..0000000 --- a/V8Binding/v8/tools/visual_studio/v8_x64.vcproj +++ /dev/null @@ -1,223 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="v8" - ProjectGUID="{21E22961-22BF-4493-BD3A-868F93DA5179}" - RootNamespace="v8" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|x64" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\debug.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - ConfigurationType="4" - InheritedPropertySheets=".\common.vsprops;.\x64.vsprops;.\release.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - LinkLibraryDependencies="true" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="js" - > - <File - RelativePath="..\..\src\apinatives.js" - > - </File> - <File - RelativePath="..\..\src\array.js" - > - </File> - <File - RelativePath="..\..\src\date-delay.js" - > - </File> - <File - RelativePath="..\..\src\debug-delay.js" - > - </File> - <File - RelativePath="..\..\src\macros.py" - > - </File> - <File - RelativePath="..\..\src\math.js" - > - </File> - <File - RelativePath="..\..\src\messages.js" - > - </File> - <File - RelativePath="..\..\src\mirror-delay.js" - > - </File> - <File - RelativePath="..\..\src\regexp-delay.js" - > - </File> - <File - RelativePath="..\..\src\json-delay.js" - > - </File> - <File - RelativePath="..\..\src\runtime.js" - > - </File> - <File - RelativePath="..\..\src\string.js" - > - </File> - <File - RelativePath="..\..\src\uri.js" - > - </File> - <File - RelativePath="..\..\src\v8natives.js" - > - <FileConfiguration - Name="Debug|x64" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|x64" - > - <Tool - Name="VCCustomBuildTool" - Description="Processing js files..." - CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" - AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" - Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" - /> - </FileConfiguration> - </File> - </Filter> - <Filter - Name="generated files" - > - <File - RelativePath="$(IntDir)\DerivedSources\natives.cc" - > - </File> - </Filter> - <File - RelativePath="..\..\src\snapshot-empty.cc" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/V8Binding/v8/tools/visual_studio/x64.vsprops b/V8Binding/v8/tools/visual_studio/x64.vsprops deleted file mode 100644 index 7587acf..0000000 --- a/V8Binding/v8/tools/visual_studio/x64.vsprops +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - OutputDirectory="$(SolutionDir)$(ConfigurationName)64" - IntermediateDirectory="$(SolutionDir)$(ConfigurationName)64\obj\$(ProjectName)" - Name="x64" - > - <Tool - Name="VCCLCompilerTool" - PreprocessorDefinitions="V8_TARGET_ARCH_X64;V8_NATIVE_REGEXP" - /> -</VisualStudioPropertySheet> diff --git a/V8Binding/v8/tools/windows-tick-processor.bat b/V8Binding/v8/tools/windows-tick-processor.bat deleted file mode 100755 index 6743f68..0000000 --- a/V8Binding/v8/tools/windows-tick-processor.bat +++ /dev/null @@ -1,5 +0,0 @@ -@echo off - -SET tools_dir=%~dp0 - -%tools_dir%..\d8 %tools_dir%splaytree.js %tools_dir%codemap.js %tools_dir%csvparser.js %tools_dir%consarray.js %tools_dir%profile.js %tools_dir%profile_view.js %tools_dir%logreader.js %tools_dir%tickprocessor.js %tools_dir%tickprocessor-driver.js -- --windows %* diff --git a/V8Binding/v8/tools/windows-tick-processor.py b/V8Binding/v8/tools/windows-tick-processor.py deleted file mode 100755 index ade2bf2..0000000 --- a/V8Binding/v8/tools/windows-tick-processor.py +++ /dev/null @@ -1,137 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2008 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. - - -# Usage: process-ticks.py <binary> <logfile> -# -# Where <binary> is the binary program name (eg, v8_shell.exe) and -# <logfile> is the log file name (eg, v8.log). -# -# This tick processor expects to find a map file for the binary named -# binary.map if the binary is named binary.exe. The tick processor -# only works for statically linked executables - no information about -# shared libraries is logged from v8 on Windows. - -import os, re, sys, tickprocessor - -class WindowsTickProcessor(tickprocessor.TickProcessor): - - def Unmangle(self, name): - """Performs very simple unmangling of C++ names. - - Does not handle arguments and template arguments. The mangled names have - the form: - - ?LookupInDescriptor@JSObject@internal@v8@@...arguments info... - - """ - # Name is mangled if it starts with a question mark. - is_mangled = re.match("^\?(.*)", name) - if is_mangled: - substrings = is_mangled.group(1).split('@') - try: - # The function name is terminated by two @s in a row. Find the - # substrings that are part of the function name. - index = substrings.index('') - substrings = substrings[0:index] - except ValueError: - # If we did not find two @s in a row, the mangled name is not in - # the format we expect and we give up. - return name - substrings.reverse() - function_name = "::".join(substrings) - return function_name - return name - - - def ParseMapFile(self, filename): - """Parse map file and add symbol information to the cpp entries.""" - # Locate map file. - has_dot = re.match('^([a-zA-F0-9_-]*)[\.]?.*$', filename) - if has_dot: - map_file_name = has_dot.group(1) + '.map' - try: - map_file = open(map_file_name, 'rb') - except IOError: - sys.exit("Could not open map file: " + map_file_name) - else: - sys.exit("Could not find map file for executable: " + filename) - try: - max_addr = 0 - min_addr = 2**30 - # Process map file and search for function entries. - row_regexp = re.compile(' 0001:[0-9a-fA-F]{8}\s*([_\?@$0-9a-zA-Z]*)\s*([0-9a-fA-F]{8}).*') - for line in map_file: - row = re.match(row_regexp, line) - if row: - addr = int(row.group(2), 16) - if addr > max_addr: - max_addr = addr - if addr < min_addr: - min_addr = addr - mangled_name = row.group(1) - name = self.Unmangle(mangled_name) - self.cpp_entries.Insert(addr, tickprocessor.CodeEntry(addr, name)); - i = min_addr - # Mark the pages for which there are functions in the map file. - while i < max_addr: - page = i >> 12 - self.vm_extent[page] = 1 - i += 4096 - finally: - map_file.close() - - -class WindowsCmdLineProcessor(tickprocessor.CmdLineProcessor): - - def __init__(self): - super(WindowsCmdLineProcessor, self).__init__() - self.binary_file = None - - def GetRequiredArgsNames(self): - return 'binary log_file' - - def ProcessRequiredArgs(self, args): - if len(args) != 2: - self.PrintUsageAndExit() - else: - self.binary_file = args[0] - self.log_file = args[1] - - -def Main(): - cmdline_processor = WindowsCmdLineProcessor() - cmdline_processor.ProcessArguments() - tickprocessor = WindowsTickProcessor() - tickprocessor.ParseMapFile(cmdline_processor.binary_file) - cmdline_processor.RunLogfileProcessing(tickprocessor) - tickprocessor.PrintResults() - -if __name__ == '__main__': - Main() |