| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -73,11 +73,6 @@ | |||
| 73 | 73 | # Sets -DV8_ENABLE_FUTURE. | |
| 74 | 74 | 'v8_enable_future%': 0, | |
| 75 | 75 | ||
| 76 | - # Lite mode disables a number of performance optimizations to reduce memory | ||
| 77 | - # at the cost of performance. | ||
| 78 | - # Sets --DV8_LITE_MODE. | ||
| 79 | - 'v8_enable_lite_mode%': 0, | ||
| 80 | - | ||
| 81 | 76 | # Sets -DVERIFY_HEAP. | |
| 82 | 77 | 'v8_enable_verify_heap%': 0, | |
| 83 | 78 | ||
@@ -217,11 +212,27 @@ | |||
| 217 | 212 | # Requires use_rtti = true | |
| 218 | 213 | 'v8_enable_precise_zone_stats%': 0, | |
| 219 | 214 | ||
| 215 | + # Experimental feature for tracking constness of properties in non-global | ||
| 216 | + # dictionaries. Enabling this also always keeps prototypes in dict mode, | ||
| 217 | + # meaning that they are not switched to fast mode. | ||
| 218 | + # Sets -DV8_DICT_PROPERTY_CONST_TRACKING | ||
| 219 | + 'v8_dict_property_const_tracking%': 0, | ||
| 220 | + | ||
| 220 | 221 | # Variables from v8.gni | |
| 221 | 222 | ||
| 222 | 223 | # Enable ECMAScript Internationalization API. Enabling this feature will | |
| 223 | 224 | # add a dependency on the ICU library. | |
| 224 | 225 | 'v8_enable_i18n_support%': 1, | |
| 226 | + | ||
| 227 | + # Lite mode disables a number of performance optimizations to reduce memory | ||
| 228 | + # at the cost of performance. | ||
| 229 | + # Sets --DV8_LITE_MODE. | ||
| 230 | + 'v8_enable_lite_mode%': 0, | ||
| 231 | + | ||
| 232 | + # Include support for WebAssembly. If disabled, the 'WebAssembly' global | ||
| 233 | + # will not be available, and embedder APIs to generate WebAssembly modules | ||
| 234 | + # will fail. | ||
| 235 | + 'v8_enable_webassembly%': 1, | ||
| 225 | 236 | }, | |
| 226 | 237 | ||
| 227 | 238 | 'target_defaults': { | |
@@ -355,6 +366,12 @@ | |||
| 355 | 366 | ['v8_enable_precise_zone_stats==1', { | |
| 356 | 367 | 'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',], | |
| 357 | 368 | }], | |
| 369 | + ['v8_enable_webassembly==1', { | ||
| 370 | + 'defines': ['V8_ENABLE_WEBASSEMBLY',], | ||
| 371 | + }], | ||
| 372 | + ['v8_dict_property_const_tracking==1', { | ||
| 373 | + 'defines': ['V8_DICT_PROPERTY_CONST_TRACKING',], | ||
| 374 | + }], | ||
| 358 | 375 | ], # conditions | |
| 359 | 376 | 'defines': [ | |
| 360 | 377 | 'V8_GYP_BUILD', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -66,22 +66,24 @@ | |||
| 66 | 66 | 'outputs': [ | |
| 67 | 67 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/bit-fields.h", | |
| 68 | 68 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions.h", | |
| 69 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/interface-descriptors.inc", | ||
| 70 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.cc", | ||
| 71 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.inc", | ||
| 72 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/field-offsets.h", | ||
| 69 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.cc", | ||
| 70 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.h", | ||
| 71 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-forward-declarations.h", | ||
| 73 | 72 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-verifiers.cc", | |
| 74 | 73 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-verifiers.h", | |
| 74 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/csa-types.h", | ||
| 75 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/debug-macros.cc", | ||
| 76 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/debug-macros.h", | ||
| 75 | 77 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/enum-verifiers.cc", | |
| 76 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-printer.cc", | ||
| 77 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-body-descriptors-inl.inc", | ||
| 78 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.cc", | ||
| 79 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.h", | ||
| 80 | 78 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/exported-macros-assembler.cc", | |
| 81 | 79 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/exported-macros-assembler.h", | |
| 82 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/csa-types.h", | ||
| 80 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.cc", | ||
| 81 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.inc", | ||
| 82 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/field-offsets.h", | ||
| 83 | 83 | "<(SHARED_INTERMEDIATE_DIR)/torque-generated/instance-types.h", | |
| 84 | - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-forward-declarations.h", | ||
| 84 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/interface-descriptors.inc", | ||
| 85 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-body-descriptors-inl.inc", | ||
| 86 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-printer.cc", | ||
| 85 | 87 | '<@(torque_outputs_csa_cc)', | |
| 86 | 88 | '<@(torque_outputs_csa_h)', | |
| 87 | 89 | '<@(torque_outputs_inl_inc)', | |
@@ -455,6 +457,8 @@ | |||
| 455 | 457 | '<(V8_ROOT)/include/v8-cppgc.h', | |
| 456 | 458 | '<(V8_ROOT)/include/v8-fast-api-calls.h', | |
| 457 | 459 | '<(V8_ROOT)/include/v8-internal.h', | |
| 460 | + '<(V8_ROOT)/include/v8-profiler.h', | ||
| 461 | + '<(V8_ROOT)/include/v8-util.h', | ||
| 458 | 462 | '<(V8_ROOT)/include/v8.h', | |
| 459 | 463 | '<(V8_ROOT)/include/v8config.h', | |
| 460 | 464 | ||
@@ -603,6 +607,19 @@ | |||
| 603 | 607 | '<(V8_ROOT)/src/heap/third-party/heap-api-stub.cc', | |
| 604 | 608 | ], | |
| 605 | 609 | }], | |
| 610 | + ['v8_enable_webassembly==1', { | ||
| 611 | + 'sources': [ | ||
| 612 | + '<(V8_ROOT)/src/asmjs/asm-js.cc', | ||
| 613 | + '<(V8_ROOT)/src/asmjs/asm-js.h', | ||
| 614 | + '<(V8_ROOT)/src/asmjs/asm-names.h', | ||
| 615 | + '<(V8_ROOT)/src/asmjs/asm-parser.cc', | ||
| 616 | + '<(V8_ROOT)/src/asmjs/asm-parser.h', | ||
| 617 | + '<(V8_ROOT)/src/asmjs/asm-scanner.cc', | ||
| 618 | + '<(V8_ROOT)/src/asmjs/asm-scanner.h', | ||
| 619 | + '<(V8_ROOT)/src/asmjs/asm-types.cc', | ||
| 620 | + '<(V8_ROOT)/src/asmjs/asm-types.h', | ||
| 621 | + ], | ||
| 622 | + }], | ||
| 606 | 623 | ['want_separate_host_toolset', { | |
| 607 | 624 | 'toolsets': ['host', 'target'], | |
| 608 | 625 | }], | |
@@ -649,6 +666,13 @@ | |||
| 649 | 666 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"arm64\\".*?sources \+= ")', | |
| 650 | 667 | ], | |
| 651 | 668 | 'conditions': [ | |
| 669 | + ['OS=="mac"', { | ||
| 670 | + 'sources': [ | ||
| 671 | + "<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc", | ||
| 672 | + "<(V8_ROOT)/src/trap-handler/handler-inside-posix.h", | ||
| 673 | + "<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc", | ||
| 674 | + ], | ||
| 675 | + }], | ||
| 652 | 676 | ['OS=="win"', { | |
| 653 | 677 | 'sources': [ | |
| 654 | 678 | "<(V8_ROOT)/src/diagnostics/unwinding-info-win64.cc", | |
@@ -1180,6 +1204,7 @@ | |||
| 1180 | 1204 | "<(V8_ROOT)/src/builtins/generate-bytecodes-builtins-list.cc", | |
| 1181 | 1205 | "<(V8_ROOT)/src/interpreter/bytecode-operands.cc", | |
| 1182 | 1206 | "<(V8_ROOT)/src/interpreter/bytecode-operands.h", | |
| 1207 | + "<(V8_ROOT)/src/interpreter/bytecode-traits.h", | ||
| 1183 | 1208 | "<(V8_ROOT)/src/interpreter/bytecodes.cc", | |
| 1184 | 1209 | "<(V8_ROOT)/src/interpreter/bytecodes.h", | |
| 1185 | 1210 | ], | |
@@ -1285,6 +1310,7 @@ | |||
| 1285 | 1310 | ], | |
| 1286 | 1311 | 'sources': [ | |
| 1287 | 1312 | "<(V8_ROOT)/src/regexp/gen-regexp-special-case.cc", | |
| 1313 | + "<(V8_ROOT)/src/regexp/special-case.h", | ||
| 1288 | 1314 | ], | |
| 1289 | 1315 | }, # gen-regexp-special-case | |
| 1290 | 1316 | { | |
@@ -1489,6 +1515,7 @@ | |||
| 1489 | 1515 | 'v8_enable_verify_csa=<(v8_enable_verify_csa)', | |
| 1490 | 1516 | 'v8_enable_lite_mode=<(v8_enable_lite_mode)', | |
| 1491 | 1517 | 'v8_enable_pointer_compression=<(v8_enable_pointer_compression)', | |
| 1518 | + 'v8_enable_webassembly=<(v8_enable_webassembly)', | ||
| 1492 | 1519 | ] | |
| 1493 | 1520 | }, | |
| 1494 | 1521 | 'conditions': [ | |
@@ -1573,6 +1600,7 @@ | |||
| 1573 | 1600 | '<(V8_ROOT)/src/objects/primitive-heap-object.h', | |
| 1574 | 1601 | '<(V8_ROOT)/src/objects/primitive-heap-object-inl.h', | |
| 1575 | 1602 | '<(V8_ROOT)/src/objects/scope-info.h', | |
| 1603 | + '<(V8_ROOT)/src/objects/scope-info-inl.h', | ||
| 1576 | 1604 | '<(V8_ROOT)/src/objects/script.h', | |
| 1577 | 1605 | '<(V8_ROOT)/src/objects/script-inl.h', | |
| 1578 | 1606 | '<(V8_ROOT)/src/objects/shared-function-info.cc', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments