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

Side by Side Diff: src/objects.h

Issue 2371833007: [wasm] Initial signal handler (Closed)
Patch Set: Restore signal mask at the right place 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
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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 4902 matching lines...) Expand 10 before | Expand all | Expand 10 after
4913 4913
4914 // [handler_table]: Fixed array containing offsets of exception handlers. 4914 // [handler_table]: Fixed array containing offsets of exception handlers.
4915 DECL_ACCESSORS(handler_table, FixedArray) 4915 DECL_ACCESSORS(handler_table, FixedArray)
4916 4916
4917 // [deoptimization_data]: Array containing data for deopt. 4917 // [deoptimization_data]: Array containing data for deopt.
4918 DECL_ACCESSORS(deoptimization_data, FixedArray) 4918 DECL_ACCESSORS(deoptimization_data, FixedArray)
4919 4919
4920 // [source_position_table]: ByteArray for the source positions table. 4920 // [source_position_table]: ByteArray for the source positions table.
4921 DECL_ACCESSORS(source_position_table, ByteArray) 4921 DECL_ACCESSORS(source_position_table, ByteArray)
4922 4922
4923 // [trap_handler_index]: An index into the trap handler's master list of code
4924 // objects.
4925 DECL_ACCESSORS(trap_handler_index, Smi)
4926
4923 // [raw_type_feedback_info]: This field stores various things, depending on 4927 // [raw_type_feedback_info]: This field stores various things, depending on
4924 // the kind of the code object. 4928 // the kind of the code object.
4925 // FUNCTION => type feedback information. 4929 // FUNCTION => type feedback information.
4926 // STUB and ICs => major/minor key as Smi. 4930 // STUB and ICs => major/minor key as Smi.
4927 DECL_ACCESSORS(raw_type_feedback_info, Object) 4931 DECL_ACCESSORS(raw_type_feedback_info, Object)
4928 inline Object* type_feedback_info(); 4932 inline Object* type_feedback_info();
4929 inline void set_type_feedback_info( 4933 inline void set_type_feedback_info(
4930 Object* value, WriteBarrierMode mode = UPDATE_WRITE_BARRIER); 4934 Object* value, WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
4931 inline uint32_t stub_key(); 4935 inline uint32_t stub_key();
4932 inline void set_stub_key(uint32_t key); 4936 inline void set_stub_key(uint32_t key);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
5301 static const int kICAgeOffset = kInstructionSizeOffset + kIntSize; 5305 static const int kICAgeOffset = kInstructionSizeOffset + kIntSize;
5302 static const int kFlagsOffset = kICAgeOffset + kIntSize; 5306 static const int kFlagsOffset = kICAgeOffset + kIntSize;
5303 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize; 5307 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize;
5304 static const int kKindSpecificFlags2Offset = 5308 static const int kKindSpecificFlags2Offset =
5305 kKindSpecificFlags1Offset + kIntSize; 5309 kKindSpecificFlags1Offset + kIntSize;
5306 // Note: We might be able to squeeze this into the flags above. 5310 // Note: We might be able to squeeze this into the flags above.
5307 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize; 5311 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize;
5308 static const int kConstantPoolOffset = kPrologueOffset + kIntSize; 5312 static const int kConstantPoolOffset = kPrologueOffset + kIntSize;
5309 static const int kBuiltinIndexOffset = 5313 static const int kBuiltinIndexOffset =
5310 kConstantPoolOffset + kConstantPoolSize; 5314 kConstantPoolOffset + kConstantPoolSize;
5311 static const int kHeaderPaddingStart = kBuiltinIndexOffset + kIntSize; 5315 static const int kTrapHandlerIndex = kBuiltinIndexOffset + kIntSize;
5316 static const int kHeaderPaddingStart = kTrapHandlerIndex + kPointerSize;
5312 5317
5313 enum TrapFields { kTrapCodeOffset, kTrapLandingOffset, kTrapDataSize }; 5318 enum TrapFields { kTrapCodeOffset, kTrapLandingOffset, kTrapDataSize };
5314 5319
5315 5320
5316 // Add padding to align the instruction start following right after 5321 // Add padding to align the instruction start following right after
5317 // the Code object header. 5322 // the Code object header.
5318 static const int kHeaderSize = 5323 static const int kHeaderSize =
5319 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask; 5324 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask;
5320 5325
5321 inline int GetUnwindingInfoSizeOffset() const; 5326 inline int GetUnwindingInfoSizeOffset() const;
(...skipping 6227 matching lines...) Expand 10 before | Expand all | Expand 10 after
11549 } 11554 }
11550 }; 11555 };
11551 11556
11552 11557
11553 } // NOLINT, false-positive due to second-order macros. 11558 } // NOLINT, false-positive due to second-order macros.
11554 } // NOLINT, false-positive due to second-order macros. 11559 } // NOLINT, false-positive due to second-order macros.
11555 11560
11556 #include "src/objects/object-macros-undef.h" 11561 #include "src/objects/object-macros-undef.h"
11557 11562
11558 #endif // V8_OBJECTS_H_ 11563 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698