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

Side by Side Diff: src/objects.h

Issue 2521233002: [fullcodegen] Remove exception handling support. (Closed)
Patch Set: Rebased. 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/isolate.cc ('k') | src/objects-inl.h » ('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 5909 matching lines...) Expand 10 before | Expand all | Expand 10 after
5920 5920
5921 // Returns the size of the code instructions. 5921 // Returns the size of the code instructions.
5922 inline int instruction_size(); 5922 inline int instruction_size();
5923 5923
5924 // Return the source position table. 5924 // Return the source position table.
5925 inline ByteArray* source_position_table(); 5925 inline ByteArray* source_position_table();
5926 5926
5927 // Set the source position table. 5927 // Set the source position table.
5928 inline void set_source_position_table(ByteArray* source_position_table); 5928 inline void set_source_position_table(ByteArray* source_position_table);
5929 5929
5930 // Return the exception handler table.
5931 inline int LookupRangeInHandlerTable(
5932 int code_offset, int* data, HandlerTable::CatchPrediction* prediction);
5933
5934 // Returns the size of instructions and the metadata. 5930 // Returns the size of instructions and the metadata.
5935 inline int SizeIncludingMetadata(); 5931 inline int SizeIncludingMetadata();
5936 5932
5937 // Returns true if pc is inside this object's instructions. 5933 // Returns true if pc is inside this object's instructions.
5938 inline bool contains(byte* pc); 5934 inline bool contains(byte* pc);
5939 5935
5940 // Returns the AbstractCode::Kind of the code. 5936 // Returns the AbstractCode::Kind of the code.
5941 inline Kind kind(); 5937 inline Kind kind();
5942 5938
5943 // Calculate the size of the code object to report for log events. This takes 5939 // Calculate the size of the code object to report for log events. This takes
(...skipping 5925 matching lines...) Expand 10 before | Expand all | Expand 10 after
11869 } 11865 }
11870 return value; 11866 return value;
11871 } 11867 }
11872 }; 11868 };
11873 11869
11874 11870
11875 } // NOLINT, false-positive due to second-order macros. 11871 } // NOLINT, false-positive due to second-order macros.
11876 } // NOLINT, false-positive due to second-order macros. 11872 } // NOLINT, false-positive due to second-order macros.
11877 11873
11878 #endif // V8_OBJECTS_H_ 11874 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698