mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
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/
20 lines
974 B
C++
20 lines
974 B
C++
--- v8/src/codegen/x64/macro-assembler-x64.cc.orig 2023-11-29 21:41:53 UTC
|
|
+++ v8/src/codegen/x64/macro-assembler-x64.cc
|
|
@@ -51,6 +51,8 @@ Operand StackArgumentsAccessor::GetArgumentOperand(int
|
|
return Operand(rsp, kPCOnStackSize + index * kSystemPointerSize);
|
|
}
|
|
|
|
+void MacroAssembler::CodeEntry() { endbr64(); }
|
|
+
|
|
void MacroAssembler::Load(Register destination, ExternalReference source) {
|
|
if (root_array_available_ && options().enable_root_relative_access) {
|
|
intptr_t delta = RootRegisterOffsetForExternalReference(isolate(), source);
|
|
@@ -2144,7 +2146,7 @@ void MacroAssembler::Switch(Register scratch, Register
|
|
cmpq(reg, Immediate(num_labels));
|
|
j(above_equal, &fallthrough);
|
|
leaq(table, MemOperand(&jump_table));
|
|
- jmp(MemOperand(table, reg, times_8, 0));
|
|
+ jmp(MemOperand(table, reg, times_8, 0), /*notrack=*/true);
|
|
// Emit the jump table inline, under the assumption that it's not too big.
|
|
Align(kSystemPointerSize);
|
|
bind(&jump_table);
|