Skip to content

Commit 76a6c4b

Browse files
committed
V8: Reapply patches
1 parent 29d12c7 commit 76a6c4b

18 files changed

+295
-183
lines changed

deps/v8/build/common.gypi

+11-5
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@
4343
# access is allowed for all CPUs.
4444
'v8_can_use_unaligned_accesses%': 'default',
4545

46-
# Setting 'v8_can_use_vfp_instructions' to 'true' will enable use of ARM VFP
46+
# Setting 'v8_can_use_vfp2_instructions' to 'true' will enable use of ARM VFP
4747
# instructions in the V8 generated code. VFP instructions will be enabled
4848
# both for the snapshot and for the ARM target. Leaving the default value
4949
# of 'false' will avoid VFP instructions in the snapshot and use CPU feature
5050
# probing when running on the target.
51-
'v8_can_use_vfp_instructions%': 'false',
51+
'v8_can_use_vfp2_instructions%': 'false',
52+
'v8_can_use_vfp3_instructions%': 'false',
5253

5354
# Similar to vfp but on MIPS.
5455
'v8_can_use_fpu_instructions%': 'true',
@@ -125,15 +126,20 @@
125126
'CAN_USE_UNALIGNED_ACCESSES=0',
126127
],
127128
}],
128-
[ 'v8_can_use_vfp_instructions=="true"', {
129+
[ 'v8_can_use_vfp2_instructions=="true"', {
129130
'defines': [
130-
'CAN_USE_VFP_INSTRUCTIONS',
131+
'CAN_USE_VFP2_INSTRUCTIONS',
132+
],
133+
}],
134+
[ 'v8_can_use_vfp3_instructions=="true"', {
135+
'defines': [
136+
'CAN_USE_VFP3_INSTRUCTIONS',
131137
],
132138
}],
133139
[ 'v8_use_arm_eabi_hardfloat=="true"', {
134140
'defines': [
135141
'USE_EABI_HARDFLOAT=1',
136-
'CAN_USE_VFP_INSTRUCTIONS',
142+
'CAN_USE_VFP2_INSTRUCTIONS',
137143
],
138144
'target_conditions': [
139145
['_toolset=="target"', {

0 commit comments

Comments
 (0)