aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-v8_src_compiler_backend_x64_code-generator-x64.cc
blob: 33f5c62768867ce8ceb1d8ab768729c5cbee8e94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- v8/src/compiler/backend/x64/code-generator-x64.cc.orig	2023-12-10 06:10:27 UTC
+++ v8/src/compiler/backend/x64/code-generator-x64.cc
@@ -6850,11 +6850,11 @@ void CodeGenerator::AssembleArchTableSwitch(Instructio
     // target = table + (target - table)
     __ addq(input, kScratchRegister);
     // Jump to the target.
-    __ jmp(input);
+    __ jmp(input, /*notrack=*/true);
   } else {
     // For non builtins, the value in the table is 'target_address' (8 bytes)
     // jmp [table + index*8]
-    __ jmp(Operand(kScratchRegister, input, times_8, 0));
+    __ jmp(Operand(kScratchRegister, input, times_8, 0), /*notrack=*/true);
   }
 }