Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source map prerequisites #435

Merged
merged 4 commits into from
Aug 1, 2018
Merged

Source map prerequisites #435

merged 4 commits into from
Aug 1, 2018

Conversation

ry
Copy link
Member

@ry ry commented Aug 1, 2018

No description provided.

ry added 4 commits July 31, 2018 20:51
It's a dependency of js/v8_source_maps.ts.
Switch the order of the snapshot_creator args, in order to allow for
optional source map arg.
Switches to using asm incbin to embed the V8 snapshot instead of
outputing C code and then compiling it.

Compile time for from_snapshot.o goes from 44s to 1s.
@ry ry requested a review from piscisaureus August 1, 2018 01:04
@ry ry mentioned this pull request Aug 1, 2018
v8::Isolate* isolate = context->GetIsolate();
Deno* d = FromIsolate(isolate);
std::string exception_str;
HandleExceptionStr(context, exception, &exception_str);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passing a pointer to std::string seems rather un-idiomatic. But whatever.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah - that's a programmer error - but I will fix it later to avoid having to rebase a bunch of branches :)

Copy link
Member

@piscisaureus piscisaureus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works, ship it!

@ry ry merged commit 6b6fac2 into master Aug 1, 2018
@ry ry deleted the source_map_prereq branch August 1, 2018 16:14
piscisaureus pushed a commit to piscisaureus/deno that referenced this pull request Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants