Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
V8: Reapply patches
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 26, 2013
1 parent 1111880 commit c86b381
Show file tree
Hide file tree
Showing 18 changed files with 295 additions and 183 deletions.
16 changes: 11 additions & 5 deletions deps/v8/build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@
# access is allowed for all CPUs.
'v8_can_use_unaligned_accesses%': 'default',

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

# Similar to vfp but on MIPS.
'v8_can_use_fpu_instructions%': 'true',
Expand Down Expand Up @@ -125,15 +126,20 @@
'CAN_USE_UNALIGNED_ACCESSES=0',
],
}],
[ 'v8_can_use_vfp_instructions=="true"', {
[ 'v8_can_use_vfp2_instructions=="true"', {
'defines': [
'CAN_USE_VFP_INSTRUCTIONS',
'CAN_USE_VFP2_INSTRUCTIONS',
],
}],
[ 'v8_can_use_vfp3_instructions=="true"', {
'defines': [
'CAN_USE_VFP3_INSTRUCTIONS',
],
}],
[ 'v8_use_arm_eabi_hardfloat=="true"', {
'defines': [
'USE_EABI_HARDFLOAT=1',
'CAN_USE_VFP_INSTRUCTIONS',
'CAN_USE_VFP2_INSTRUCTIONS',
],
'target_conditions': [
['_toolset=="target"', {
Expand Down
Loading

0 comments on commit c86b381

Please sign in to comment.