| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7c8483a commit ecca2b0
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ | |||
| 38 | 38 | ||
| 39 | 39 | # Reset this number to 0 on major V8 upgrades. | |
| 40 | 40 | # Increment by one for each non-official patch applied to deps/v8. | |
| 41 | - 'v8_embedder_string': '-node.1', | ||
| 41 | + 'v8_embedder_string': '-node.2', | ||
| 42 | 42 | ||
| 43 | 43 | ##### V8 defaults for Node.js ##### | |
| 44 | 44 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -600,11 +600,15 @@ path. Add it with -I<path> to the command line | |||
| 600 | 600 | // functions. | |
| 601 | 601 | // Use like: | |
| 602 | 602 | // V8_NOINLINE V8_PRESERVE_MOST void UnlikelyMethod(); | |
| 603 | + #if V8_OS_WIN | ||
| 604 | + # define V8_PRESERVE_MOST | ||
| 605 | + #else | ||
| 603 | 606 | #if V8_HAS_ATTRIBUTE_PRESERVE_MOST | |
| 604 | 607 | # define V8_PRESERVE_MOST __attribute__((preserve_most)) | |
| 605 | 608 | #else | |
| 606 | 609 | # define V8_PRESERVE_MOST /* NOT SUPPORTED */ | |
| 607 | 610 | #endif | |
| 611 | + #endif | ||
| 608 | 612 | ||
| 609 | 613 | ||
| 610 | 614 | // A macro (V8_DEPRECATED) to mark classes or functions as deprecated. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments