ports/devel/electron28/files/patch-v8_src_codegen_x64_assembler-x64.h
Hiroki Tagato f88751e60a devel/electron28: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-01-29 16:47:07 +09:00

21 lines
838 B
C

--- v8/src/codegen/x64/assembler-x64.h.orig 2023-11-29 21:41:53 UTC
+++ v8/src/codegen/x64/assembler-x64.h
@@ -860,6 +860,7 @@ class V8_EXPORT_PRIVATE Assembler : public AssemblerBa
void ret(int imm16);
void ud2();
void setcc(Condition cc, Register reg);
+ void endbr64();
void pblendw(XMMRegister dst, Operand src, uint8_t mask);
void pblendw(XMMRegister dst, XMMRegister src, uint8_t mask);
@@ -918,8 +919,8 @@ class V8_EXPORT_PRIVATE Assembler : public AssemblerBa
void jmp(Handle<Code> target, RelocInfo::Mode rmode);
// Jump near absolute indirect (r64)
- void jmp(Register adr);
- void jmp(Operand src);
+ void jmp(Register adr, bool notrack = false);
+ void jmp(Operand src, bool notrack = false);
// Unconditional jump relative to the current address. Low-level routine,
// use with caution!