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

Side by Side Diff: src/objects.h

Issue 2723133003: Revert of [wasm] Initial signal handler (Closed)
Patch Set: Created 3 years, 9 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/isolate.cc ('k') | src/objects.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 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 4908 matching lines...) Expand 10 before | Expand all | Expand 10 after
4919 4919
4920 // [handler_table]: Fixed array containing offsets of exception handlers. 4920 // [handler_table]: Fixed array containing offsets of exception handlers.
4921 DECL_ACCESSORS(handler_table, FixedArray) 4921 DECL_ACCESSORS(handler_table, FixedArray)
4922 4922
4923 // [deoptimization_data]: Array containing data for deopt. 4923 // [deoptimization_data]: Array containing data for deopt.
4924 DECL_ACCESSORS(deoptimization_data, FixedArray) 4924 DECL_ACCESSORS(deoptimization_data, FixedArray)
4925 4925
4926 // [source_position_table]: ByteArray for the source positions table. 4926 // [source_position_table]: ByteArray for the source positions table.
4927 DECL_ACCESSORS(source_position_table, ByteArray) 4927 DECL_ACCESSORS(source_position_table, ByteArray)
4928 4928
4929 // [trap_handler_index]: An index into the trap handler's master list of code
4930 // objects.
4931 DECL_ACCESSORS(trap_handler_index, Smi)
4932
4933 // [raw_type_feedback_info]: This field stores various things, depending on 4929 // [raw_type_feedback_info]: This field stores various things, depending on
4934 // the kind of the code object. 4930 // the kind of the code object.
4935 // FUNCTION => type feedback information. 4931 // FUNCTION => type feedback information.
4936 // STUB and ICs => major/minor key as Smi. 4932 // STUB and ICs => major/minor key as Smi.
4937 DECL_ACCESSORS(raw_type_feedback_info, Object) 4933 DECL_ACCESSORS(raw_type_feedback_info, Object)
4938 inline Object* type_feedback_info(); 4934 inline Object* type_feedback_info();
4939 inline void set_type_feedback_info( 4935 inline void set_type_feedback_info(
4940 Object* value, WriteBarrierMode mode = UPDATE_WRITE_BARRIER); 4936 Object* value, WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
4941 inline uint32_t stub_key(); 4937 inline uint32_t stub_key();
4942 inline void set_stub_key(uint32_t key); 4938 inline void set_stub_key(uint32_t key);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
5311 static const int kICAgeOffset = kInstructionSizeOffset + kIntSize; 5307 static const int kICAgeOffset = kInstructionSizeOffset + kIntSize;
5312 static const int kFlagsOffset = kICAgeOffset + kIntSize; 5308 static const int kFlagsOffset = kICAgeOffset + kIntSize;
5313 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize; 5309 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize;
5314 static const int kKindSpecificFlags2Offset = 5310 static const int kKindSpecificFlags2Offset =
5315 kKindSpecificFlags1Offset + kIntSize; 5311 kKindSpecificFlags1Offset + kIntSize;
5316 // Note: We might be able to squeeze this into the flags above. 5312 // Note: We might be able to squeeze this into the flags above.
5317 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize; 5313 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize;
5318 static const int kConstantPoolOffset = kPrologueOffset + kIntSize; 5314 static const int kConstantPoolOffset = kPrologueOffset + kIntSize;
5319 static const int kBuiltinIndexOffset = 5315 static const int kBuiltinIndexOffset =
5320 kConstantPoolOffset + kConstantPoolSize; 5316 kConstantPoolOffset + kConstantPoolSize;
5321 static const int kTrapHandlerIndex = kBuiltinIndexOffset + kIntSize; 5317 static const int kHeaderPaddingStart = kBuiltinIndexOffset + kIntSize;
5322 static const int kHeaderPaddingStart = kTrapHandlerIndex + kPointerSize;
5323 5318
5324 enum TrapFields { kTrapCodeOffset, kTrapLandingOffset, kTrapDataSize }; 5319 enum TrapFields { kTrapCodeOffset, kTrapLandingOffset, kTrapDataSize };
5325 5320
5326 5321
5327 // Add padding to align the instruction start following right after 5322 // Add padding to align the instruction start following right after
5328 // the Code object header. 5323 // the Code object header.
5329 static const int kHeaderSize = 5324 static const int kHeaderSize =
5330 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask; 5325 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask;
5331 5326
5332 inline int GetUnwindingInfoSizeOffset() const; 5327 inline int GetUnwindingInfoSizeOffset() const;
(...skipping 6253 matching lines...) Expand 10 before | Expand all | Expand 10 after
11586 } 11581 }
11587 }; 11582 };
11588 11583
11589 11584
11590 } // NOLINT, false-positive due to second-order macros. 11585 } // NOLINT, false-positive due to second-order macros.
11591 } // NOLINT, false-positive due to second-order macros. 11586 } // NOLINT, false-positive due to second-order macros.
11592 11587
11593 #include "src/objects/object-macros-undef.h" 11588 #include "src/objects/object-macros-undef.h"
11594 11589
11595 #endif // V8_OBJECTS_H_ 11590 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698