2012-01-05 12:17:08 +00:00
|
|
|
# Copyright 2012 the V8 project authors. All rights reserved.
|
2009-04-27 09:04:39 +00:00
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions are
|
|
|
|
# met:
|
2009-05-28 07:08:09 +00:00
|
|
|
#
|
2009-04-27 09:04:39 +00:00
|
|
|
# * 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.
|
2009-05-28 07:08:09 +00:00
|
|
|
#
|
2009-04-27 09:04:39 +00:00
|
|
|
# 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.
|
|
|
|
|
|
|
|
{
|
2013-06-28 15:22:46 +00:00
|
|
|
'variables': {
|
2014-03-25 12:05:33 +00:00
|
|
|
'icu_use_data_file_flag%': 0,
|
2013-06-28 15:22:46 +00:00
|
|
|
'v8_code': 1,
|
2013-11-07 12:01:26 +00:00
|
|
|
'v8_random_seed%': 314159265,
|
2015-09-11 10:00:05 +00:00
|
|
|
'v8_vector_stores%': 0,
|
2016-03-17 10:47:36 +00:00
|
|
|
'embed_script%': "",
|
|
|
|
'warmup_script%': "",
|
2015-04-28 14:55:58 +00:00
|
|
|
'v8_extra_library_files%': [],
|
2015-08-20 00:01:07 +00:00
|
|
|
'v8_experimental_extra_library_files%': [],
|
2015-01-12 15:26:20 +00:00
|
|
|
'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
|
2013-06-28 15:22:46 +00:00
|
|
|
},
|
2013-07-10 11:15:16 +00:00
|
|
|
'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
|
2013-05-15 13:09:57 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'v8',
|
|
|
|
'dependencies_traverse': 1,
|
2015-03-30 14:54:22 +00:00
|
|
|
'dependencies': ['v8_maybe_snapshot'],
|
2013-05-15 13:09:57 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
# Note: on non-Windows we still build this file so that gyp
|
|
|
|
# has some sources to link into the component.
|
|
|
|
'../../src/v8dll-main.cc',
|
|
|
|
],
|
2014-06-03 08:29:03 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../..',
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
2010-07-02 07:39:42 +00:00
|
|
|
],
|
2011-07-18 16:39:41 +00:00
|
|
|
'direct_dependent_settings': {
|
2013-05-15 13:09:57 +00:00
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
2011-07-18 16:39:41 +00:00
|
|
|
],
|
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
'target_conditions': [
|
|
|
|
['OS=="android" and _toolset=="target"', {
|
|
|
|
'libraries': [
|
|
|
|
'-llog',
|
2013-04-10 10:42:54 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'src/common/android/include',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']
|
2012-05-16 15:48:06 +00:00
|
|
|
},
|
2011-01-04 12:14:10 +00:00
|
|
|
}],
|
2013-05-15 13:09:57 +00:00
|
|
|
['soname_version!=""', {
|
|
|
|
'product_extension': 'so.<(soname_version)',
|
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'type': 'none',
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../../include',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2015-03-30 14:54:22 +00:00
|
|
|
{
|
|
|
|
# This rule delegates to either v8_snapshot, v8_nosnapshot, or
|
|
|
|
# v8_external_snapshot, depending on the current variables.
|
|
|
|
# The intention is to make the 'calling' rules a bit simpler.
|
|
|
|
'target_name': 'v8_maybe_snapshot',
|
|
|
|
'type': 'none',
|
|
|
|
'conditions': [
|
|
|
|
['v8_use_snapshot!="true"', {
|
|
|
|
# The dependency on v8_base should come from a transitive
|
|
|
|
# dependency however the Android toolchain requires libv8_base.a
|
|
|
|
# to appear before libv8_snapshot.a so it's listed explicitly.
|
|
|
|
'dependencies': ['v8_base', 'v8_nosnapshot'],
|
|
|
|
}],
|
|
|
|
['v8_use_snapshot=="true" and v8_use_external_startup_data==0', {
|
|
|
|
# The dependency on v8_base should come from a transitive
|
|
|
|
# dependency however the Android toolchain requires libv8_base.a
|
|
|
|
# to appear before libv8_snapshot.a so it's listed explicitly.
|
|
|
|
'dependencies': ['v8_base', 'v8_snapshot'],
|
|
|
|
}],
|
|
|
|
['v8_use_snapshot=="true" and v8_use_external_startup_data==1 and want_separate_host_toolset==0', {
|
|
|
|
'dependencies': ['v8_base', 'v8_external_snapshot'],
|
2016-03-24 17:12:16 +00:00
|
|
|
'inputs': ['<(PRODUCT_DIR)/snapshot_blob.bin'],
|
|
|
|
'conditions': [
|
|
|
|
['v8_separate_ignition_snapshot==1', {
|
|
|
|
'inputs': ['<(PRODUCT_DIR)/snapshot_blob_ignition.bin'],
|
|
|
|
}],
|
|
|
|
]
|
2015-03-30 14:54:22 +00:00
|
|
|
}],
|
|
|
|
['v8_use_snapshot=="true" and v8_use_external_startup_data==1 and want_separate_host_toolset==1', {
|
|
|
|
'dependencies': ['v8_base', 'v8_external_snapshot'],
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
2016-03-24 17:12:16 +00:00
|
|
|
'inputs': ['<(PRODUCT_DIR)/snapshot_blob_host.bin'],
|
2015-03-30 14:54:22 +00:00
|
|
|
}, {
|
2016-03-24 17:12:16 +00:00
|
|
|
'inputs': ['<(PRODUCT_DIR)/snapshot_blob.bin'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['v8_separate_ignition_snapshot==1', {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
'inputs': ['<(PRODUCT_DIR)/snapshot_blob_ignition_host.bin'],
|
|
|
|
}, {
|
|
|
|
'inputs': ['<(PRODUCT_DIR)/snapshot_blob_ignition.bin'],
|
|
|
|
}],
|
2015-03-30 14:54:22 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
]
|
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
{
|
|
|
|
'target_name': 'v8_snapshot',
|
|
|
|
'type': 'static_library',
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
2011-01-04 12:14:10 +00:00
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'mksnapshot#host',
|
2013-05-15 13:09:57 +00:00
|
|
|
'js2c#host',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
2013-11-26 08:50:15 +00:00
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'mksnapshot',
|
2013-11-26 08:50:15 +00:00
|
|
|
'js2c',
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'v8_base',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2015-05-08 08:44:47 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
|
2015-08-20 00:01:07 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'<(INTERMEDIATE_DIR)/snapshot.cc',
|
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'run_mksnapshot',
|
|
|
|
'inputs': [
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(mksnapshot_exec)',
|
|
|
|
'<(embed_script)',
|
2016-03-17 10:32:36 +00:00
|
|
|
'<(warmup_script)',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'outputs': [
|
2009-04-27 09:04:39 +00:00
|
|
|
'<(INTERMEDIATE_DIR)/snapshot.cc',
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'variables': {
|
|
|
|
'mksnapshot_flags': [
|
|
|
|
'--log-snapshot-positions',
|
|
|
|
'--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
|
|
|
|
],
|
2013-11-07 12:01:26 +00:00
|
|
|
'conditions': [
|
|
|
|
['v8_random_seed!=0', {
|
|
|
|
'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
|
|
|
|
}],
|
2015-09-11 10:00:05 +00:00
|
|
|
['v8_vector_stores!=0', {
|
|
|
|
'mksnapshot_flags': ['--vector-stores'],
|
|
|
|
}],
|
2013-11-07 12:01:26 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
'action': [
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(mksnapshot_exec)',
|
2013-05-15 13:09:57 +00:00
|
|
|
'<@(mksnapshot_flags)',
|
2015-09-08 15:24:45 +00:00
|
|
|
'--startup_src', '<@(INTERMEDIATE_DIR)/snapshot.cc',
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(embed_script)',
|
2016-03-17 10:32:36 +00:00
|
|
|
'<(warmup_script)',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2009-04-27 09:04:39 +00:00
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2014-05-22 09:04:24 +00:00
|
|
|
'target_name': 'v8_nosnapshot',
|
2013-05-15 13:09:57 +00:00
|
|
|
'type': 'static_library',
|
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'v8_base',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2015-05-08 08:44:47 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
|
2015-08-20 00:01:07 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
|
2015-03-27 15:28:55 +00:00
|
|
|
'../../src/snapshot/snapshot-empty.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
2014-08-06 11:39:39 +00:00
|
|
|
'dependencies': ['js2c#host'],
|
2013-05-15 13:09:57 +00:00
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
2014-08-06 11:39:39 +00:00
|
|
|
'dependencies': ['js2c'],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
'V8_SHARED',
|
2010-07-02 07:39:42 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
]
|
|
|
|
},
|
2014-06-23 13:52:17 +00:00
|
|
|
{
|
|
|
|
'target_name': 'v8_external_snapshot',
|
|
|
|
'type': 'static_library',
|
|
|
|
'conditions': [
|
2014-10-13 09:36:12 +00:00
|
|
|
[ 'v8_use_external_startup_data==1', {
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
'dependencies': [
|
|
|
|
'mksnapshot#host',
|
|
|
|
'js2c#host',
|
|
|
|
'natives_blob',
|
|
|
|
]}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
'dependencies': [
|
|
|
|
'mksnapshot',
|
|
|
|
'js2c',
|
|
|
|
'natives_blob',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2016-03-24 17:12:16 +00:00
|
|
|
# Extra snapshot blob for ignition.
|
|
|
|
['v8_separate_ignition_snapshot==1', {
|
|
|
|
# This is concatenated to the other actions list of
|
|
|
|
# v8_external_snapshot.
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'run_mksnapshot (ignition)',
|
|
|
|
'inputs': ['<(mksnapshot_exec)'],
|
|
|
|
'variables': {
|
|
|
|
# TODO: Extract common mksnapshot_flags to a separate
|
|
|
|
# variable.
|
|
|
|
'mksnapshot_flags_ignition': [
|
|
|
|
'--ignition',
|
|
|
|
'--log-snapshot-positions',
|
|
|
|
'--logfile', '<(INTERMEDIATE_DIR)/snapshot_ignition.log',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['v8_random_seed!=0', {
|
|
|
|
'mksnapshot_flags_ignition': ['--random-seed', '<(v8_random_seed)'],
|
|
|
|
}],
|
|
|
|
['v8_vector_stores!=0', {
|
|
|
|
'mksnapshot_flags_ignition': ['--vector-stores'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
'outputs': ['<(PRODUCT_DIR)/snapshot_blob_ignition_host.bin'],
|
|
|
|
'action': [
|
|
|
|
'<(mksnapshot_exec)',
|
|
|
|
'<@(mksnapshot_flags_ignition)',
|
|
|
|
'--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_ignition_host.bin',
|
|
|
|
'<(embed_script)',
|
|
|
|
'<(warmup_script)',
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'outputs': ['<(PRODUCT_DIR)/snapshot_blob_ignition.bin'],
|
|
|
|
'action': [
|
|
|
|
'<(mksnapshot_exec)',
|
|
|
|
'<@(mksnapshot_flags_ignition)',
|
|
|
|
'--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_ignition.bin',
|
|
|
|
'<(embed_script)',
|
|
|
|
'<(warmup_script)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'outputs': ['<(PRODUCT_DIR)/snapshot_blob_ignition.bin'],
|
|
|
|
'action': [
|
|
|
|
'<(mksnapshot_exec)',
|
|
|
|
'<@(mksnapshot_flags_ignition)',
|
|
|
|
'--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_ignition.bin',
|
|
|
|
'<(embed_script)',
|
|
|
|
'<(warmup_script)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}],
|
2014-10-13 09:36:12 +00:00
|
|
|
],
|
2014-06-23 13:52:17 +00:00
|
|
|
'dependencies': [
|
2014-10-13 09:36:12 +00:00
|
|
|
'v8_base',
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
2014-10-13 09:36:12 +00:00
|
|
|
'include_dirs+': [
|
|
|
|
'../..',
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
2014-10-13 09:36:12 +00:00
|
|
|
'sources': [
|
2015-03-27 15:28:55 +00:00
|
|
|
'../../src/snapshot/natives-external.cc',
|
|
|
|
'../../src/snapshot/snapshot-external.cc',
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
2014-10-13 09:36:12 +00:00
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'run_mksnapshot (external)',
|
2016-03-24 17:12:16 +00:00
|
|
|
'inputs': ['<(mksnapshot_exec)'],
|
2014-11-24 12:43:28 +00:00
|
|
|
'variables': {
|
|
|
|
'mksnapshot_flags': [
|
|
|
|
'--log-snapshot-positions',
|
|
|
|
'--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['v8_random_seed!=0', {
|
|
|
|
'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
|
|
|
|
}],
|
2015-09-11 10:00:05 +00:00
|
|
|
['v8_vector_stores!=0', {
|
|
|
|
'mksnapshot_flags': ['--vector-stores'],
|
|
|
|
}],
|
2014-11-24 12:43:28 +00:00
|
|
|
],
|
|
|
|
},
|
2014-10-13 09:36:12 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
2016-03-24 17:12:16 +00:00
|
|
|
'outputs': ['<(PRODUCT_DIR)/snapshot_blob_host.bin'],
|
2014-11-24 12:43:28 +00:00
|
|
|
'action': [
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(mksnapshot_exec)',
|
2014-11-24 12:43:28 +00:00
|
|
|
'<@(mksnapshot_flags)',
|
|
|
|
'--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_host.bin',
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(embed_script)',
|
2016-03-17 10:32:36 +00:00
|
|
|
'<(warmup_script)',
|
2014-11-24 12:43:28 +00:00
|
|
|
],
|
2014-10-13 09:36:12 +00:00
|
|
|
}, {
|
2016-03-24 17:12:16 +00:00
|
|
|
'outputs': ['<(PRODUCT_DIR)/snapshot_blob.bin'],
|
2014-11-24 12:43:28 +00:00
|
|
|
'action': [
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(mksnapshot_exec)',
|
2014-11-24 12:43:28 +00:00
|
|
|
'<@(mksnapshot_flags)',
|
|
|
|
'--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin',
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(embed_script)',
|
2016-03-17 10:32:36 +00:00
|
|
|
'<(warmup_script)',
|
2014-11-24 12:43:28 +00:00
|
|
|
],
|
2014-10-13 09:36:12 +00:00
|
|
|
}],
|
2014-08-29 15:04:59 +00:00
|
|
|
],
|
|
|
|
}, {
|
2016-03-24 17:12:16 +00:00
|
|
|
'outputs': ['<(PRODUCT_DIR)/snapshot_blob.bin'],
|
2014-11-24 12:43:28 +00:00
|
|
|
'action': [
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(mksnapshot_exec)',
|
2014-11-24 12:43:28 +00:00
|
|
|
'<@(mksnapshot_flags)',
|
|
|
|
'--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin',
|
2015-01-12 15:26:20 +00:00
|
|
|
'<(embed_script)',
|
2016-03-17 10:32:36 +00:00
|
|
|
'<(warmup_script)',
|
2014-11-24 12:43:28 +00:00
|
|
|
],
|
2014-08-29 15:04:59 +00:00
|
|
|
}],
|
|
|
|
],
|
2014-10-13 09:36:12 +00:00
|
|
|
},
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
2014-10-13 09:36:12 +00:00
|
|
|
}],
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
{
|
2014-05-22 09:04:24 +00:00
|
|
|
'target_name': 'v8_base',
|
2013-05-15 13:09:57 +00:00
|
|
|
'type': 'static_library',
|
2014-04-23 11:51:28 +00:00
|
|
|
'dependencies': [
|
2014-08-29 12:30:50 +00:00
|
|
|
'v8_libbase',
|
2014-04-23 11:51:28 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'variables': {
|
|
|
|
'optimize': 'max',
|
|
|
|
},
|
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2015-12-17 18:48:07 +00:00
|
|
|
# To be able to find base/trace_event/common/trace_event_common.h
|
|
|
|
'../../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
2015-06-03 10:27:46 +00:00
|
|
|
'defines': [
|
|
|
|
# TODO(jochen): Remove again after this is globally turned on.
|
|
|
|
'V8_IMMINENT_DEPRECATION_WARNINGS',
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [ ### gcmole(all) ###
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../include/v8-debug.h',
|
2015-12-11 09:53:50 +00:00
|
|
|
'../../include/v8-experimental.h',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../include/v8-platform.h',
|
|
|
|
'../../include/v8-profiler.h',
|
|
|
|
'../../include/v8-testing.h',
|
|
|
|
'../../include/v8-util.h',
|
|
|
|
'../../include/v8-version.h',
|
|
|
|
'../../include/v8.h',
|
|
|
|
'../../include/v8config.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/accessors.cc',
|
|
|
|
'../../src/accessors.h',
|
2015-10-23 08:28:25 +00:00
|
|
|
'../../src/address-map.cc',
|
|
|
|
'../../src/address-map.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/allocation.cc',
|
|
|
|
'../../src/allocation.h',
|
2013-10-16 08:10:36 +00:00
|
|
|
'../../src/allocation-site-scopes.cc',
|
|
|
|
'../../src/allocation-site-scopes.h',
|
2015-12-11 09:53:50 +00:00
|
|
|
'../../src/api-experimental.cc',
|
|
|
|
'../../src/api-experimental.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/api.cc',
|
|
|
|
'../../src/api.h',
|
2016-03-10 12:14:46 +00:00
|
|
|
'../../src/api-arguments.cc',
|
|
|
|
'../../src/api-arguments.h',
|
2015-02-04 13:01:34 +00:00
|
|
|
'../../src/api-natives.cc',
|
|
|
|
'../../src/api-natives.h',
|
2013-05-21 06:36:24 +00:00
|
|
|
'../../src/arguments.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/arguments.h',
|
|
|
|
'../../src/assembler.cc',
|
|
|
|
'../../src/assembler.h',
|
2013-06-03 15:32:22 +00:00
|
|
|
'../../src/assert-scope.h',
|
2014-03-19 11:31:43 +00:00
|
|
|
'../../src/assert-scope.cc',
|
2016-01-11 12:41:44 +00:00
|
|
|
'../../src/ast/ast-expression-rewriter.cc',
|
|
|
|
'../../src/ast/ast-expression-rewriter.h',
|
2015-11-26 16:22:34 +00:00
|
|
|
'../../src/ast/ast-expression-visitor.cc',
|
|
|
|
'../../src/ast/ast-expression-visitor.h',
|
|
|
|
'../../src/ast/ast-literal-reindexer.cc',
|
|
|
|
'../../src/ast/ast-literal-reindexer.h',
|
|
|
|
'../../src/ast/ast-numbering.cc',
|
|
|
|
'../../src/ast/ast-numbering.h',
|
|
|
|
'../../src/ast/ast-value-factory.cc',
|
|
|
|
'../../src/ast/ast-value-factory.h',
|
|
|
|
'../../src/ast/ast.cc',
|
|
|
|
'../../src/ast/ast.h',
|
|
|
|
'../../src/ast/modules.cc',
|
|
|
|
'../../src/ast/modules.h',
|
|
|
|
'../../src/ast/prettyprinter.cc',
|
|
|
|
'../../src/ast/prettyprinter.h',
|
|
|
|
'../../src/ast/scopeinfo.cc',
|
|
|
|
'../../src/ast/scopeinfo.h',
|
|
|
|
'../../src/ast/scopes.cc',
|
|
|
|
'../../src/ast/scopes.h',
|
|
|
|
'../../src/ast/variables.cc',
|
|
|
|
'../../src/ast/variables.h',
|
2015-09-03 12:54:27 +00:00
|
|
|
'../../src/atomic-utils.h',
|
2014-09-12 09:12:08 +00:00
|
|
|
'../../src/background-parsing-task.cc',
|
|
|
|
'../../src/background-parsing-task.h',
|
2014-09-24 07:08:27 +00:00
|
|
|
'../../src/bailout-reason.cc',
|
|
|
|
'../../src/bailout-reason.h',
|
2014-09-29 07:29:14 +00:00
|
|
|
'../../src/basic-block-profiler.cc',
|
|
|
|
'../../src/basic-block-profiler.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/bignum-dtoa.cc',
|
|
|
|
'../../src/bignum-dtoa.h',
|
|
|
|
'../../src/bignum.cc',
|
|
|
|
'../../src/bignum.h',
|
2014-10-31 10:44:04 +00:00
|
|
|
'../../src/bit-vector.cc',
|
|
|
|
'../../src/bit-vector.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/bootstrapper.cc',
|
|
|
|
'../../src/bootstrapper.h',
|
|
|
|
'../../src/builtins.cc',
|
|
|
|
'../../src/builtins.h',
|
|
|
|
'../../src/cached-powers.cc',
|
|
|
|
'../../src/cached-powers.h',
|
2015-07-20 15:03:51 +00:00
|
|
|
'../../src/cancelable-task.cc',
|
|
|
|
'../../src/cancelable-task.h',
|
2014-10-10 07:13:46 +00:00
|
|
|
'../../src/char-predicates.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/char-predicates-inl.h',
|
|
|
|
'../../src/char-predicates.h',
|
|
|
|
'../../src/checks.h',
|
2014-09-11 13:18:58 +00:00
|
|
|
'../../src/code-factory.cc',
|
|
|
|
'../../src/code-factory.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/code-stubs.cc',
|
|
|
|
'../../src/code-stubs.h',
|
|
|
|
'../../src/code-stubs-hydrogen.cc',
|
|
|
|
'../../src/codegen.cc',
|
|
|
|
'../../src/codegen.h',
|
2016-03-01 14:42:57 +00:00
|
|
|
'../../src/collector.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/compilation-cache.cc',
|
|
|
|
'../../src/compilation-cache.h',
|
2015-04-20 15:22:02 +00:00
|
|
|
'../../src/compilation-dependencies.cc',
|
|
|
|
'../../src/compilation-dependencies.h',
|
2014-10-23 09:14:35 +00:00
|
|
|
'../../src/compilation-statistics.cc',
|
|
|
|
'../../src/compilation-statistics.h',
|
2014-09-02 11:36:55 +00:00
|
|
|
'../../src/compiler/access-builder.cc',
|
2014-08-28 14:35:11 +00:00
|
|
|
'../../src/compiler/access-builder.h',
|
2015-11-02 18:29:47 +00:00
|
|
|
'../../src/compiler/access-info.cc',
|
|
|
|
'../../src/compiler/access-info.h',
|
2015-01-26 18:35:04 +00:00
|
|
|
'../../src/compiler/all-nodes.cc',
|
|
|
|
'../../src/compiler/all-nodes.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/ast-graph-builder.cc',
|
|
|
|
'../../src/compiler/ast-graph-builder.h',
|
2014-10-28 17:29:41 +00:00
|
|
|
'../../src/compiler/ast-loop-assignment-analyzer.cc',
|
|
|
|
'../../src/compiler/ast-loop-assignment-analyzer.h',
|
2014-09-29 07:29:14 +00:00
|
|
|
'../../src/compiler/basic-block-instrumentor.cc',
|
|
|
|
'../../src/compiler/basic-block-instrumentor.h',
|
2015-10-17 17:50:11 +00:00
|
|
|
'../../src/compiler/branch-elimination.cc',
|
|
|
|
'../../src/compiler/branch-elimination.h',
|
2015-12-16 16:29:09 +00:00
|
|
|
'../../src/compiler/bytecode-branch-analysis.cc',
|
|
|
|
'../../src/compiler/bytecode-branch-analysis.h',
|
2015-09-10 16:21:34 +00:00
|
|
|
'../../src/compiler/bytecode-graph-builder.cc',
|
|
|
|
'../../src/compiler/bytecode-graph-builder.h',
|
2014-08-12 08:24:20 +00:00
|
|
|
'../../src/compiler/change-lowering.cc',
|
|
|
|
'../../src/compiler/change-lowering.h',
|
2015-07-30 12:36:15 +00:00
|
|
|
'../../src/compiler/c-linkage.cc',
|
2015-06-29 15:56:26 +00:00
|
|
|
'../../src/compiler/coalesced-live-ranges.cc',
|
|
|
|
'../../src/compiler/coalesced-live-ranges.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/code-generator-impl.h',
|
|
|
|
'../../src/compiler/code-generator.cc',
|
|
|
|
'../../src/compiler/code-generator.h',
|
2015-12-02 12:35:12 +00:00
|
|
|
'../../src/compiler/code-stub-assembler.cc',
|
|
|
|
'../../src/compiler/code-stub-assembler.h',
|
2014-12-23 14:12:04 +00:00
|
|
|
'../../src/compiler/common-node-cache.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/common-node-cache.h',
|
2014-12-22 13:06:34 +00:00
|
|
|
'../../src/compiler/common-operator-reducer.cc',
|
|
|
|
'../../src/compiler/common-operator-reducer.h',
|
2014-09-12 11:59:26 +00:00
|
|
|
'../../src/compiler/common-operator.cc',
|
2014-07-31 15:36:22 +00:00
|
|
|
'../../src/compiler/common-operator.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/control-builders.cc',
|
|
|
|
'../../src/compiler/control-builders.h',
|
2015-04-16 06:04:43 +00:00
|
|
|
'../../src/compiler/control-equivalence.cc',
|
2014-12-02 15:56:22 +00:00
|
|
|
'../../src/compiler/control-equivalence.h',
|
2015-02-17 13:29:31 +00:00
|
|
|
'../../src/compiler/control-flow-optimizer.cc',
|
|
|
|
'../../src/compiler/control-flow-optimizer.h',
|
[turbofan] Proper dead code elimination as regular reducer.
The three different concerns that the ControlReducer used to deal with
are now properly separated into
a.) DeadCodeElimination, which is a regular AdvancedReducer, that
propagates Dead via control edges,
b.) CommonOperatorReducer, which does strength reduction on common
operators (i.e. Branch, Phi, and friends), and
c.) GraphTrimming, which removes dead->live edges from the graph.
This will make it possible to run the DeadCodeElimination together with
other passes that actually introduce Dead nodes, i.e. typed lowering;
and it opens the door for general inlining without two stage fix point
iteration.
To make the DeadCodeElimination easier and more uniform, we basically
reverted the introduction of DeadValue and DeadEffect, and changed the
Dead operator to produce control, value and effect. Note however that
this is not a requirement, but merely a way to make dead propagation
easier and more uniform. We could always go back and decide to have
different Dead operators if some other change requires that.
Note that there are several additional opportunities for cleanup now,
i.e. OSR deconstruction could be a regular reducer now, and we don't
need to use TheHole as dead value marker in the GraphReducer. And we can
actually run the dead code elimination together with the other passes
instead of using separate passes over the graph. We will do this in
follow up CLs.
R=jarin@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/1193833002
Cr-Commit-Position: refs/heads/master@{#29146}
2015-06-19 12:07:17 +00:00
|
|
|
'../../src/compiler/dead-code-elimination.cc',
|
|
|
|
'../../src/compiler/dead-code-elimination.h',
|
2014-11-04 14:37:22 +00:00
|
|
|
'../../src/compiler/diamond.h',
|
2015-12-02 10:53:28 +00:00
|
|
|
'../../src/compiler/escape-analysis.cc',
|
|
|
|
'../../src/compiler/escape-analysis.h',
|
|
|
|
"../../src/compiler/escape-analysis-reducer.cc",
|
|
|
|
"../../src/compiler/escape-analysis-reducer.h",
|
[turbofan] Unify referencing of stack slots
Previously, it was not possible to specify StackSlotOperands for all
slots in both the caller and callee stacks. Specifically, the region
of the callee's stack including the saved return address, frame
pointer, function pointer and context pointer could not be addressed
by the register allocator/gap resolver.
In preparation for better tail call support, which will use the gap
resolver to reconcile outgoing parameters, this change makes it
possible to address all slots on the stack, because slots in the
previously inaccessible dead zone may become parameter slots for
outgoing tail calls. All caller stack slots are accessible as they
were before, with slot -1 corresponding to the last stack
parameter. Stack slot indices >= 0 access the callee stack, with slot
0 corresponding to the callee's saved return address, 1 corresponding
to the saved frame pointer, 2 corresponding to the current function
context, 3 corresponding to the frame marker/JSFunction, and slots 4
and above corresponding to spill slots.
The following changes were specifically needed:
* Frame has been changed to explicitly manage three areas of the
callee frame, the fixed header, the spill slot area, and the
callee-saved register area.
* Conversions from stack slot indices to fp offsets all now go through
a common bottleneck: OptimizedFrame::StackSlotOffsetRelativeToFp
* The generation of deoptimization translation tables has been changed
to support the new stack slot indexing scheme. Crankshaft, which
doesn't support the new slot numbering in its register allocator,
must adapt the indexes when creating translation tables.
* Callee-saved parameters are now kept below spill slots, not above,
to support saving only the optimal set of used registers, which is
only known after register allocation is finished and spill slots
have been allocated.
Review URL: https://codereview.chromium.org/1261923007
Cr-Commit-Position: refs/heads/master@{#30224}
2015-08-18 14:47:56 +00:00
|
|
|
'../../src/compiler/frame.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/frame.h',
|
2015-04-29 05:54:41 +00:00
|
|
|
'../../src/compiler/frame-elider.cc',
|
|
|
|
'../../src/compiler/frame-elider.h',
|
2015-05-11 08:03:03 +00:00
|
|
|
"../../src/compiler/frame-states.cc",
|
|
|
|
"../../src/compiler/frame-states.h",
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/gap-resolver.cc',
|
|
|
|
'../../src/compiler/gap-resolver.h',
|
|
|
|
'../../src/compiler/graph-reducer.cc',
|
|
|
|
'../../src/compiler/graph-reducer.h',
|
|
|
|
'../../src/compiler/graph-replay.cc',
|
|
|
|
'../../src/compiler/graph-replay.h',
|
2015-06-17 10:56:27 +00:00
|
|
|
'../../src/compiler/graph-trimmer.cc',
|
|
|
|
'../../src/compiler/graph-trimmer.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/graph-visualizer.cc',
|
|
|
|
'../../src/compiler/graph-visualizer.h',
|
|
|
|
'../../src/compiler/graph.cc',
|
|
|
|
'../../src/compiler/graph.h',
|
2015-06-16 17:10:14 +00:00
|
|
|
'../../src/compiler/greedy-allocator.cc',
|
|
|
|
'../../src/compiler/greedy-allocator.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/instruction-codes.h',
|
|
|
|
'../../src/compiler/instruction-selector-impl.h',
|
|
|
|
'../../src/compiler/instruction-selector.cc',
|
|
|
|
'../../src/compiler/instruction-selector.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/instruction-scheduler.cc',
|
|
|
|
'../../src/compiler/instruction-scheduler.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/instruction.cc',
|
|
|
|
'../../src/compiler/instruction.h',
|
2016-02-04 09:40:55 +00:00
|
|
|
'../../src/compiler/int64-lowering.cc',
|
|
|
|
'../../src/compiler/int64-lowering.h',
|
2014-09-19 15:02:58 +00:00
|
|
|
'../../src/compiler/js-builtin-reducer.cc',
|
|
|
|
'../../src/compiler/js-builtin-reducer.h',
|
2015-11-13 12:19:37 +00:00
|
|
|
'../../src/compiler/js-call-reducer.cc',
|
|
|
|
'../../src/compiler/js-call-reducer.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/js-context-specialization.cc',
|
|
|
|
'../../src/compiler/js-context-specialization.h',
|
2016-02-08 12:33:44 +00:00
|
|
|
'../../src/compiler/js-create-lowering.cc',
|
|
|
|
'../../src/compiler/js-create-lowering.h',
|
2015-07-06 11:11:15 +00:00
|
|
|
'../../src/compiler/js-frame-specialization.cc',
|
|
|
|
'../../src/compiler/js-frame-specialization.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/js-generic-lowering.cc',
|
|
|
|
'../../src/compiler/js-generic-lowering.h',
|
2015-11-03 14:20:15 +00:00
|
|
|
'../../src/compiler/js-global-object-specialization.cc',
|
|
|
|
'../../src/compiler/js-global-object-specialization.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/js-graph.cc',
|
|
|
|
'../../src/compiler/js-graph.h',
|
2014-08-20 13:05:03 +00:00
|
|
|
'../../src/compiler/js-inlining.cc',
|
|
|
|
'../../src/compiler/js-inlining.h',
|
2015-10-07 12:18:21 +00:00
|
|
|
'../../src/compiler/js-inlining-heuristic.cc',
|
|
|
|
'../../src/compiler/js-inlining-heuristic.h',
|
2015-01-26 09:05:47 +00:00
|
|
|
'../../src/compiler/js-intrinsic-lowering.cc',
|
|
|
|
'../../src/compiler/js-intrinsic-lowering.h',
|
2015-10-19 08:20:51 +00:00
|
|
|
'../../src/compiler/js-native-context-specialization.cc',
|
|
|
|
'../../src/compiler/js-native-context-specialization.h',
|
2014-09-30 10:42:44 +00:00
|
|
|
'../../src/compiler/js-operator.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/js-operator.h',
|
|
|
|
'../../src/compiler/js-typed-lowering.cc',
|
|
|
|
'../../src/compiler/js-typed-lowering.h',
|
2014-11-26 12:41:46 +00:00
|
|
|
'../../src/compiler/jump-threading.cc',
|
|
|
|
'../../src/compiler/jump-threading.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/linkage.cc',
|
|
|
|
'../../src/compiler/linkage.h',
|
2015-03-17 09:38:37 +00:00
|
|
|
'../../src/compiler/liveness-analyzer.cc',
|
|
|
|
'../../src/compiler/liveness-analyzer.h',
|
[turbofan] Deferred blocks splintering.
This change encompasses what is necessary to enable stack checks in loops without suffering large regressions.
Primarily, it consists of a new mechanism for dealing with deferred blocks by "splintering", rather than splitting, inside deferred blocks.
My initial change was splitting along deferred block boundaries, but the regression introduced by stackchecks wasn't resolved conclusively. After investigation, it appears that just splitting ranges along cold block boundaries leads to a greater opportunity for moves on the hot path, hence the suboptimal outcome.
The alternative "splinters" ranges rather than splitting them. While splitting creates 2 ranges and links them (parent-child), in contrast, splintering creates a new independent range with no parent-child relation to the original. The original range appears as if it has a liveness hole in the place of the splintered one. All thus obtained ranges are then register allocated with no change to the register allocator.
The splinters (cold blocks) do not conflict with the hot path ranges, by construction. The hot path ones have less pressure to split, because we remove a source of conflicts. After allocation, we merge the splinters back to their original ranges and continue the pipeline. We leverage the previous changes made for deferred blocks (determining where to spill, for example).
Review URL: https://codereview.chromium.org/1305393003
Cr-Commit-Position: refs/heads/master@{#30357}
2015-08-25 14:47:26 +00:00
|
|
|
'../../src/compiler/live-range-separator.cc',
|
|
|
|
'../../src/compiler/live-range-separator.h',
|
2014-12-05 07:59:04 +00:00
|
|
|
'../../src/compiler/load-elimination.cc',
|
|
|
|
'../../src/compiler/load-elimination.h',
|
2014-12-16 09:36:16 +00:00
|
|
|
'../../src/compiler/loop-analysis.cc',
|
|
|
|
'../../src/compiler/loop-analysis.h',
|
2015-01-20 09:45:02 +00:00
|
|
|
'../../src/compiler/loop-peeling.cc',
|
|
|
|
'../../src/compiler/loop-peeling.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/machine-operator-reducer.cc',
|
|
|
|
'../../src/compiler/machine-operator-reducer.h',
|
2014-09-11 10:37:49 +00:00
|
|
|
'../../src/compiler/machine-operator.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/machine-operator.h',
|
2014-11-27 09:19:31 +00:00
|
|
|
'../../src/compiler/move-optimizer.cc',
|
|
|
|
'../../src/compiler/move-optimizer.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/node-aux-data.h',
|
|
|
|
'../../src/compiler/node-cache.cc',
|
|
|
|
'../../src/compiler/node-cache.h',
|
2015-01-07 14:42:38 +00:00
|
|
|
'../../src/compiler/node-marker.cc',
|
|
|
|
'../../src/compiler/node-marker.h',
|
2015-02-24 12:26:16 +00:00
|
|
|
'../../src/compiler/node-matchers.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/node-matchers.h',
|
2015-01-16 11:04:01 +00:00
|
|
|
'../../src/compiler/node-properties.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/node-properties.h',
|
|
|
|
'../../src/compiler/node.cc',
|
|
|
|
'../../src/compiler/node.h',
|
2014-12-23 19:24:03 +00:00
|
|
|
'../../src/compiler/opcodes.cc',
|
2014-07-31 15:36:22 +00:00
|
|
|
'../../src/compiler/opcodes.h',
|
2014-12-23 12:50:43 +00:00
|
|
|
'../../src/compiler/operator-properties.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/operator-properties.h',
|
2014-09-02 11:36:55 +00:00
|
|
|
'../../src/compiler/operator.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/operator.h',
|
2015-01-12 11:39:48 +00:00
|
|
|
'../../src/compiler/osr.cc',
|
|
|
|
'../../src/compiler/osr.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/pipeline.cc',
|
|
|
|
'../../src/compiler/pipeline.h',
|
2014-10-23 09:14:35 +00:00
|
|
|
'../../src/compiler/pipeline-statistics.cc',
|
|
|
|
'../../src/compiler/pipeline-statistics.h',
|
2015-07-07 15:02:39 +00:00
|
|
|
'../../src/compiler/raw-machine-assembler.cc',
|
|
|
|
'../../src/compiler/raw-machine-assembler.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/register-allocator.cc',
|
|
|
|
'../../src/compiler/register-allocator.h',
|
2014-11-10 11:28:54 +00:00
|
|
|
'../../src/compiler/register-allocator-verifier.cc',
|
|
|
|
'../../src/compiler/register-allocator-verifier.h',
|
2015-11-25 09:59:03 +00:00
|
|
|
'../../src/compiler/representation-change.cc',
|
2014-07-31 15:36:22 +00:00
|
|
|
'../../src/compiler/representation-change.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/schedule.cc',
|
|
|
|
'../../src/compiler/schedule.h',
|
|
|
|
'../../src/compiler/scheduler.cc',
|
|
|
|
'../../src/compiler/scheduler.h',
|
2014-11-03 15:17:08 +00:00
|
|
|
'../../src/compiler/select-lowering.cc',
|
|
|
|
'../../src/compiler/select-lowering.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/simplified-lowering.cc',
|
|
|
|
'../../src/compiler/simplified-lowering.h',
|
2015-06-25 04:47:06 +00:00
|
|
|
'../../src/compiler/simplified-operator-reducer.cc',
|
|
|
|
'../../src/compiler/simplified-operator-reducer.h',
|
2014-09-02 11:36:55 +00:00
|
|
|
'../../src/compiler/simplified-operator.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/simplified-operator.h',
|
|
|
|
'../../src/compiler/source-position.cc',
|
|
|
|
'../../src/compiler/source-position.h',
|
2015-03-16 13:43:02 +00:00
|
|
|
'../../src/compiler/state-values-utils.cc',
|
|
|
|
'../../src/compiler/state-values-utils.h',
|
2015-05-05 09:42:59 +00:00
|
|
|
'../../src/compiler/tail-call-optimization.cc',
|
|
|
|
'../../src/compiler/tail-call-optimization.h',
|
2015-12-01 09:03:10 +00:00
|
|
|
'../../src/compiler/type-hint-analyzer.cc',
|
|
|
|
'../../src/compiler/type-hint-analyzer.h',
|
|
|
|
'../../src/compiler/type-hints.cc',
|
|
|
|
'../../src/compiler/type-hints.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/typer.cc',
|
|
|
|
'../../src/compiler/typer.h',
|
2014-09-04 11:13:35 +00:00
|
|
|
'../../src/compiler/value-numbering-reducer.cc',
|
|
|
|
'../../src/compiler/value-numbering-reducer.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/verifier.cc',
|
|
|
|
'../../src/compiler/verifier.h',
|
2016-01-05 18:06:34 +00:00
|
|
|
'../../src/compiler/wasm-compiler.cc',
|
|
|
|
'../../src/compiler/wasm-compiler.h',
|
|
|
|
'../../src/compiler/wasm-linkage.cc',
|
2014-10-21 12:38:46 +00:00
|
|
|
'../../src/compiler/zone-pool.cc',
|
|
|
|
'../../src/compiler/zone-pool.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/compiler.cc',
|
|
|
|
'../../src/compiler.h',
|
2015-08-05 14:06:43 +00:00
|
|
|
'../../src/context-measure.cc',
|
|
|
|
'../../src/context-measure.h',
|
2015-09-01 09:25:19 +00:00
|
|
|
'../../src/contexts-inl.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/contexts.cc',
|
|
|
|
'../../src/contexts.h',
|
|
|
|
'../../src/conversions-inl.h',
|
|
|
|
'../../src/conversions.cc',
|
|
|
|
'../../src/conversions.h',
|
|
|
|
'../../src/counters.cc',
|
|
|
|
'../../src/counters.h',
|
2016-03-02 17:30:34 +00:00
|
|
|
'../../src/crankshaft/compilation-phase.cc',
|
|
|
|
'../../src/crankshaft/compilation-phase.h',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/hydrogen-alias-analysis.h',
|
|
|
|
'../../src/crankshaft/hydrogen-bce.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-bce.h',
|
|
|
|
'../../src/crankshaft/hydrogen-canonicalize.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-canonicalize.h',
|
|
|
|
'../../src/crankshaft/hydrogen-check-elimination.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-check-elimination.h',
|
|
|
|
'../../src/crankshaft/hydrogen-dce.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-dce.h',
|
|
|
|
'../../src/crankshaft/hydrogen-dehoist.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-dehoist.h',
|
|
|
|
'../../src/crankshaft/hydrogen-environment-liveness.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-environment-liveness.h',
|
|
|
|
'../../src/crankshaft/hydrogen-escape-analysis.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-escape-analysis.h',
|
|
|
|
'../../src/crankshaft/hydrogen-flow-engine.h',
|
|
|
|
'../../src/crankshaft/hydrogen-gvn.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-gvn.h',
|
|
|
|
'../../src/crankshaft/hydrogen-infer-representation.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-infer-representation.h',
|
|
|
|
'../../src/crankshaft/hydrogen-infer-types.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-infer-types.h',
|
|
|
|
'../../src/crankshaft/hydrogen-instructions.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-instructions.h',
|
|
|
|
'../../src/crankshaft/hydrogen-load-elimination.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-load-elimination.h',
|
|
|
|
'../../src/crankshaft/hydrogen-mark-deoptimize.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-mark-deoptimize.h',
|
|
|
|
'../../src/crankshaft/hydrogen-mark-unreachable.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-mark-unreachable.h',
|
|
|
|
'../../src/crankshaft/hydrogen-osr.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-osr.h',
|
|
|
|
'../../src/crankshaft/hydrogen-range-analysis.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-range-analysis.h',
|
|
|
|
'../../src/crankshaft/hydrogen-redundant-phi.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-redundant-phi.h',
|
|
|
|
'../../src/crankshaft/hydrogen-removable-simulates.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-removable-simulates.h',
|
|
|
|
'../../src/crankshaft/hydrogen-representation-changes.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-representation-changes.h',
|
|
|
|
'../../src/crankshaft/hydrogen-sce.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-sce.h',
|
|
|
|
'../../src/crankshaft/hydrogen-store-elimination.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-store-elimination.h',
|
|
|
|
'../../src/crankshaft/hydrogen-types.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-types.h',
|
|
|
|
'../../src/crankshaft/hydrogen-uint32-analysis.cc',
|
|
|
|
'../../src/crankshaft/hydrogen-uint32-analysis.h',
|
|
|
|
'../../src/crankshaft/hydrogen.cc',
|
|
|
|
'../../src/crankshaft/hydrogen.h',
|
|
|
|
'../../src/crankshaft/lithium-allocator-inl.h',
|
|
|
|
'../../src/crankshaft/lithium-allocator.cc',
|
|
|
|
'../../src/crankshaft/lithium-allocator.h',
|
|
|
|
'../../src/crankshaft/lithium-codegen.cc',
|
|
|
|
'../../src/crankshaft/lithium-codegen.h',
|
|
|
|
'../../src/crankshaft/lithium.cc',
|
|
|
|
'../../src/crankshaft/lithium.h',
|
|
|
|
'../../src/crankshaft/lithium-inl.h',
|
|
|
|
'../../src/crankshaft/typing.cc',
|
|
|
|
'../../src/crankshaft/typing.h',
|
|
|
|
'../../src/crankshaft/unique.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/date.cc',
|
|
|
|
'../../src/date.h',
|
|
|
|
'../../src/dateparser-inl.h',
|
|
|
|
'../../src/dateparser.cc',
|
|
|
|
'../../src/dateparser.h',
|
2015-08-04 12:08:56 +00:00
|
|
|
'../../src/debug/debug-evaluate.cc',
|
|
|
|
'../../src/debug/debug-evaluate.h',
|
|
|
|
'../../src/debug/debug-frames.cc',
|
|
|
|
'../../src/debug/debug-frames.h',
|
|
|
|
'../../src/debug/debug-scopes.cc',
|
|
|
|
'../../src/debug/debug-scopes.h',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/debug.cc',
|
|
|
|
'../../src/debug/debug.h',
|
|
|
|
'../../src/debug/liveedit.cc',
|
|
|
|
'../../src/debug/liveedit.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/deoptimizer.cc',
|
|
|
|
'../../src/deoptimizer.h',
|
|
|
|
'../../src/disasm.h',
|
|
|
|
'../../src/disassembler.cc',
|
|
|
|
'../../src/disassembler.h',
|
|
|
|
'../../src/diy-fp.cc',
|
|
|
|
'../../src/diy-fp.h',
|
|
|
|
'../../src/double.h',
|
|
|
|
'../../src/dtoa.cc',
|
|
|
|
'../../src/dtoa.h',
|
2013-08-06 12:57:23 +00:00
|
|
|
'../../src/effects.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/elements-kind.cc',
|
|
|
|
'../../src/elements-kind.h',
|
|
|
|
'../../src/elements.cc',
|
|
|
|
'../../src/elements.h',
|
|
|
|
'../../src/execution.cc',
|
|
|
|
'../../src/execution.h',
|
|
|
|
'../../src/extensions/externalize-string-extension.cc',
|
|
|
|
'../../src/extensions/externalize-string-extension.h',
|
2013-11-27 09:22:04 +00:00
|
|
|
'../../src/extensions/free-buffer-extension.cc',
|
|
|
|
'../../src/extensions/free-buffer-extension.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/extensions/gc-extension.cc',
|
|
|
|
'../../src/extensions/gc-extension.h',
|
|
|
|
'../../src/extensions/statistics-extension.cc',
|
|
|
|
'../../src/extensions/statistics-extension.h',
|
2013-12-05 17:26:22 +00:00
|
|
|
'../../src/extensions/trigger-failure-extension.cc',
|
|
|
|
'../../src/extensions/trigger-failure-extension.h',
|
2016-03-17 13:14:11 +00:00
|
|
|
'../../src/external-reference-table.cc',
|
|
|
|
'../../src/external-reference-table.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/factory.cc',
|
|
|
|
'../../src/factory.h',
|
2016-03-17 11:04:51 +00:00
|
|
|
'../../src/fast-accessor-assembler.cc',
|
|
|
|
'../../src/fast-accessor-assembler.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/fast-dtoa.cc',
|
|
|
|
'../../src/fast-dtoa.h',
|
2014-06-10 14:01:08 +00:00
|
|
|
'../../src/field-index.h',
|
|
|
|
'../../src/field-index-inl.h',
|
2016-02-16 10:22:23 +00:00
|
|
|
'../../src/field-type.cc',
|
|
|
|
'../../src/field-type.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/fixed-dtoa.cc',
|
|
|
|
'../../src/fixed-dtoa.h',
|
|
|
|
'../../src/flag-definitions.h',
|
|
|
|
'../../src/flags.cc',
|
|
|
|
'../../src/flags.h',
|
|
|
|
'../../src/frames-inl.h',
|
|
|
|
'../../src/frames.cc',
|
|
|
|
'../../src/frames.h',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/full-codegen.cc',
|
|
|
|
'../../src/full-codegen/full-codegen.h',
|
2015-07-17 17:11:32 +00:00
|
|
|
'../../src/futex-emulation.cc',
|
|
|
|
'../../src/futex-emulation.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/gdb-jit.cc',
|
|
|
|
'../../src/gdb-jit.h',
|
|
|
|
'../../src/global-handles.cc',
|
|
|
|
'../../src/global-handles.h',
|
|
|
|
'../../src/globals.h',
|
|
|
|
'../../src/handles-inl.h',
|
|
|
|
'../../src/handles.cc',
|
|
|
|
'../../src/handles.h',
|
|
|
|
'../../src/hashmap.h',
|
2016-01-26 09:23:11 +00:00
|
|
|
'../../src/heap-symbols.h',
|
2015-09-07 19:38:12 +00:00
|
|
|
'../../src/heap/array-buffer-tracker.cc',
|
|
|
|
'../../src/heap/array-buffer-tracker.h',
|
2015-07-07 11:37:44 +00:00
|
|
|
'../../src/heap/memory-reducer.cc',
|
|
|
|
'../../src/heap/memory-reducer.h',
|
2014-08-20 10:33:03 +00:00
|
|
|
'../../src/heap/gc-idle-time-handler.cc',
|
|
|
|
'../../src/heap/gc-idle-time-handler.h',
|
2014-08-05 08:18:22 +00:00
|
|
|
'../../src/heap/gc-tracer.cc',
|
|
|
|
'../../src/heap/gc-tracer.h',
|
|
|
|
'../../src/heap/heap-inl.h',
|
|
|
|
'../../src/heap/heap.cc',
|
|
|
|
'../../src/heap/heap.h',
|
|
|
|
'../../src/heap/incremental-marking-inl.h',
|
2015-09-08 15:54:24 +00:00
|
|
|
'../../src/heap/incremental-marking-job.cc',
|
|
|
|
'../../src/heap/incremental-marking-job.h',
|
2014-08-05 08:18:22 +00:00
|
|
|
'../../src/heap/incremental-marking.cc',
|
|
|
|
'../../src/heap/incremental-marking.h',
|
|
|
|
'../../src/heap/mark-compact-inl.h',
|
|
|
|
'../../src/heap/mark-compact.cc',
|
|
|
|
'../../src/heap/mark-compact.h',
|
2015-09-02 16:43:21 +00:00
|
|
|
'../../src/heap/object-stats.cc',
|
|
|
|
'../../src/heap/object-stats.h',
|
2014-08-07 12:21:01 +00:00
|
|
|
'../../src/heap/objects-visiting-inl.h',
|
|
|
|
'../../src/heap/objects-visiting.cc',
|
|
|
|
'../../src/heap/objects-visiting.h',
|
2016-03-10 12:18:25 +00:00
|
|
|
'../../src/heap/page-parallel-job.h',
|
2016-02-16 12:34:30 +00:00
|
|
|
'../../src/heap/remembered-set.cc',
|
|
|
|
'../../src/heap/remembered-set.h',
|
2015-09-25 14:49:07 +00:00
|
|
|
'../../src/heap/scavenge-job.h',
|
|
|
|
'../../src/heap/scavenge-job.cc',
|
2015-09-14 11:44:20 +00:00
|
|
|
'../../src/heap/scavenger-inl.h',
|
|
|
|
'../../src/heap/scavenger.cc',
|
|
|
|
'../../src/heap/scavenger.h',
|
2016-02-08 08:51:02 +00:00
|
|
|
'../../src/heap/slot-set.h',
|
2014-08-05 08:18:22 +00:00
|
|
|
'../../src/heap/spaces-inl.h',
|
|
|
|
'../../src/heap/spaces.cc',
|
|
|
|
'../../src/heap/spaces.h',
|
2014-08-11 14:22:24 +00:00
|
|
|
'../../src/heap/store-buffer.cc',
|
|
|
|
'../../src/heap/store-buffer.h',
|
2013-08-20 08:46:36 +00:00
|
|
|
'../../src/i18n.cc',
|
|
|
|
'../../src/i18n.h',
|
2013-07-11 09:58:54 +00:00
|
|
|
'../../src/icu_util.cc',
|
|
|
|
'../../src/icu_util.h',
|
2014-08-22 14:36:54 +00:00
|
|
|
'../../src/ic/access-compiler.cc',
|
|
|
|
'../../src/ic/access-compiler.h',
|
|
|
|
'../../src/ic/call-optimization.cc',
|
|
|
|
'../../src/ic/call-optimization.h',
|
2014-08-25 11:17:37 +00:00
|
|
|
'../../src/ic/handler-compiler.cc',
|
|
|
|
'../../src/ic/handler-compiler.h',
|
2014-08-22 11:43:39 +00:00
|
|
|
'../../src/ic/ic-inl.h',
|
2014-09-16 12:51:33 +00:00
|
|
|
'../../src/ic/ic-state.cc',
|
|
|
|
'../../src/ic/ic-state.h',
|
2014-08-22 11:43:39 +00:00
|
|
|
'../../src/ic/ic.cc',
|
|
|
|
'../../src/ic/ic.h',
|
|
|
|
'../../src/ic/ic-compiler.cc',
|
|
|
|
'../../src/ic/ic-compiler.h',
|
2015-08-28 13:00:59 +00:00
|
|
|
'../../src/identity-map.cc',
|
|
|
|
'../../src/identity-map.h',
|
2014-08-29 10:40:02 +00:00
|
|
|
'../../src/interface-descriptors.cc',
|
|
|
|
'../../src/interface-descriptors.h',
|
2015-07-23 14:21:26 +00:00
|
|
|
'../../src/interpreter/bytecodes.cc',
|
|
|
|
'../../src/interpreter/bytecodes.h',
|
2015-08-03 10:42:16 +00:00
|
|
|
'../../src/interpreter/bytecode-array-builder.cc',
|
|
|
|
'../../src/interpreter/bytecode-array-builder.h',
|
2015-09-10 16:21:34 +00:00
|
|
|
'../../src/interpreter/bytecode-array-iterator.cc',
|
|
|
|
'../../src/interpreter/bytecode-array-iterator.h',
|
2016-01-14 13:43:14 +00:00
|
|
|
'../../src/interpreter/bytecode-register-allocator.cc',
|
|
|
|
'../../src/interpreter/bytecode-register-allocator.h',
|
2015-10-01 17:22:58 +00:00
|
|
|
'../../src/interpreter/bytecode-generator.cc',
|
|
|
|
'../../src/interpreter/bytecode-generator.h',
|
|
|
|
'../../src/interpreter/bytecode-traits.h',
|
2016-01-05 19:08:11 +00:00
|
|
|
'../../src/interpreter/constant-array-builder.cc',
|
|
|
|
'../../src/interpreter/constant-array-builder.h',
|
2015-10-01 15:04:09 +00:00
|
|
|
'../../src/interpreter/control-flow-builders.cc',
|
|
|
|
'../../src/interpreter/control-flow-builders.h',
|
2016-01-20 10:46:18 +00:00
|
|
|
'../../src/interpreter/handler-table-builder.cc',
|
|
|
|
'../../src/interpreter/handler-table-builder.h',
|
2015-07-23 14:21:26 +00:00
|
|
|
'../../src/interpreter/interpreter.cc',
|
|
|
|
'../../src/interpreter/interpreter.h',
|
2016-02-10 16:38:49 +00:00
|
|
|
'../../src/interpreter/interpreter-assembler.cc',
|
|
|
|
'../../src/interpreter/interpreter-assembler.h',
|
2016-03-22 11:35:09 +00:00
|
|
|
'../../src/interpreter/interpreter-intrinsics.cc',
|
|
|
|
'../../src/interpreter/interpreter-intrinsics.h',
|
2016-02-04 10:50:01 +00:00
|
|
|
'../../src/interpreter/source-position-table.cc',
|
|
|
|
'../../src/interpreter/source-position-table.h',
|
2015-09-01 09:25:19 +00:00
|
|
|
'../../src/isolate-inl.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/isolate.cc',
|
|
|
|
'../../src/isolate.h',
|
2016-02-10 11:28:13 +00:00
|
|
|
'../../src/json-parser.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/json-stringifier.h',
|
2016-03-07 19:25:12 +00:00
|
|
|
'../../src/keys.h',
|
|
|
|
'../../src/keys.cc',
|
2015-04-28 14:55:58 +00:00
|
|
|
'../../src/layout-descriptor-inl.h',
|
|
|
|
'../../src/layout-descriptor.cc',
|
|
|
|
'../../src/layout-descriptor.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/list-inl.h',
|
|
|
|
'../../src/list.h',
|
2015-11-18 10:54:00 +00:00
|
|
|
'../../src/locked-queue-inl.h',
|
|
|
|
'../../src/locked-queue.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/log-inl.h',
|
|
|
|
'../../src/log-utils.cc',
|
|
|
|
'../../src/log-utils.h',
|
|
|
|
'../../src/log.cc',
|
|
|
|
'../../src/log.h',
|
2014-06-11 09:59:14 +00:00
|
|
|
'../../src/lookup.cc',
|
|
|
|
'../../src/lookup.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/macro-assembler.h',
|
2015-12-03 13:33:14 +00:00
|
|
|
'../../src/machine-type.cc',
|
|
|
|
'../../src/machine-type.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/messages.cc',
|
|
|
|
'../../src/messages.h',
|
2014-04-01 12:40:58 +00:00
|
|
|
'../../src/msan.h',
|
2015-11-13 12:32:08 +00:00
|
|
|
'../../src/objects-body-descriptors-inl.h',
|
|
|
|
'../../src/objects-body-descriptors.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/objects-debug.cc',
|
|
|
|
'../../src/objects-inl.h',
|
|
|
|
'../../src/objects-printer.cc',
|
|
|
|
'../../src/objects.cc',
|
|
|
|
'../../src/objects.h',
|
2015-04-14 13:57:35 +00:00
|
|
|
'../../src/optimizing-compile-dispatcher.cc',
|
|
|
|
'../../src/optimizing-compile-dispatcher.h',
|
2014-06-27 08:42:17 +00:00
|
|
|
'../../src/ostreams.cc',
|
|
|
|
'../../src/ostreams.h',
|
2015-11-26 16:22:34 +00:00
|
|
|
'../../src/parsing/expression-classifier.h',
|
|
|
|
'../../src/parsing/func-name-inferrer.cc',
|
|
|
|
'../../src/parsing/func-name-inferrer.h',
|
|
|
|
'../../src/parsing/parameter-initializer-rewriter.cc',
|
|
|
|
'../../src/parsing/parameter-initializer-rewriter.h',
|
2016-01-14 11:36:14 +00:00
|
|
|
'../../src/parsing/parser-base.h',
|
2015-11-26 16:22:34 +00:00
|
|
|
'../../src/parsing/parser.cc',
|
|
|
|
'../../src/parsing/parser.h',
|
|
|
|
'../../src/parsing/pattern-rewriter.cc',
|
|
|
|
'../../src/parsing/preparse-data-format.h',
|
|
|
|
'../../src/parsing/preparse-data.cc',
|
|
|
|
'../../src/parsing/preparse-data.h',
|
|
|
|
'../../src/parsing/preparser.cc',
|
|
|
|
'../../src/parsing/preparser.h',
|
|
|
|
'../../src/parsing/rewriter.cc',
|
|
|
|
'../../src/parsing/rewriter.h',
|
|
|
|
'../../src/parsing/scanner-character-streams.cc',
|
|
|
|
'../../src/parsing/scanner-character-streams.h',
|
|
|
|
'../../src/parsing/scanner.cc',
|
|
|
|
'../../src/parsing/scanner.h',
|
|
|
|
'../../src/parsing/token.cc',
|
|
|
|
'../../src/parsing/token.h',
|
2015-02-25 14:17:39 +00:00
|
|
|
'../../src/pending-compilation-error-handler.cc',
|
|
|
|
'../../src/pending-compilation-error-handler.h',
|
2016-03-29 06:23:56 +00:00
|
|
|
'../../src/perf-jit.cc',
|
|
|
|
'../../src/perf-jit.h',
|
2015-09-28 19:34:08 +00:00
|
|
|
'../../src/profiler/allocation-tracker.cc',
|
|
|
|
'../../src/profiler/allocation-tracker.h',
|
|
|
|
'../../src/profiler/circular-queue-inl.h',
|
|
|
|
'../../src/profiler/circular-queue.h',
|
|
|
|
'../../src/profiler/cpu-profiler-inl.h',
|
|
|
|
'../../src/profiler/cpu-profiler.cc',
|
|
|
|
'../../src/profiler/cpu-profiler.h',
|
|
|
|
'../../src/profiler/heap-profiler.cc',
|
|
|
|
'../../src/profiler/heap-profiler.h',
|
|
|
|
'../../src/profiler/heap-snapshot-generator-inl.h',
|
|
|
|
'../../src/profiler/heap-snapshot-generator.cc',
|
|
|
|
'../../src/profiler/heap-snapshot-generator.h',
|
|
|
|
'../../src/profiler/profile-generator-inl.h',
|
|
|
|
'../../src/profiler/profile-generator.cc',
|
|
|
|
'../../src/profiler/profile-generator.h',
|
|
|
|
'../../src/profiler/sampler.cc',
|
|
|
|
'../../src/profiler/sampler.h',
|
2016-01-22 16:36:40 +00:00
|
|
|
'../../src/profiler/sampling-heap-profiler.cc',
|
|
|
|
'../../src/profiler/sampling-heap-profiler.h',
|
2015-10-01 18:10:58 +00:00
|
|
|
'../../src/profiler/strings-storage.cc',
|
|
|
|
'../../src/profiler/strings-storage.h',
|
2015-09-28 19:34:08 +00:00
|
|
|
'../../src/profiler/unbound-queue-inl.h',
|
|
|
|
'../../src/profiler/unbound-queue.h',
|
2015-10-13 14:38:16 +00:00
|
|
|
'../../src/property-descriptor.cc',
|
|
|
|
'../../src/property-descriptor.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/property-details.h',
|
|
|
|
'../../src/property.cc',
|
|
|
|
'../../src/property.h',
|
2014-07-14 07:19:49 +00:00
|
|
|
'../../src/prototype.h',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/bytecodes-irregexp.h',
|
|
|
|
'../../src/regexp/interpreter-irregexp.cc',
|
|
|
|
'../../src/regexp/interpreter-irregexp.h',
|
|
|
|
'../../src/regexp/jsregexp-inl.h',
|
|
|
|
'../../src/regexp/jsregexp.cc',
|
|
|
|
'../../src/regexp/jsregexp.h',
|
2016-01-08 09:55:29 +00:00
|
|
|
'../../src/regexp/regexp-ast.cc',
|
|
|
|
'../../src/regexp/regexp-ast.h',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/regexp-macro-assembler-irregexp-inl.h',
|
|
|
|
'../../src/regexp/regexp-macro-assembler-irregexp.cc',
|
|
|
|
'../../src/regexp/regexp-macro-assembler-irregexp.h',
|
|
|
|
'../../src/regexp/regexp-macro-assembler-tracer.cc',
|
|
|
|
'../../src/regexp/regexp-macro-assembler-tracer.h',
|
|
|
|
'../../src/regexp/regexp-macro-assembler.cc',
|
|
|
|
'../../src/regexp/regexp-macro-assembler.h',
|
2016-01-08 09:55:29 +00:00
|
|
|
'../../src/regexp/regexp-parser.cc',
|
|
|
|
'../../src/regexp/regexp-parser.h',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/regexp-stack.cc',
|
|
|
|
'../../src/regexp/regexp-stack.h',
|
2015-10-02 16:55:12 +00:00
|
|
|
'../../src/register-configuration.cc',
|
|
|
|
'../../src/register-configuration.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/runtime-profiler.cc',
|
|
|
|
'../../src/runtime-profiler.h',
|
2014-10-10 14:59:53 +00:00
|
|
|
'../../src/runtime/runtime-array.cc',
|
2015-06-03 17:58:29 +00:00
|
|
|
'../../src/runtime/runtime-atomics.cc',
|
2014-10-01 12:11:12 +00:00
|
|
|
'../../src/runtime/runtime-classes.cc',
|
2014-09-29 09:32:38 +00:00
|
|
|
'../../src/runtime/runtime-collections.cc',
|
|
|
|
'../../src/runtime/runtime-compiler.cc',
|
2014-09-30 08:23:02 +00:00
|
|
|
'../../src/runtime/runtime-date.cc',
|
|
|
|
'../../src/runtime/runtime-debug.cc',
|
2015-06-01 07:20:50 +00:00
|
|
|
'../../src/runtime/runtime-forin.cc',
|
2014-09-30 10:46:04 +00:00
|
|
|
'../../src/runtime/runtime-function.cc',
|
2015-07-17 17:11:32 +00:00
|
|
|
'../../src/runtime/runtime-futex.cc',
|
2014-09-30 08:23:02 +00:00
|
|
|
'../../src/runtime/runtime-generator.cc',
|
2014-09-25 07:16:15 +00:00
|
|
|
'../../src/runtime/runtime-i18n.cc',
|
2014-10-10 14:59:53 +00:00
|
|
|
'../../src/runtime/runtime-internal.cc',
|
2015-09-28 18:05:56 +00:00
|
|
|
'../../src/runtime/runtime-interpreter.cc',
|
2014-09-29 07:08:15 +00:00
|
|
|
'../../src/runtime/runtime-json.cc',
|
2014-09-30 10:46:04 +00:00
|
|
|
'../../src/runtime/runtime-literals.cc',
|
2014-09-30 08:23:02 +00:00
|
|
|
'../../src/runtime/runtime-liveedit.cc',
|
2014-09-29 09:32:38 +00:00
|
|
|
'../../src/runtime/runtime-maths.cc',
|
|
|
|
'../../src/runtime/runtime-numbers.cc',
|
2014-10-10 14:59:53 +00:00
|
|
|
'../../src/runtime/runtime-object.cc',
|
2014-09-30 10:46:04 +00:00
|
|
|
'../../src/runtime/runtime-observe.cc',
|
2015-09-10 13:04:15 +00:00
|
|
|
'../../src/runtime/runtime-operators.cc',
|
2014-09-30 10:46:04 +00:00
|
|
|
'../../src/runtime/runtime-proxy.cc',
|
2014-09-29 07:08:15 +00:00
|
|
|
'../../src/runtime/runtime-regexp.cc',
|
2014-09-30 10:46:04 +00:00
|
|
|
'../../src/runtime/runtime-scopes.cc',
|
2015-07-16 19:43:21 +00:00
|
|
|
'../../src/runtime/runtime-simd.cc',
|
2014-09-29 07:08:15 +00:00
|
|
|
'../../src/runtime/runtime-strings.cc',
|
2014-09-30 10:46:04 +00:00
|
|
|
'../../src/runtime/runtime-symbol.cc',
|
2014-09-29 09:32:38 +00:00
|
|
|
'../../src/runtime/runtime-test.cc',
|
|
|
|
'../../src/runtime/runtime-typedarray.cc',
|
2014-09-29 07:08:15 +00:00
|
|
|
'../../src/runtime/runtime-uri.cc',
|
2014-09-25 07:16:15 +00:00
|
|
|
'../../src/runtime/runtime-utils.h',
|
|
|
|
'../../src/runtime/runtime.cc',
|
|
|
|
'../../src/runtime/runtime.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/safepoint-table.cc',
|
|
|
|
'../../src/safepoint-table.h',
|
2015-05-04 10:11:50 +00:00
|
|
|
'../../src/signature.h',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/simulator.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/small-pointer-list.h',
|
2016-03-01 14:42:57 +00:00
|
|
|
'../../src/snapshot/code-serializer.cc',
|
|
|
|
'../../src/snapshot/code-serializer.h',
|
|
|
|
'../../src/snapshot/deserializer.cc',
|
|
|
|
'../../src/snapshot/deserializer.h',
|
2015-03-27 15:28:55 +00:00
|
|
|
'../../src/snapshot/natives.h',
|
2015-08-18 14:31:26 +00:00
|
|
|
'../../src/snapshot/natives-common.cc',
|
2016-03-01 14:42:57 +00:00
|
|
|
'../../src/snapshot/partial-serializer.cc',
|
|
|
|
'../../src/snapshot/partial-serializer.h',
|
|
|
|
'../../src/snapshot/serializer.cc',
|
|
|
|
'../../src/snapshot/serializer.h',
|
|
|
|
'../../src/snapshot/serializer-common.cc',
|
|
|
|
'../../src/snapshot/serializer-common.h',
|
2015-03-27 15:28:55 +00:00
|
|
|
'../../src/snapshot/snapshot.h',
|
|
|
|
'../../src/snapshot/snapshot-common.cc',
|
|
|
|
'../../src/snapshot/snapshot-source-sink.cc',
|
|
|
|
'../../src/snapshot/snapshot-source-sink.h',
|
2016-03-01 14:42:57 +00:00
|
|
|
'../../src/snapshot/startup-serializer.cc',
|
|
|
|
'../../src/snapshot/startup-serializer.h',
|
2016-01-15 12:11:35 +00:00
|
|
|
'../../src/source-position.h',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/splay-tree.h',
|
|
|
|
'../../src/splay-tree-inl.h',
|
2015-08-14 12:11:29 +00:00
|
|
|
'../../src/startup-data-util.cc',
|
|
|
|
'../../src/startup-data-util.h',
|
2014-11-12 08:04:41 +00:00
|
|
|
'../../src/string-builder.cc',
|
2014-11-12 08:11:57 +00:00
|
|
|
'../../src/string-builder.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/string-search.h',
|
|
|
|
'../../src/string-stream.cc',
|
|
|
|
'../../src/string-stream.h',
|
|
|
|
'../../src/strtod.cc',
|
|
|
|
'../../src/strtod.h',
|
2014-08-22 11:43:39 +00:00
|
|
|
'../../src/ic/stub-cache.cc',
|
|
|
|
'../../src/ic/stub-cache.h',
|
2015-12-17 18:48:07 +00:00
|
|
|
'../../src/tracing/trace-event.cc',
|
|
|
|
'../../src/tracing/trace-event.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/transitions-inl.h',
|
|
|
|
'../../src/transitions.cc',
|
|
|
|
'../../src/transitions.h',
|
2015-10-28 13:31:10 +00:00
|
|
|
'../../src/type-cache.cc',
|
|
|
|
'../../src/type-cache.h',
|
2014-09-18 12:31:31 +00:00
|
|
|
'../../src/type-feedback-vector-inl.h',
|
2014-09-18 09:59:53 +00:00
|
|
|
'../../src/type-feedback-vector.cc',
|
|
|
|
'../../src/type-feedback-vector.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/type-info.cc',
|
|
|
|
'../../src/type-info.h',
|
2013-06-05 15:43:53 +00:00
|
|
|
'../../src/types.cc',
|
|
|
|
'../../src/types.h',
|
2015-09-01 18:30:34 +00:00
|
|
|
'../../src/typing-asm.cc',
|
|
|
|
'../../src/typing-asm.h',
|
2015-08-24 17:16:38 +00:00
|
|
|
'../../src/typing-reset.cc',
|
|
|
|
'../../src/typing-reset.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/unicode-inl.h',
|
|
|
|
'../../src/unicode.cc',
|
|
|
|
'../../src/unicode.h',
|
2015-08-20 11:46:54 +00:00
|
|
|
'../../src/unicode-cache-inl.h',
|
|
|
|
'../../src/unicode-cache.h',
|
2014-10-08 14:55:03 +00:00
|
|
|
'../../src/unicode-decoder.cc',
|
|
|
|
'../../src/unicode-decoder.h',
|
Reland of "[heap] Parallel newspace evacuation, semispace copy, and compaction \o/"
This reverts commit 85ba94f28ce4b5d64e4c148efb1fee85bdb6579b.
All parallelism can be turned off using --predictable, or --noparallel-compaction.
This patch completely parallelizes
- semispace copy: from space -> to space (within newspace)
- newspace evacuation: newspace -> oldspace
- oldspace compaction: oldspace -> oldspace
Previously newspace has been handled sequentially (semispace copy, newspace
evacuation) before compacting oldspace in parallel. However, on a high level
there are no dependencies between those two actions, hence we parallelize them
altogether. We base the number of evacuation tasks on the overall set of
to-be-processed pages (newspace + oldspace compaction pages).
Some low-level details:
- The hard cap on number of tasks has been lifted
- We cache store buffer entries locally before merging them back into the global
StoreBuffer in a finalization phase.
- We cache AllocationSite operations locally before merging them back into the
global pretenuring storage in a finalization phase.
- AllocationSite might be compacted while they would be needed for newspace
evacuation. To mitigate any problems we defer checking allocation sites for
newspace till merging locally buffered data.
CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg,v8_linux_gc_stress_dbg,v8_mac_gc_stress_dbg,v8_linux64_asan_rel,v8_linux64_tsan_rel,v8_mac64_asan_rel
BUG=chromium:524425
LOG=N
R=hpayer@chromium.org, ulan@chromium.org
Review URL: https://codereview.chromium.org/1640563004
Cr-Commit-Position: refs/heads/master@{#33552}
2016-01-27 13:23:54 +00:00
|
|
|
'../../src/utils-inl.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/utils.cc',
|
|
|
|
'../../src/utils.h',
|
|
|
|
'../../src/v8.cc',
|
|
|
|
'../../src/v8.h',
|
|
|
|
'../../src/v8memory.h',
|
|
|
|
'../../src/v8threads.cc',
|
|
|
|
'../../src/v8threads.h',
|
2014-04-25 13:43:58 +00:00
|
|
|
'../../src/vector.h',
|
2015-01-18 15:43:02 +00:00
|
|
|
'../../src/version.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/version.h',
|
|
|
|
'../../src/vm-state-inl.h',
|
|
|
|
'../../src/vm-state.h',
|
2016-01-05 18:06:34 +00:00
|
|
|
'../../src/wasm/asm-wasm-builder.cc',
|
|
|
|
'../../src/wasm/asm-wasm-builder.h',
|
|
|
|
'../../src/wasm/ast-decoder.cc',
|
|
|
|
'../../src/wasm/ast-decoder.h',
|
|
|
|
'../../src/wasm/decoder.h',
|
|
|
|
'../../src/wasm/encoder.cc',
|
|
|
|
'../../src/wasm/encoder.h',
|
|
|
|
'../../src/wasm/module-decoder.cc',
|
|
|
|
'../../src/wasm/module-decoder.h',
|
|
|
|
'../../src/wasm/wasm-js.cc',
|
|
|
|
'../../src/wasm/wasm-js.h',
|
|
|
|
'../../src/wasm/wasm-macro-gen.h',
|
|
|
|
'../../src/wasm/wasm-module.cc',
|
|
|
|
'../../src/wasm/wasm-module.h',
|
|
|
|
'../../src/wasm/wasm-opcodes.cc',
|
|
|
|
'../../src/wasm/wasm-opcodes.h',
|
|
|
|
'../../src/wasm/wasm-result.cc',
|
|
|
|
'../../src/wasm/wasm-result.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/zone.cc',
|
|
|
|
'../../src/zone.h',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/zone-allocator.h',
|
|
|
|
'../../src/zone-containers.h',
|
2014-10-08 11:19:51 +00:00
|
|
|
'../../src/third_party/fdlibm/fdlibm.cc',
|
|
|
|
'../../src/third_party/fdlibm/fdlibm.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
['v8_target_arch=="arm"', {
|
|
|
|
'sources': [ ### gcmole(arch:arm) ###
|
|
|
|
'../../src/arm/assembler-arm-inl.h',
|
|
|
|
'../../src/arm/assembler-arm.cc',
|
|
|
|
'../../src/arm/assembler-arm.h',
|
|
|
|
'../../src/arm/builtins-arm.cc',
|
|
|
|
'../../src/arm/code-stubs-arm.cc',
|
|
|
|
'../../src/arm/code-stubs-arm.h',
|
|
|
|
'../../src/arm/codegen-arm.cc',
|
|
|
|
'../../src/arm/codegen-arm.h',
|
|
|
|
'../../src/arm/constants-arm.h',
|
|
|
|
'../../src/arm/constants-arm.cc',
|
|
|
|
'../../src/arm/cpu-arm.cc',
|
|
|
|
'../../src/arm/deoptimizer-arm.cc',
|
|
|
|
'../../src/arm/disasm-arm.cc',
|
|
|
|
'../../src/arm/frames-arm.cc',
|
|
|
|
'../../src/arm/frames-arm.h',
|
2014-08-29 10:40:02 +00:00
|
|
|
'../../src/arm/interface-descriptors-arm.cc',
|
|
|
|
'../../src/arm/interface-descriptors-arm.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/arm/macro-assembler-arm.cc',
|
|
|
|
'../../src/arm/macro-assembler-arm.h',
|
|
|
|
'../../src/arm/simulator-arm.cc',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/arm/simulator-arm.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/arm/code-generator-arm.cc',
|
|
|
|
'../../src/compiler/arm/instruction-codes-arm.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/arm/instruction-scheduler-arm.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/arm/instruction-selector-arm.cc',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/arm/lithium-arm.cc',
|
|
|
|
'../../src/crankshaft/arm/lithium-arm.h',
|
|
|
|
'../../src/crankshaft/arm/lithium-codegen-arm.cc',
|
|
|
|
'../../src/crankshaft/arm/lithium-codegen-arm.h',
|
|
|
|
'../../src/crankshaft/arm/lithium-gap-resolver-arm.cc',
|
|
|
|
'../../src/crankshaft/arm/lithium-gap-resolver-arm.h',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/arm/debug-arm.cc',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/arm/full-codegen-arm.cc',
|
2014-08-22 14:36:54 +00:00
|
|
|
'../../src/ic/arm/access-compiler-arm.cc',
|
2014-08-25 11:17:37 +00:00
|
|
|
'../../src/ic/arm/handler-compiler-arm.cc',
|
2014-08-22 11:43:39 +00:00
|
|
|
'../../src/ic/arm/ic-arm.cc',
|
|
|
|
'../../src/ic/arm/ic-compiler-arm.cc',
|
|
|
|
'../../src/ic/arm/stub-cache-arm.cc',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/arm/regexp-macro-assembler-arm.cc',
|
|
|
|
'../../src/regexp/arm/regexp-macro-assembler-arm.h',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-03-21 09:28:26 +00:00
|
|
|
['v8_target_arch=="arm64"', {
|
|
|
|
'sources': [ ### gcmole(arch:arm64) ###
|
|
|
|
'../../src/arm64/assembler-arm64.cc',
|
|
|
|
'../../src/arm64/assembler-arm64.h',
|
|
|
|
'../../src/arm64/assembler-arm64-inl.h',
|
|
|
|
'../../src/arm64/builtins-arm64.cc',
|
|
|
|
'../../src/arm64/codegen-arm64.cc',
|
|
|
|
'../../src/arm64/codegen-arm64.h',
|
|
|
|
'../../src/arm64/code-stubs-arm64.cc',
|
|
|
|
'../../src/arm64/code-stubs-arm64.h',
|
|
|
|
'../../src/arm64/constants-arm64.h',
|
|
|
|
'../../src/arm64/cpu-arm64.cc',
|
|
|
|
'../../src/arm64/decoder-arm64.cc',
|
|
|
|
'../../src/arm64/decoder-arm64.h',
|
|
|
|
'../../src/arm64/decoder-arm64-inl.h',
|
|
|
|
'../../src/arm64/deoptimizer-arm64.cc',
|
|
|
|
'../../src/arm64/disasm-arm64.cc',
|
|
|
|
'../../src/arm64/disasm-arm64.h',
|
|
|
|
'../../src/arm64/frames-arm64.cc',
|
|
|
|
'../../src/arm64/frames-arm64.h',
|
|
|
|
'../../src/arm64/instructions-arm64.cc',
|
|
|
|
'../../src/arm64/instructions-arm64.h',
|
|
|
|
'../../src/arm64/instrument-arm64.cc',
|
|
|
|
'../../src/arm64/instrument-arm64.h',
|
2014-08-29 10:40:02 +00:00
|
|
|
'../../src/arm64/interface-descriptors-arm64.cc',
|
|
|
|
'../../src/arm64/interface-descriptors-arm64.h',
|
2014-03-21 09:28:26 +00:00
|
|
|
'../../src/arm64/macro-assembler-arm64.cc',
|
|
|
|
'../../src/arm64/macro-assembler-arm64.h',
|
|
|
|
'../../src/arm64/macro-assembler-arm64-inl.h',
|
|
|
|
'../../src/arm64/simulator-arm64.cc',
|
|
|
|
'../../src/arm64/simulator-arm64.h',
|
|
|
|
'../../src/arm64/utils-arm64.cc',
|
|
|
|
'../../src/arm64/utils-arm64.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/arm64/code-generator-arm64.cc',
|
|
|
|
'../../src/compiler/arm64/instruction-codes-arm64.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/arm64/instruction-scheduler-arm64.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/arm64/instruction-selector-arm64.cc',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/arm64/delayed-masm-arm64.cc',
|
|
|
|
'../../src/crankshaft/arm64/delayed-masm-arm64.h',
|
|
|
|
'../../src/crankshaft/arm64/delayed-masm-arm64-inl.h',
|
|
|
|
'../../src/crankshaft/arm64/lithium-arm64.cc',
|
|
|
|
'../../src/crankshaft/arm64/lithium-arm64.h',
|
|
|
|
'../../src/crankshaft/arm64/lithium-codegen-arm64.cc',
|
|
|
|
'../../src/crankshaft/arm64/lithium-codegen-arm64.h',
|
|
|
|
'../../src/crankshaft/arm64/lithium-gap-resolver-arm64.cc',
|
|
|
|
'../../src/crankshaft/arm64/lithium-gap-resolver-arm64.h',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/arm64/debug-arm64.cc',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/arm64/full-codegen-arm64.cc',
|
2014-08-22 14:36:54 +00:00
|
|
|
'../../src/ic/arm64/access-compiler-arm64.cc',
|
2014-08-25 11:17:37 +00:00
|
|
|
'../../src/ic/arm64/handler-compiler-arm64.cc',
|
2014-08-22 11:43:39 +00:00
|
|
|
'../../src/ic/arm64/ic-arm64.cc',
|
|
|
|
'../../src/ic/arm64/ic-compiler-arm64.cc',
|
|
|
|
'../../src/ic/arm64/stub-cache-arm64.cc',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/arm64/regexp-macro-assembler-arm64.cc',
|
|
|
|
'../../src/regexp/arm64/regexp-macro-assembler-arm64.h',
|
2014-02-12 09:19:30 +00:00
|
|
|
],
|
|
|
|
}],
|
2014-05-06 15:25:51 +00:00
|
|
|
['v8_target_arch=="ia32"', {
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [ ### gcmole(arch:ia32) ###
|
|
|
|
'../../src/ia32/assembler-ia32-inl.h',
|
|
|
|
'../../src/ia32/assembler-ia32.cc',
|
|
|
|
'../../src/ia32/assembler-ia32.h',
|
|
|
|
'../../src/ia32/builtins-ia32.cc',
|
|
|
|
'../../src/ia32/code-stubs-ia32.cc',
|
|
|
|
'../../src/ia32/code-stubs-ia32.h',
|
|
|
|
'../../src/ia32/codegen-ia32.cc',
|
|
|
|
'../../src/ia32/codegen-ia32.h',
|
|
|
|
'../../src/ia32/cpu-ia32.cc',
|
|
|
|
'../../src/ia32/deoptimizer-ia32.cc',
|
|
|
|
'../../src/ia32/disasm-ia32.cc',
|
|
|
|
'../../src/ia32/frames-ia32.cc',
|
|
|
|
'../../src/ia32/frames-ia32.h',
|
2014-08-29 10:40:02 +00:00
|
|
|
'../../src/ia32/interface-descriptors-ia32.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/ia32/macro-assembler-ia32.cc',
|
|
|
|
'../../src/ia32/macro-assembler-ia32.h',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/ia32/code-generator-ia32.cc',
|
|
|
|
'../../src/compiler/ia32/instruction-codes-ia32.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/ia32/instruction-scheduler-ia32.cc',
|
2014-07-30 13:54:45 +00:00
|
|
|
'../../src/compiler/ia32/instruction-selector-ia32.cc',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/ia32/lithium-codegen-ia32.cc',
|
|
|
|
'../../src/crankshaft/ia32/lithium-codegen-ia32.h',
|
|
|
|
'../../src/crankshaft/ia32/lithium-gap-resolver-ia32.cc',
|
|
|
|
'../../src/crankshaft/ia32/lithium-gap-resolver-ia32.h',
|
|
|
|
'../../src/crankshaft/ia32/lithium-ia32.cc',
|
|
|
|
'../../src/crankshaft/ia32/lithium-ia32.h',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/ia32/debug-ia32.cc',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/ia32/full-codegen-ia32.cc',
|
2014-08-22 14:36:54 +00:00
|
|
|
'../../src/ic/ia32/access-compiler-ia32.cc',
|
2014-08-25 11:17:37 +00:00
|
|
|
'../../src/ic/ia32/handler-compiler-ia32.cc',
|
2014-08-22 11:43:39 +00:00
|
|
|
'../../src/ic/ia32/ic-ia32.cc',
|
|
|
|
'../../src/ic/ia32/ic-compiler-ia32.cc',
|
|
|
|
'../../src/ic/ia32/stub-cache-ia32.cc',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/ia32/regexp-macro-assembler-ia32.cc',
|
|
|
|
'../../src/regexp/ia32/regexp-macro-assembler-ia32.h',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-05-23 16:37:27 +00:00
|
|
|
['v8_target_arch=="x87"', {
|
|
|
|
'sources': [ ### gcmole(arch:x87) ###
|
|
|
|
'../../src/x87/assembler-x87-inl.h',
|
|
|
|
'../../src/x87/assembler-x87.cc',
|
|
|
|
'../../src/x87/assembler-x87.h',
|
|
|
|
'../../src/x87/builtins-x87.cc',
|
|
|
|
'../../src/x87/code-stubs-x87.cc',
|
|
|
|
'../../src/x87/code-stubs-x87.h',
|
|
|
|
'../../src/x87/codegen-x87.cc',
|
|
|
|
'../../src/x87/codegen-x87.h',
|
|
|
|
'../../src/x87/cpu-x87.cc',
|
|
|
|
'../../src/x87/deoptimizer-x87.cc',
|
|
|
|
'../../src/x87/disasm-x87.cc',
|
|
|
|
'../../src/x87/frames-x87.cc',
|
|
|
|
'../../src/x87/frames-x87.h',
|
2014-09-01 14:00:25 +00:00
|
|
|
'../../src/x87/interface-descriptors-x87.cc',
|
2014-05-23 16:37:27 +00:00
|
|
|
'../../src/x87/macro-assembler-x87.cc',
|
|
|
|
'../../src/x87/macro-assembler-x87.h',
|
2015-06-16 11:23:05 +00:00
|
|
|
'../../src/compiler/x87/code-generator-x87.cc',
|
|
|
|
'../../src/compiler/x87/instruction-codes-x87.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/x87/instruction-scheduler-x87.cc',
|
2015-06-16 11:23:05 +00:00
|
|
|
'../../src/compiler/x87/instruction-selector-x87.cc',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/x87/lithium-codegen-x87.cc',
|
|
|
|
'../../src/crankshaft/x87/lithium-codegen-x87.h',
|
|
|
|
'../../src/crankshaft/x87/lithium-gap-resolver-x87.cc',
|
|
|
|
'../../src/crankshaft/x87/lithium-gap-resolver-x87.h',
|
|
|
|
'../../src/crankshaft/x87/lithium-x87.cc',
|
|
|
|
'../../src/crankshaft/x87/lithium-x87.h',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/x87/debug-x87.cc',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/x87/full-codegen-x87.cc',
|
2014-08-25 12:40:11 +00:00
|
|
|
'../../src/ic/x87/access-compiler-x87.cc',
|
2014-08-26 03:56:24 +00:00
|
|
|
'../../src/ic/x87/handler-compiler-x87.cc',
|
2014-08-25 09:00:04 +00:00
|
|
|
'../../src/ic/x87/ic-x87.cc',
|
|
|
|
'../../src/ic/x87/ic-compiler-x87.cc',
|
|
|
|
'../../src/ic/x87/stub-cache-x87.cc',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/x87/regexp-macro-assembler-x87.cc',
|
|
|
|
'../../src/regexp/x87/regexp-macro-assembler-x87.h',
|
2014-05-23 16:37:27 +00:00
|
|
|
],
|
|
|
|
}],
|
2014-04-15 16:39:21 +00:00
|
|
|
['v8_target_arch=="mips" or v8_target_arch=="mipsel"', {
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [ ### gcmole(arch:mipsel) ###
|
|
|
|
'../../src/mips/assembler-mips.cc',
|
|
|
|
'../../src/mips/assembler-mips.h',
|
|
|
|
'../../src/mips/assembler-mips-inl.h',
|
|
|
|
'../../src/mips/builtins-mips.cc',
|
|
|
|
'../../src/mips/codegen-mips.cc',
|
|
|
|
'../../src/mips/codegen-mips.h',
|
|
|
|
'../../src/mips/code-stubs-mips.cc',
|
|
|
|
'../../src/mips/code-stubs-mips.h',
|
|
|
|
'../../src/mips/constants-mips.cc',
|
|
|
|
'../../src/mips/constants-mips.h',
|
|
|
|
'../../src/mips/cpu-mips.cc',
|
|
|
|
'../../src/mips/deoptimizer-mips.cc',
|
|
|
|
'../../src/mips/disasm-mips.cc',
|
|
|
|
'../../src/mips/frames-mips.cc',
|
|
|
|
'../../src/mips/frames-mips.h',
|
2014-08-29 15:28:26 +00:00
|
|
|
'../../src/mips/interface-descriptors-mips.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/mips/macro-assembler-mips.cc',
|
|
|
|
'../../src/mips/macro-assembler-mips.h',
|
|
|
|
'../../src/mips/simulator-mips.cc',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/mips/simulator-mips.h',
|
2014-10-02 15:48:48 +00:00
|
|
|
'../../src/compiler/mips/code-generator-mips.cc',
|
|
|
|
'../../src/compiler/mips/instruction-codes-mips.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/mips/instruction-scheduler-mips.cc',
|
2014-10-02 15:48:48 +00:00
|
|
|
'../../src/compiler/mips/instruction-selector-mips.cc',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/mips/lithium-codegen-mips.cc',
|
|
|
|
'../../src/crankshaft/mips/lithium-codegen-mips.h',
|
|
|
|
'../../src/crankshaft/mips/lithium-gap-resolver-mips.cc',
|
|
|
|
'../../src/crankshaft/mips/lithium-gap-resolver-mips.h',
|
|
|
|
'../../src/crankshaft/mips/lithium-mips.cc',
|
|
|
|
'../../src/crankshaft/mips/lithium-mips.h',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/mips/full-codegen-mips.cc',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/mips/debug-mips.cc',
|
2014-08-25 11:35:22 +00:00
|
|
|
'../../src/ic/mips/access-compiler-mips.cc',
|
2014-08-25 15:15:26 +00:00
|
|
|
'../../src/ic/mips/handler-compiler-mips.cc',
|
2014-08-25 09:09:25 +00:00
|
|
|
'../../src/ic/mips/ic-mips.cc',
|
|
|
|
'../../src/ic/mips/ic-compiler-mips.cc',
|
|
|
|
'../../src/ic/mips/stub-cache-mips.cc',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/mips/regexp-macro-assembler-mips.cc',
|
|
|
|
'../../src/regexp/mips/regexp-macro-assembler-mips.h',
|
2009-07-28 20:32:57 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2015-09-29 17:23:44 +00:00
|
|
|
['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', {
|
2014-07-09 11:08:26 +00:00
|
|
|
'sources': [ ### gcmole(arch:mips64el) ###
|
|
|
|
'../../src/mips64/assembler-mips64.cc',
|
|
|
|
'../../src/mips64/assembler-mips64.h',
|
|
|
|
'../../src/mips64/assembler-mips64-inl.h',
|
|
|
|
'../../src/mips64/builtins-mips64.cc',
|
|
|
|
'../../src/mips64/codegen-mips64.cc',
|
|
|
|
'../../src/mips64/codegen-mips64.h',
|
|
|
|
'../../src/mips64/code-stubs-mips64.cc',
|
|
|
|
'../../src/mips64/code-stubs-mips64.h',
|
|
|
|
'../../src/mips64/constants-mips64.cc',
|
|
|
|
'../../src/mips64/constants-mips64.h',
|
|
|
|
'../../src/mips64/cpu-mips64.cc',
|
|
|
|
'../../src/mips64/deoptimizer-mips64.cc',
|
|
|
|
'../../src/mips64/disasm-mips64.cc',
|
|
|
|
'../../src/mips64/frames-mips64.cc',
|
|
|
|
'../../src/mips64/frames-mips64.h',
|
2014-08-29 15:28:26 +00:00
|
|
|
'../../src/mips64/interface-descriptors-mips64.cc',
|
2014-07-09 11:08:26 +00:00
|
|
|
'../../src/mips64/macro-assembler-mips64.cc',
|
|
|
|
'../../src/mips64/macro-assembler-mips64.h',
|
|
|
|
'../../src/mips64/simulator-mips64.cc',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/mips64/simulator-mips64.h',
|
2014-11-19 15:44:39 +00:00
|
|
|
'../../src/compiler/mips64/code-generator-mips64.cc',
|
|
|
|
'../../src/compiler/mips64/instruction-codes-mips64.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/mips64/instruction-scheduler-mips64.cc',
|
2014-11-19 15:44:39 +00:00
|
|
|
'../../src/compiler/mips64/instruction-selector-mips64.cc',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/mips64/lithium-codegen-mips64.cc',
|
|
|
|
'../../src/crankshaft/mips64/lithium-codegen-mips64.h',
|
|
|
|
'../../src/crankshaft/mips64/lithium-gap-resolver-mips64.cc',
|
|
|
|
'../../src/crankshaft/mips64/lithium-gap-resolver-mips64.h',
|
|
|
|
'../../src/crankshaft/mips64/lithium-mips64.cc',
|
|
|
|
'../../src/crankshaft/mips64/lithium-mips64.h',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/mips64/debug-mips64.cc',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/mips64/full-codegen-mips64.cc',
|
2014-08-25 11:35:22 +00:00
|
|
|
'../../src/ic/mips64/access-compiler-mips64.cc',
|
2014-08-25 15:15:26 +00:00
|
|
|
'../../src/ic/mips64/handler-compiler-mips64.cc',
|
2014-08-25 09:09:25 +00:00
|
|
|
'../../src/ic/mips64/ic-mips64.cc',
|
|
|
|
'../../src/ic/mips64/ic-compiler-mips64.cc',
|
|
|
|
'../../src/ic/mips64/stub-cache-mips64.cc',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/mips64/regexp-macro-assembler-mips64.cc',
|
|
|
|
'../../src/regexp/mips64/regexp-macro-assembler-mips64.h',
|
2014-07-09 11:08:26 +00:00
|
|
|
],
|
|
|
|
}],
|
2014-06-24 05:27:44 +00:00
|
|
|
['v8_target_arch=="x64" or v8_target_arch=="x32"', {
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [ ### gcmole(arch:x64) ###
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/crankshaft/x64/lithium-codegen-x64.cc',
|
|
|
|
'../../src/crankshaft/x64/lithium-codegen-x64.h',
|
|
|
|
'../../src/crankshaft/x64/lithium-gap-resolver-x64.cc',
|
|
|
|
'../../src/crankshaft/x64/lithium-gap-resolver-x64.h',
|
|
|
|
'../../src/crankshaft/x64/lithium-x64.cc',
|
|
|
|
'../../src/crankshaft/x64/lithium-x64.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/x64/assembler-x64-inl.h',
|
|
|
|
'../../src/x64/assembler-x64.cc',
|
|
|
|
'../../src/x64/assembler-x64.h',
|
|
|
|
'../../src/x64/builtins-x64.cc',
|
|
|
|
'../../src/x64/code-stubs-x64.cc',
|
|
|
|
'../../src/x64/code-stubs-x64.h',
|
|
|
|
'../../src/x64/codegen-x64.cc',
|
|
|
|
'../../src/x64/codegen-x64.h',
|
|
|
|
'../../src/x64/cpu-x64.cc',
|
|
|
|
'../../src/x64/deoptimizer-x64.cc',
|
|
|
|
'../../src/x64/disasm-x64.cc',
|
|
|
|
'../../src/x64/frames-x64.cc',
|
|
|
|
'../../src/x64/frames-x64.h',
|
2014-08-29 10:40:02 +00:00
|
|
|
'../../src/x64/interface-descriptors-x64.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/x64/macro-assembler-x64.cc',
|
|
|
|
'../../src/x64/macro-assembler-x64.h',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/x64/debug-x64.cc',
|
2015-07-24 10:11:46 +00:00
|
|
|
'../../src/full-codegen/x64/full-codegen-x64.cc',
|
2014-08-22 14:36:54 +00:00
|
|
|
'../../src/ic/x64/access-compiler-x64.cc',
|
2014-08-25 11:17:37 +00:00
|
|
|
'../../src/ic/x64/handler-compiler-x64.cc',
|
2014-08-22 11:43:39 +00:00
|
|
|
'../../src/ic/x64/ic-x64.cc',
|
|
|
|
'../../src/ic/x64/ic-compiler-x64.cc',
|
|
|
|
'../../src/ic/x64/stub-cache-x64.cc',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/x64/regexp-macro-assembler-x64.cc',
|
|
|
|
'../../src/regexp/x64/regexp-macro-assembler-x64.h',
|
2009-07-28 20:32:57 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-11-05 09:02:51 +00:00
|
|
|
['v8_target_arch=="x64"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/compiler/x64/code-generator-x64.cc',
|
|
|
|
'../../src/compiler/x64/instruction-codes-x64.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/x64/instruction-scheduler-x64.cc',
|
2014-11-05 09:02:51 +00:00
|
|
|
'../../src/compiler/x64/instruction-selector-x64.cc',
|
|
|
|
],
|
|
|
|
}],
|
2015-01-16 07:42:00 +00:00
|
|
|
['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
|
|
|
|
'sources': [ ### gcmole(arch:ppc) ###
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/compiler/ppc/code-generator-ppc.cc',
|
|
|
|
'../../src/compiler/ppc/instruction-codes-ppc.h',
|
2015-12-15 14:51:43 +00:00
|
|
|
'../../src/compiler/ppc/instruction-scheduler-ppc.cc',
|
2015-10-20 13:25:47 +00:00
|
|
|
'../../src/compiler/ppc/instruction-selector-ppc.cc',
|
|
|
|
'../../src/crankshaft/ppc/lithium-ppc.cc',
|
|
|
|
'../../src/crankshaft/ppc/lithium-ppc.h',
|
|
|
|
'../../src/crankshaft/ppc/lithium-codegen-ppc.cc',
|
|
|
|
'../../src/crankshaft/ppc/lithium-codegen-ppc.h',
|
|
|
|
'../../src/crankshaft/ppc/lithium-gap-resolver-ppc.cc',
|
|
|
|
'../../src/crankshaft/ppc/lithium-gap-resolver-ppc.h',
|
|
|
|
'../../src/debug/ppc/debug-ppc.cc',
|
|
|
|
'../../src/full-codegen/ppc/full-codegen-ppc.cc',
|
|
|
|
'../../src/ic/ppc/access-compiler-ppc.cc',
|
|
|
|
'../../src/ic/ppc/handler-compiler-ppc.cc',
|
|
|
|
'../../src/ic/ppc/ic-ppc.cc',
|
|
|
|
'../../src/ic/ppc/ic-compiler-ppc.cc',
|
|
|
|
'../../src/ic/ppc/stub-cache-ppc.cc',
|
2015-01-16 07:42:00 +00:00
|
|
|
'../../src/ppc/assembler-ppc-inl.h',
|
|
|
|
'../../src/ppc/assembler-ppc.cc',
|
|
|
|
'../../src/ppc/assembler-ppc.h',
|
|
|
|
'../../src/ppc/builtins-ppc.cc',
|
|
|
|
'../../src/ppc/code-stubs-ppc.cc',
|
|
|
|
'../../src/ppc/code-stubs-ppc.h',
|
|
|
|
'../../src/ppc/codegen-ppc.cc',
|
|
|
|
'../../src/ppc/codegen-ppc.h',
|
|
|
|
'../../src/ppc/constants-ppc.h',
|
|
|
|
'../../src/ppc/constants-ppc.cc',
|
|
|
|
'../../src/ppc/cpu-ppc.cc',
|
|
|
|
'../../src/ppc/deoptimizer-ppc.cc',
|
|
|
|
'../../src/ppc/disasm-ppc.cc',
|
|
|
|
'../../src/ppc/frames-ppc.cc',
|
|
|
|
'../../src/ppc/frames-ppc.h',
|
|
|
|
'../../src/ppc/interface-descriptors-ppc.cc',
|
|
|
|
'../../src/ppc/interface-descriptors-ppc.h',
|
|
|
|
'../../src/ppc/macro-assembler-ppc.cc',
|
|
|
|
'../../src/ppc/macro-assembler-ppc.h',
|
|
|
|
'../../src/ppc/simulator-ppc.cc',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/ppc/simulator-ppc.h',
|
2015-08-13 06:55:21 +00:00
|
|
|
'../../src/regexp/ppc/regexp-macro-assembler-ppc.cc',
|
|
|
|
'../../src/regexp/ppc/regexp-macro-assembler-ppc.h',
|
2015-01-16 07:42:00 +00:00
|
|
|
],
|
|
|
|
}],
|
2016-02-26 16:24:36 +00:00
|
|
|
['v8_target_arch=="s390" or v8_target_arch=="s390x"', {
|
|
|
|
'sources': [ ### gcmole(arch:s390) ###
|
2016-03-04 15:38:18 +00:00
|
|
|
'../../src/compiler/s390/code-generator-s390.cc',
|
|
|
|
'../../src/compiler/s390/instruction-codes-s390.h',
|
|
|
|
'../../src/compiler/s390/instruction-scheduler-s390.cc',
|
|
|
|
'../../src/compiler/s390/instruction-selector-s390.cc',
|
2016-03-07 14:48:47 +00:00
|
|
|
'../../src/crankshaft/s390/lithium-codegen-s390.cc',
|
|
|
|
'../../src/crankshaft/s390/lithium-codegen-s390.h',
|
|
|
|
'../../src/crankshaft/s390/lithium-gap-resolver-s390.cc',
|
|
|
|
'../../src/crankshaft/s390/lithium-gap-resolver-s390.h',
|
|
|
|
'../../src/crankshaft/s390/lithium-s390.cc',
|
|
|
|
'../../src/crankshaft/s390/lithium-s390.h',
|
2016-03-01 17:00:08 +00:00
|
|
|
'../../src/debug/s390/debug-s390.cc',
|
2016-03-07 14:00:04 +00:00
|
|
|
'../../src/full-codegen/s390/full-codegen-s390.cc',
|
2016-03-01 17:00:08 +00:00
|
|
|
'../../src/ic/s390/access-compiler-s390.cc',
|
|
|
|
'../../src/ic/s390/handler-compiler-s390.cc',
|
|
|
|
'../../src/ic/s390/ic-compiler-s390.cc',
|
|
|
|
'../../src/ic/s390/ic-s390.cc',
|
|
|
|
'../../src/ic/s390/stub-cache-s390.cc',
|
2016-03-08 15:08:01 +00:00
|
|
|
'../../src/regexp/s390/regexp-macro-assembler-s390.cc',
|
|
|
|
'../../src/regexp/s390/regexp-macro-assembler-s390.h',
|
2016-02-26 16:24:36 +00:00
|
|
|
'../../src/s390/assembler-s390.cc',
|
|
|
|
'../../src/s390/assembler-s390.h',
|
2016-03-08 15:08:01 +00:00
|
|
|
'../../src/s390/assembler-s390-inl.h',
|
2016-02-26 16:24:36 +00:00
|
|
|
'../../src/s390/builtins-s390.cc',
|
|
|
|
'../../src/s390/codegen-s390.cc',
|
|
|
|
'../../src/s390/codegen-s390.h',
|
2016-03-08 15:08:01 +00:00
|
|
|
'../../src/s390/code-stubs-s390.cc',
|
|
|
|
'../../src/s390/code-stubs-s390.h',
|
2016-02-26 16:24:36 +00:00
|
|
|
'../../src/s390/constants-s390.cc',
|
2016-03-08 15:08:01 +00:00
|
|
|
'../../src/s390/constants-s390.h',
|
2016-02-26 16:24:36 +00:00
|
|
|
'../../src/s390/cpu-s390.cc',
|
|
|
|
'../../src/s390/deoptimizer-s390.cc',
|
|
|
|
'../../src/s390/disasm-s390.cc',
|
|
|
|
'../../src/s390/frames-s390.cc',
|
|
|
|
'../../src/s390/frames-s390.h',
|
|
|
|
'../../src/s390/interface-descriptors-s390.cc',
|
|
|
|
'../../src/s390/macro-assembler-s390.cc',
|
|
|
|
'../../src/s390/macro-assembler-s390.h',
|
|
|
|
'../../src/s390/simulator-s390.cc',
|
|
|
|
'../../src/s390/simulator-s390.h',
|
|
|
|
],
|
|
|
|
}],
|
2014-06-30 13:25:46 +00:00
|
|
|
['OS=="win"', {
|
|
|
|
'variables': {
|
|
|
|
'gyp_generators': '<!(echo $GYP_GENERATORS)',
|
|
|
|
},
|
|
|
|
'msvs_disabled_warnings': [4351, 4355, 4800],
|
2015-05-06 19:40:04 +00:00
|
|
|
# When building Official, the .lib is too large and exceeds the 2G
|
|
|
|
# limit. This breaks it into multiple pieces to avoid the limit.
|
|
|
|
# See http://crbug.com/485155.
|
|
|
|
'msvs_shard': 4,
|
2014-06-30 13:25:46 +00:00
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
'V8_SHARED',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['v8_postmortem_support=="true"', {
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
['v8_enable_i18n_support==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(icu_gyp_path):icui18n',
|
|
|
|
'<(icu_gyp_path):icuuc',
|
|
|
|
]
|
|
|
|
}, { # v8_enable_i18n_support==0
|
|
|
|
'sources!': [
|
|
|
|
'../../src/i18n.cc',
|
|
|
|
'../../src/i18n.h',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="win" and v8_enable_i18n_support==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(icu_gyp_path):icudata',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['icu_use_data_file_flag==1', {
|
|
|
|
'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'],
|
|
|
|
}, { # else icu_use_data_file_flag !=1
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
|
|
|
|
}, {
|
|
|
|
'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2014-08-29 12:30:50 +00:00
|
|
|
{
|
|
|
|
'target_name': 'v8_libbase',
|
|
|
|
'type': 'static_library',
|
|
|
|
'variables': {
|
|
|
|
'optimize': 'max',
|
|
|
|
},
|
|
|
|
'include_dirs+': [
|
|
|
|
'../..',
|
|
|
|
],
|
|
|
|
'sources': [
|
2015-04-20 16:24:52 +00:00
|
|
|
'../../src/base/adapters.h',
|
2014-08-29 12:30:50 +00:00
|
|
|
'../../src/base/atomicops.h',
|
|
|
|
'../../src/base/atomicops_internals_arm64_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_arm_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_atomicword_compat.h',
|
|
|
|
'../../src/base/atomicops_internals_mac.h',
|
|
|
|
'../../src/base/atomicops_internals_mips_gcc.h',
|
2015-06-26 14:24:42 +00:00
|
|
|
'../../src/base/atomicops_internals_mips64_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_portable.h',
|
2015-01-16 07:42:00 +00:00
|
|
|
'../../src/base/atomicops_internals_ppc_gcc.h',
|
2016-01-26 14:48:21 +00:00
|
|
|
'../../src/base/atomicops_internals_s390_gcc.h',
|
2014-08-29 12:30:50 +00:00
|
|
|
'../../src/base/atomicops_internals_tsan.h',
|
|
|
|
'../../src/base/atomicops_internals_x86_gcc.cc',
|
|
|
|
'../../src/base/atomicops_internals_x86_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_x86_msvc.h',
|
2014-09-02 13:36:35 +00:00
|
|
|
'../../src/base/bits.cc',
|
2014-08-29 12:30:50 +00:00
|
|
|
'../../src/base/bits.h',
|
|
|
|
'../../src/base/build_config.h',
|
2014-09-02 07:07:52 +00:00
|
|
|
'../../src/base/compiler-specific.h',
|
2014-08-29 12:30:50 +00:00
|
|
|
'../../src/base/cpu.cc',
|
|
|
|
'../../src/base/cpu.h',
|
2014-09-05 11:48:47 +00:00
|
|
|
'../../src/base/division-by-constant.cc',
|
|
|
|
'../../src/base/division-by-constant.h',
|
2014-08-29 12:30:50 +00:00
|
|
|
'../../src/base/flags.h',
|
2014-10-06 12:27:24 +00:00
|
|
|
'../../src/base/functional.cc',
|
|
|
|
'../../src/base/functional.h',
|
2014-12-16 07:31:46 +00:00
|
|
|
'../../src/base/iterator.h',
|
2014-08-29 12:30:50 +00:00
|
|
|
'../../src/base/lazy-instance.h',
|
|
|
|
'../../src/base/logging.cc',
|
|
|
|
'../../src/base/logging.h',
|
|
|
|
'../../src/base/macros.h',
|
|
|
|
'../../src/base/once.cc',
|
|
|
|
'../../src/base/once.h',
|
|
|
|
'../../src/base/platform/elapsed-timer.h',
|
|
|
|
'../../src/base/platform/time.cc',
|
|
|
|
'../../src/base/platform/time.h',
|
|
|
|
'../../src/base/platform/condition-variable.cc',
|
|
|
|
'../../src/base/platform/condition-variable.h',
|
|
|
|
'../../src/base/platform/mutex.cc',
|
|
|
|
'../../src/base/platform/mutex.h',
|
|
|
|
'../../src/base/platform/platform.h',
|
|
|
|
'../../src/base/platform/semaphore.cc',
|
|
|
|
'../../src/base/platform/semaphore.h',
|
|
|
|
'../../src/base/safe_conversions.h',
|
|
|
|
'../../src/base/safe_conversions_impl.h',
|
|
|
|
'../../src/base/safe_math.h',
|
|
|
|
'../../src/base/safe_math_impl.h',
|
2015-07-13 12:38:06 +00:00
|
|
|
'../../src/base/smart-pointers.h',
|
2014-08-29 12:30:50 +00:00
|
|
|
'../../src/base/sys-info.cc',
|
|
|
|
'../../src/base/sys-info.h',
|
|
|
|
'../../src/base/utils/random-number-generator.cc',
|
|
|
|
'../../src/base/utils/random-number-generator.h',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
['OS=="linux"', {
|
2014-10-06 08:10:50 +00:00
|
|
|
'conditions': [
|
|
|
|
['nacl_target_arch=="none"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2015-03-19 15:43:22 +00:00
|
|
|
'-ldl',
|
2014-10-06 08:10:50 +00:00
|
|
|
'-lrt'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}, {
|
|
|
|
'defines': [
|
|
|
|
'V8_LIBRT_NOT_AVAILABLE=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2014-08-29 12:30:50 +00:00
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-linux.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="android"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
],
|
2015-03-19 15:43:22 +00:00
|
|
|
'link_settings': {
|
2015-03-31 12:08:10 +00:00
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
# Only include libdl and librt on host builds because they
|
|
|
|
# are included by default on Android target builds, and we
|
|
|
|
# don't want to re-include them here since this will change
|
|
|
|
# library order and break (see crbug.com/469973).
|
|
|
|
'libraries': [
|
|
|
|
'-ldl',
|
|
|
|
'-lrt'
|
|
|
|
]
|
|
|
|
}]
|
2015-03-19 15:43:22 +00:00
|
|
|
]
|
|
|
|
},
|
2014-08-29 12:30:50 +00:00
|
|
|
'conditions': [
|
|
|
|
['host_os=="mac"', {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-macos.cc'
|
|
|
|
]
|
|
|
|
}, {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-linux.cc'
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-linux.cc'
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
['OS=="qnx"', {
|
|
|
|
'link_settings': {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host" and host_os=="linux"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lrt'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_toolset=="target"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lbacktrace'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-posix.cc',
|
|
|
|
'../../src/base/qnx-math.h',
|
|
|
|
],
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host" and host_os=="linux"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-linux.cc'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_toolset=="host" and host_os=="mac"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-macos.cc'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_toolset=="target"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-qnx.cc'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
['OS=="freebsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/local/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-freebsd.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="openbsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/local/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-openbsd.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="netbsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-openbsd.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
2015-01-30 08:01:53 +00:00
|
|
|
['OS=="aix"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-aix.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
]},
|
|
|
|
],
|
2014-08-29 12:30:50 +00:00
|
|
|
['OS=="solaris"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2014-11-12 14:47:49 +00:00
|
|
|
'-lnsl -lrt',
|
2014-08-29 12:30:50 +00:00
|
|
|
]},
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-solaris.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="mac"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-macos.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
]},
|
|
|
|
],
|
|
|
|
['OS=="win"', {
|
|
|
|
'defines': [
|
|
|
|
'_CRT_RAND_S' # for rand_s()
|
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'gyp_generators': '<!(echo $GYP_GENERATORS)',
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['gyp_generators=="make"', {
|
|
|
|
'variables': {
|
|
|
|
'build_env': '<!(uname -o)',
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['build_env=="Cygwin"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-cygwin.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-win32.cc',
|
|
|
|
'../../src/base/win32-headers.h',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [ '-lwinmm', '-lws2_32' ],
|
|
|
|
},
|
|
|
|
}, {
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-win32.cc',
|
|
|
|
'../../src/base/win32-headers.h',
|
|
|
|
],
|
|
|
|
'msvs_disabled_warnings': [4351, 4355, 4800],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2014-07-03 07:37:27 +00:00
|
|
|
{
|
|
|
|
'target_name': 'v8_libplatform',
|
|
|
|
'type': 'static_library',
|
|
|
|
'variables': {
|
|
|
|
'optimize': 'max',
|
|
|
|
},
|
|
|
|
'dependencies': [
|
2014-08-29 12:30:50 +00:00
|
|
|
'v8_libbase',
|
2014-07-03 07:37:27 +00:00
|
|
|
],
|
|
|
|
'include_dirs+': [
|
|
|
|
'../..',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../../include/libplatform/libplatform.h',
|
|
|
|
'../../src/libplatform/default-platform.cc',
|
|
|
|
'../../src/libplatform/default-platform.h',
|
|
|
|
'../../src/libplatform/task-queue.cc',
|
|
|
|
'../../src/libplatform/task-queue.h',
|
|
|
|
'../../src/libplatform/worker-thread.cc',
|
|
|
|
'../../src/libplatform/worker-thread.h',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
2016-02-29 11:02:52 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../../include',
|
|
|
|
],
|
|
|
|
},
|
2014-07-03 07:37:27 +00:00
|
|
|
},
|
2014-06-23 13:52:17 +00:00
|
|
|
{
|
|
|
|
'target_name': 'natives_blob',
|
|
|
|
'type': 'none',
|
|
|
|
'conditions': [
|
|
|
|
[ 'v8_use_external_startup_data==1', {
|
2014-08-29 15:04:59 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'dependencies': ['js2c#host'],
|
|
|
|
}, {
|
|
|
|
'dependencies': ['js2c'],
|
|
|
|
}],
|
|
|
|
],
|
2014-06-23 13:52:17 +00:00
|
|
|
'actions': [{
|
|
|
|
'action_name': 'concatenate_natives_blob',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/concatenate-files.py',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
|
2015-05-08 08:44:47 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin',
|
2015-08-20 00:01:07 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin',
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
2014-08-29 15:04:59 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/natives_blob_host.bin',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host.bin'
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/natives_blob.bin',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/natives_blob.bin',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
|
|
|
|
],
|
|
|
|
}],
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
}],
|
|
|
|
['want_separate_host_toolset==1', {
|
2014-08-29 15:04:59 +00:00
|
|
|
'toolsets': ['host', 'target'],
|
2014-06-23 13:52:17 +00:00
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
]
|
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
{
|
|
|
|
'target_name': 'js2c',
|
|
|
|
'type': 'none',
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
2013-07-03 11:22:29 +00:00
|
|
|
['v8_enable_i18n_support==1', {
|
2013-09-12 13:50:38 +00:00
|
|
|
'variables': {
|
|
|
|
'i18n_library_files': [
|
2015-10-13 09:38:08 +00:00
|
|
|
'../../src/js/i18n.js',
|
2013-08-26 17:00:58 +00:00
|
|
|
],
|
2013-09-12 13:50:38 +00:00
|
|
|
},
|
|
|
|
}, {
|
|
|
|
'variables': {
|
|
|
|
'i18n_library_files': [],
|
|
|
|
},
|
2013-07-03 11:22:29 +00:00
|
|
|
}],
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'library_files': [
|
2015-10-13 09:38:08 +00:00
|
|
|
'../../src/js/macros.py',
|
2015-04-16 07:01:20 +00:00
|
|
|
'../../src/messages.h',
|
2015-10-13 09:38:08 +00:00
|
|
|
'../../src/js/prologue.js',
|
|
|
|
'../../src/js/runtime.js',
|
|
|
|
'../../src/js/v8natives.js',
|
|
|
|
'../../src/js/symbol.js',
|
|
|
|
'../../src/js/array.js',
|
|
|
|
'../../src/js/string.js',
|
|
|
|
'../../src/js/uri.js',
|
|
|
|
'../../src/js/math.js',
|
2015-03-09 13:25:37 +00:00
|
|
|
'../../src/third_party/fdlibm/fdlibm.js',
|
2015-10-13 09:38:08 +00:00
|
|
|
'../../src/js/regexp.js',
|
|
|
|
'../../src/js/arraybuffer.js',
|
|
|
|
'../../src/js/typedarray.js',
|
|
|
|
'../../src/js/iterator-prototype.js',
|
|
|
|
'../../src/js/generator.js',
|
|
|
|
'../../src/js/object-observe.js',
|
|
|
|
'../../src/js/collection.js',
|
|
|
|
'../../src/js/weak-collection.js',
|
|
|
|
'../../src/js/collection-iterator.js',
|
|
|
|
'../../src/js/promise.js',
|
|
|
|
'../../src/js/messages.js',
|
|
|
|
'../../src/js/json.js',
|
|
|
|
'../../src/js/array-iterator.js',
|
|
|
|
'../../src/js/string-iterator.js',
|
|
|
|
'../../src/js/templates.js',
|
2015-10-28 15:57:01 +00:00
|
|
|
'../../src/js/spread.js',
|
2016-03-21 19:39:16 +00:00
|
|
|
'../../src/js/proxy.js',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/mirrors.js',
|
2015-08-12 14:22:07 +00:00
|
|
|
'../../src/debug/debug.js',
|
2015-07-31 11:07:50 +00:00
|
|
|
'../../src/debug/liveedit.js',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'experimental_library_files': [
|
2015-10-13 09:38:08 +00:00
|
|
|
'../../src/js/macros.py',
|
2015-04-16 07:01:20 +00:00
|
|
|
'../../src/messages.h',
|
2015-10-13 09:38:08 +00:00
|
|
|
'../../src/js/generator.js',
|
|
|
|
'../../src/js/harmony-atomics.js',
|
2016-03-24 22:26:15 +00:00
|
|
|
'../../src/js/harmony-regexp-exec.js',
|
2015-10-13 09:38:08 +00:00
|
|
|
'../../src/js/harmony-object-observe.js',
|
|
|
|
'../../src/js/harmony-sharedarraybuffer.js',
|
|
|
|
'../../src/js/harmony-simd.js',
|
2016-01-04 19:39:52 +00:00
|
|
|
'../../src/js/harmony-species.js',
|
2015-12-28 16:38:37 +00:00
|
|
|
'../../src/js/harmony-unicode-regexps.js',
|
2016-03-24 17:14:53 +00:00
|
|
|
'../../src/js/harmony-string-padding.js',
|
2015-12-10 23:57:39 +00:00
|
|
|
'../../src/js/promise-extra.js',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
2014-06-23 13:52:17 +00:00
|
|
|
'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
|
|
|
|
'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
|
2015-05-08 08:44:47 +00:00
|
|
|
'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin',
|
2015-08-20 00:01:07 +00:00
|
|
|
'libraries_experimental_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin',
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
'actions': [
|
2009-07-08 14:56:56 +00:00
|
|
|
{
|
2013-05-15 13:09:57 +00:00
|
|
|
'action_name': 'js2c',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(library_files)',
|
2015-05-08 08:44:47 +00:00
|
|
|
'<@(i18n_library_files)'
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2015-09-08 15:24:45 +00:00
|
|
|
'outputs': ['<(SHARED_INTERMEDIATE_DIR)/libraries.cc'],
|
2013-05-15 13:09:57 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
2014-06-23 13:52:17 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'CORE',
|
2013-09-12 13:50:38 +00:00
|
|
|
'<@(library_files)',
|
2015-05-08 08:44:47 +00:00
|
|
|
'<@(i18n_library_files)'
|
2011-08-25 14:50:09 +00:00
|
|
|
],
|
2015-09-08 15:24:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'js2c_bin',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(library_files)',
|
|
|
|
'<@(i18n_library_files)'
|
|
|
|
],
|
|
|
|
'outputs': ['<@(libraries_bin_file)'],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
|
|
|
'CORE',
|
|
|
|
'<@(library_files)',
|
|
|
|
'<@(i18n_library_files)',
|
|
|
|
'--startup_blob', '<@(libraries_bin_file)',
|
|
|
|
'--nojs',
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
{
|
2013-05-15 13:09:57 +00:00
|
|
|
'action_name': 'js2c_experimental',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(experimental_library_files)',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2015-09-08 15:24:45 +00:00
|
|
|
'outputs': ['<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc'],
|
2013-05-15 13:09:57 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
2014-06-23 13:52:17 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'EXPERIMENTAL',
|
|
|
|
'<@(experimental_library_files)'
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2015-09-08 15:24:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'js2c_experimental_bin',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(experimental_library_files)',
|
|
|
|
],
|
|
|
|
'outputs': ['<@(libraries_experimental_bin_file)'],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
|
|
|
'EXPERIMENTAL',
|
|
|
|
'<@(experimental_library_files)',
|
|
|
|
'--startup_blob', '<@(libraries_experimental_bin_file)',
|
|
|
|
'--nojs',
|
2014-06-23 13:52:17 +00:00
|
|
|
],
|
2009-07-08 14:56:56 +00:00
|
|
|
},
|
2015-05-08 08:44:47 +00:00
|
|
|
{
|
|
|
|
'action_name': 'js2c_extras',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(v8_extra_library_files)',
|
|
|
|
],
|
2015-09-08 15:24:45 +00:00
|
|
|
'outputs': ['<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc'],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
2015-05-08 08:44:47 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
|
2015-09-08 15:24:45 +00:00
|
|
|
'EXTRAS',
|
|
|
|
'<@(v8_extra_library_files)',
|
2015-05-08 08:44:47 +00:00
|
|
|
],
|
2015-09-08 15:24:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'js2c_extras_bin',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(v8_extra_library_files)',
|
|
|
|
],
|
|
|
|
'outputs': ['<@(libraries_extras_bin_file)'],
|
2015-05-08 08:44:47 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
|
|
|
|
'EXTRAS',
|
|
|
|
'<@(v8_extra_library_files)',
|
2015-09-08 15:24:45 +00:00
|
|
|
'--startup_blob', '<@(libraries_extras_bin_file)',
|
|
|
|
'--nojs',
|
2015-05-08 08:44:47 +00:00
|
|
|
],
|
|
|
|
},
|
2015-08-20 00:01:07 +00:00
|
|
|
{
|
|
|
|
'action_name': 'js2c_experimental_extras',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(v8_experimental_extra_library_files)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
|
|
|
|
'EXPERIMENTAL_EXTRAS',
|
|
|
|
'<@(v8_experimental_extra_library_files)',
|
|
|
|
],
|
2015-09-08 15:24:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'js2c_experimental_extras_bin',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(v8_experimental_extra_library_files)',
|
|
|
|
],
|
|
|
|
'outputs': ['<@(libraries_experimental_extras_bin_file)'],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
|
|
|
|
'EXPERIMENTAL_EXTRAS',
|
|
|
|
'<@(v8_experimental_extra_library_files)',
|
|
|
|
'--startup_blob', '<@(libraries_experimental_extras_bin_file)',
|
|
|
|
'--nojs',
|
2015-08-20 00:01:07 +00:00
|
|
|
],
|
|
|
|
},
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'postmortem-metadata',
|
|
|
|
'type': 'none',
|
|
|
|
'variables': {
|
|
|
|
'heapobject_files': [
|
|
|
|
'../../src/objects.h',
|
|
|
|
'../../src/objects-inl.h',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'gen-postmortem-metadata',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/gen-postmortem-metadata.py',
|
|
|
|
'<@(heapobject_files)',
|
2013-01-16 10:16:46 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/gen-postmortem-metadata.py',
|
|
|
|
'<@(_outputs)',
|
|
|
|
'<@(heapobject_files)'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2014-05-22 09:04:24 +00:00
|
|
|
'target_name': 'mksnapshot',
|
2013-05-15 13:09:57 +00:00
|
|
|
'type': 'executable',
|
2014-07-03 07:37:27 +00:00
|
|
|
'dependencies': ['v8_base', 'v8_nosnapshot', 'v8_libplatform'],
|
2013-05-15 13:09:57 +00:00
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2015-03-27 15:28:55 +00:00
|
|
|
'../../src/snapshot/mksnapshot.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
2014-10-08 14:55:03 +00:00
|
|
|
['v8_enable_i18n_support==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(icu_gyp_path):icui18n',
|
|
|
|
'<(icu_gyp_path):icuuc',
|
|
|
|
]
|
|
|
|
}],
|
2013-05-15 13:09:57 +00:00
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
|
|
|
}
|