Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Side by Side Diff: src/compiler/wasm-linkage.cc

Issue 1806533002: [wasm] Quickfix for register allocation problem on ia32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/assembler.h" 5 #include "src/assembler.h"
6 #include "src/macro-assembler.h" 6 #include "src/macro-assembler.h"
7 7
8 #include "src/wasm/wasm-module.h" 8 #include "src/wasm/wasm-module.h"
9 9
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 LinkageLocation stackloc(int i) { 52 LinkageLocation stackloc(int i) {
53 return LinkageLocation::ForCallerFrameSlot(i); 53 return LinkageLocation::ForCallerFrameSlot(i);
54 } 54 }
55 55
56 56
57 #if V8_TARGET_ARCH_IA32 57 #if V8_TARGET_ARCH_IA32
58 // =========================================================================== 58 // ===========================================================================
59 // == ia32 =================================================================== 59 // == ia32 ===================================================================
60 // =========================================================================== 60 // ===========================================================================
61 #define GP_PARAM_REGISTERS eax, edx, ecx, ebx, esi 61 #define GP_PARAM_REGISTERS eax, edx, ecx, ebx
62 #define GP_RETURN_REGISTERS eax, edx 62 #define GP_RETURN_REGISTERS eax, edx
63 #define FP_PARAM_REGISTERS xmm1, xmm2, xmm3, xmm4, xmm5, xmm6 63 #define FP_PARAM_REGISTERS xmm1, xmm2, xmm3, xmm4, xmm5, xmm6
64 #define FP_RETURN_REGISTERS xmm1, xmm2 64 #define FP_RETURN_REGISTERS xmm1, xmm2
65 65
66 #elif V8_TARGET_ARCH_X64 66 #elif V8_TARGET_ARCH_X64
67 // =========================================================================== 67 // ===========================================================================
68 // == x64 ==================================================================== 68 // == x64 ====================================================================
69 // =========================================================================== 69 // ===========================================================================
70 #define GP_PARAM_REGISTERS rax, rdx, rcx, rbx, rsi, rdi 70 #define GP_PARAM_REGISTERS rax, rdx, rcx, rbx, rsi, rdi
71 #define GP_RETURN_REGISTERS rax, rdx 71 #define GP_RETURN_REGISTERS rax, rdx
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 descriptor->CalleeSavedFPRegisters(), // callee-saved fp regs 377 descriptor->CalleeSavedFPRegisters(), // callee-saved fp regs
378 descriptor->flags(), // flags 378 descriptor->flags(), // flags
379 descriptor->debug_name()); 379 descriptor->debug_name());
380 380
381 return descriptor; 381 return descriptor;
382 } 382 }
383 383
384 } // namespace wasm 384 } // namespace wasm
385 } // namespace internal 385 } // namespace internal
386 } // namespace v8 386 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698