GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: V8: cherry-pick b161a0823165 · nodejs/node@c8ff2df

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • common.gypi
  • deps/v8/src/trap-handler
    • handler-outside-simulator.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.7',
39+
'v8_embedder_string': '-node.8',
4040

4141
##### V8 defaults for Node.js #####
4242

Collapse file

‎deps/v8/src/trap-handler/handler-outside-simulator.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/trap-handler/handler-outside-simulator.cc
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111
#define SYMBOL(name) #name
1212
#endif // !V8_OS_DARWIN
1313

14+
#if defined(_MSC_VER) && !defined(__clang__)
15+
// MSVC does not accept inline assembly
16+
#include <intrin.h>
17+
extern "C" uintptr_t ProbeMemory(uintptr_t address, uintptr_t pc) {
18+
// @pc parameter is unused.
19+
// This intrinsic guarantees that a load from address will be done.
20+
__iso_volatile_load8(reinterpret_cast<char*>(address));
21+
return 0;
22+
}
23+
extern "C" void v8_probe_memory_continuation() {}
24+
#else
1425
// Define the ProbeMemory function declared in trap-handler-simulators.h.
1526
asm(
1627
".globl " SYMBOL(ProbeMemory) " \n"
@@ -35,3 +46,4 @@ asm(
3546
SYMBOL(v8_probe_memory_continuation) ": \n"
3647
// If the trap handler continues here, it wrote the landing pad in %rax.
3748
" ret \n");
49+
#endif

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.