Skip to content

Commit

Permalink
v8: include right headers in torque output
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
2 people authored and nodejs-ci committed Mar 3, 2020
1 parent 2ab89a2 commit 535dc9b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions deps/v8/src/torque/implementation-visitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4015,6 +4015,26 @@ void ImplementationVisitor::GenerateExportedMacrosAssembler(
h_contents << "#include \"torque-generated/csa-types-tq.h\"\n";
h_contents
<< "#include \"torque-generated/internal-class-definitions-tq.h\"\n";
cc_contents << "#include \"src/objects/free-space.h\"\n";
cc_contents << "#include \"src/objects/js-regexp-string-iterator.h\"\n";
cc_contents << "#include \"src/objects/ordered-hash-table.h\"\n";
cc_contents << "#include \"src/objects/property-descriptor-object.h\"\n";
cc_contents << "#include \"src/objects/synthetic-module.h\"\n";
cc_contents << "#include \"src/objects/template-objects.h\"\n";
{
IfDefScope intl_scope(cc_contents, "V8_INTL_SUPPORT");
cc_contents << "#include \"src/objects/js-break-iterator.h\"\n";
cc_contents << "#include \"src/objects/js-collator.h\"\n";
cc_contents << "#include \"src/objects/js-date-time-format.h\"\n";
cc_contents << "#include \"src/objects/js-display-names.h\"\n";
cc_contents << "#include \"src/objects/js-list-format.h\"\n";
cc_contents << "#include \"src/objects/js-locale.h\"\n";
cc_contents << "#include \"src/objects/js-number-format.h\"\n";
cc_contents << "#include \"src/objects/js-plural-rules.h\"\n";
cc_contents << "#include \"src/objects/js-relative-time-format.h\"\n";
cc_contents << "#include \"src/objects/js-segment-iterator.h\"\n";
cc_contents << "#include \"src/objects/js-segmenter.h\"\n";
}
cc_contents << "#include \"torque-generated/" << file_name << ".h\"\n";

for (SourceId file : SourceFileMap::AllSources()) {
Expand Down

0 comments on commit 535dc9b

Please sign in to comment.