Chromium Code Reviews| OLD | NEW |
|---|---|
| (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. | |
|
titzer
2016/11/30 17:31:12
Two slashes?
Eric Holk
2016/11/30 20:16:20
Done.
| |
| 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 typedef std::vector<ProtectedInstructionData> ProtectedInstructionList; | |
| 23 | |
| 24 } // namespace trap_handler | |
| 25 } // namespace internal | |
| 26 } // namespace v8 | |
| 27 | |
| 28 #endif // V8_TRAP_HANDLER_H_ | |
| OLD | NEW |