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

Side by Side Diff: src/trap-handler/trap-handler.h

Issue 2651833003: [wasm] Move protected instruction info to RelocInfo (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/v8/v8 into trap-relocinfo 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/objects-inl.h ('k') | src/wasm/wasm-module.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #ifndef V8_TRAP_HANDLER_H_ 5 #ifndef V8_TRAP_HANDLER_H_
6 #define V8_TRAP_HANDLER_H_ 6 #define V8_TRAP_HANDLER_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace trap_handler { 10 namespace trap_handler {
11 11
12 struct ProtectedInstructionData { 12 struct ProtectedInstructionData {
13 // The offset of this instruction from the start of its code object. 13 // The offset of this instruction from the start of its code object.
14 int32_t instr_offset; 14 intptr_t instr_offset;
15 15
16 // The offset of the landing pad from the start of its code object. 16 // The offset of the landing pad from the start of its code object.
17 // 17 //
18 // TODO(eholk): Using a single landing pad and store parameters here. 18 // TODO(eholk): Using a single landing pad and store parameters here.
19 int32_t landing_offset; 19 intptr_t landing_offset;
20 }; 20 };
21 21
22 } // namespace trap_handler 22 } // namespace trap_handler
23 } // namespace internal 23 } // namespace internal
24 } // namespace v8 24 } // namespace v8
25 25
26 #endif // V8_TRAP_HANDLER_H_ 26 #endif // V8_TRAP_HANDLER_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698