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

Side by Side Diff: src/objects.h

Issue 2744383002: 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 4897 matching lines...) Expand 10 before | Expand all | Expand 10 after
4908 4908
4909 // [handler_table]: Fixed array containing offsets of exception handlers. 4909 // [handler_table]: Fixed array containing offsets of exception handlers.
4910 DECL_ACCESSORS(handler_table, FixedArray) 4910 DECL_ACCESSORS(handler_table, FixedArray)
4911 4911
4912 // [deoptimization_data]: Array containing data for deopt. 4912 // [deoptimization_data]: Array containing data for deopt.
4913 DECL_ACCESSORS(deoptimization_data, FixedArray) 4913 DECL_ACCESSORS(deoptimization_data, FixedArray)
4914 4914
4915 // [source_position_table]: ByteArray for the source positions table. 4915 // [source_position_table]: ByteArray for the source positions table.
4916 DECL_ACCESSORS(source_position_table, ByteArray) 4916 DECL_ACCESSORS(source_position_table, ByteArray)
4917 4917
4918 // [trap_handler_index]: An index into the trap handler's master list of code
4919 // objects.
4920 DECL_ACCESSORS(trap_handler_index, Smi)
4921
4922 // [raw_type_feedback_info]: This field stores various things, depending on 4918 // [raw_type_feedback_info]: This field stores various things, depending on
4923 // the kind of the code object. 4919 // the kind of the code object.
4924 // FUNCTION => type feedback information. 4920 // FUNCTION => type feedback information.
4925 // STUB and ICs => major/minor key as Smi. 4921 // STUB and ICs => major/minor key as Smi.
4926 DECL_ACCESSORS(raw_type_feedback_info, Object) 4922 DECL_ACCESSORS(raw_type_feedback_info, Object)
4927 inline Object* type_feedback_info(); 4923 inline Object* type_feedback_info();
4928 inline void set_type_feedback_info( 4924 inline void set_type_feedback_info(
4929 Object* value, WriteBarrierMode mode = UPDATE_WRITE_BARRIER); 4925 Object* value, WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
4930 inline uint32_t stub_key(); 4926 inline uint32_t stub_key();
4931 inline void set_stub_key(uint32_t key); 4927 inline void set_stub_key(uint32_t key);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
5300 static const int kICAgeOffset = kInstructionSizeOffset + kIntSize; 5296 static const int kICAgeOffset = kInstructionSizeOffset + kIntSize;
5301 static const int kFlagsOffset = kICAgeOffset + kIntSize; 5297 static const int kFlagsOffset = kICAgeOffset + kIntSize;
5302 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize; 5298 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize;
5303 static const int kKindSpecificFlags2Offset = 5299 static const int kKindSpecificFlags2Offset =
5304 kKindSpecificFlags1Offset + kIntSize; 5300 kKindSpecificFlags1Offset + kIntSize;
5305 // Note: We might be able to squeeze this into the flags above. 5301 // Note: We might be able to squeeze this into the flags above.
5306 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize; 5302 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize;
5307 static const int kConstantPoolOffset = kPrologueOffset + kIntSize; 5303 static const int kConstantPoolOffset = kPrologueOffset + kIntSize;
5308 static const int kBuiltinIndexOffset = 5304 static const int kBuiltinIndexOffset =
5309 kConstantPoolOffset + kConstantPoolSize; 5305 kConstantPoolOffset + kConstantPoolSize;
5310 static const int kTrapHandlerIndex = kBuiltinIndexOffset + kIntSize; 5306 static const int kHeaderPaddingStart = kBuiltinIndexOffset + kIntSize;
5311 static const int kHeaderPaddingStart = kTrapHandlerIndex + kPointerSize;
5312 5307
5313 enum TrapFields { kTrapCodeOffset, kTrapLandingOffset, kTrapDataSize }; 5308 enum TrapFields { kTrapCodeOffset, kTrapLandingOffset, kTrapDataSize };
5314 5309
5315 5310
5316 // Add padding to align the instruction start following right after 5311 // Add padding to align the instruction start following right after
5317 // the Code object header. 5312 // the Code object header.
5318 static const int kHeaderSize = 5313 static const int kHeaderSize =
5319 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask; 5314 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask;
5320 5315
5321 inline int GetUnwindingInfoSizeOffset() const; 5316 inline int GetUnwindingInfoSizeOffset() const;
(...skipping 6254 matching lines...) Expand 10 before | Expand all | Expand 10 after
11576 } 11571 }
11577 }; 11572 };
11578 11573
11579 11574
11580 } // NOLINT, false-positive due to second-order macros. 11575 } // NOLINT, false-positive due to second-order macros.
11581 } // NOLINT, false-positive due to second-order macros. 11576 } // NOLINT, false-positive due to second-order macros.
11582 11577
11583 #include "src/objects/object-macros-undef.h" 11578 #include "src/objects/object-macros-undef.h"
11584 11579
11585 #endif // V8_OBJECTS_H_ 11580 #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