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

Side by Side Diff: src/x64/assembler-x64.h

Issue 2690523003: [wasm] Use PC after EnsureSpace in RecordProtectedInstruction (Closed)
Patch Set: Rebasing Created 3 years, 10 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 | « src/compiler/x64/code-generator-x64.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, 1986 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position,
1987 int id); 1987 int id);
1988 1988
1989 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, 1989 void PatchConstantPoolAccessInstruction(int pc_offset, int offset,
1990 ConstantPoolEntry::Access access, 1990 ConstantPoolEntry::Access access,
1991 ConstantPoolEntry::Type type) { 1991 ConstantPoolEntry::Type type) {
1992 // No embedded constant pool support. 1992 // No embedded constant pool support.
1993 UNREACHABLE(); 1993 UNREACHABLE();
1994 } 1994 }
1995 1995
1996 void RecordProtectedInstruction(int pc_offset, byte* landing_offset); 1996 void RecordProtectedInstructionLanding(int pc_offset);
1997 1997
1998 // Writes a single word of data in the code stream. 1998 // Writes a single word of data in the code stream.
1999 // Used for inline tables, e.g., jump-tables. 1999 // Used for inline tables, e.g., jump-tables.
2000 void db(uint8_t data); 2000 void db(uint8_t data);
2001 void dd(uint32_t data); 2001 void dd(uint32_t data);
2002 void dq(uint64_t data); 2002 void dq(uint64_t data);
2003 void dp(uintptr_t data) { dq(data); } 2003 void dp(uintptr_t data) { dq(data); }
2004 void dq(Label* label); 2004 void dq(Label* label);
2005 2005
2006 // Check if there is less than kGap bytes available in the buffer. 2006 // Check if there is less than kGap bytes available in the buffer.
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
2523 Assembler* assembler_; 2523 Assembler* assembler_;
2524 #ifdef DEBUG 2524 #ifdef DEBUG
2525 int space_before_; 2525 int space_before_;
2526 #endif 2526 #endif
2527 }; 2527 };
2528 2528
2529 } // namespace internal 2529 } // namespace internal
2530 } // namespace v8 2530 } // namespace v8
2531 2531
2532 #endif // V8_X64_ASSEMBLER_X64_H_ 2532 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698