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

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

Issue 2500443004: [wasm] OOB traps: build protected instruction list during codegen (Closed)
Patch Set: Removing spurious changes Created 4 years 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/v8.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef V8_TRAP_HANDLER_H_
6 #define V8_TRAP_HANDLER_H_
7
8 namespace v8 {
9 namespace internal {
10 namespace trap_handler {
11
12 struct ProtectedInstructionData {
13 // The offset of this instruction from the start of its code object.
14 int32_t instr_offset;
15
16 // The offset of the landing pad from the start of its code object.
17 //
18 // TODO(eholk): Using a single landing pad and store parameters here.
19 int32_t landing_offset;
20 };
21
22 } // namespace trap_handler
23 } // namespace internal
24 } // namespace v8
25
26 #endif // V8_TRAP_HANDLER_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698