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

Unified Diff: src/objects.h

Issue 2109673003: Use source position table in turbofan code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: drive-by fix for relocation info size reservation Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 72ca092f5123c0f4920b17bba638594b49612c17..e6788e38f76686b2bdb2f17117d33be50edc691b 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5267,10 +5267,6 @@ class Code: public HeapObject {
// the layout of the code object into account.
inline int ExecutableSize();
- // Locating source position.
- int SourcePosition(int code_offset);
- int SourceStatementPosition(int code_offset);
-
DECLARE_CAST(Code)
// Dispatched behavior.
@@ -5497,6 +5493,9 @@ class AbstractCode : public HeapObject {
// Returns the size of the code instructions.
inline int instruction_size();
+ // Return the source position table.
+ inline ByteArray* source_position_table();
+
// Returns the size of instructions and the metadata.
inline int SizeIncludingMetadata();
« 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