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

Unified Diff: src/compiler/frame-states.h

Issue 1156403002: [turbofan] Record SharedFunctionInfo of inlined functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/compiler/common-operator.cc ('k') | src/compiler/frame-states.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/frame-states.h
diff --git a/src/compiler/frame-states.h b/src/compiler/frame-states.h
index a1a002886fca238021f2120d19614b218e3837d8..20cb6427e76ce2369795f3c4a88f484f7ab89881 100644
--- a/src/compiler/frame-states.h
+++ b/src/compiler/frame-states.h
@@ -5,7 +5,7 @@
#ifndef V8_COMPILER_FRAME_STATES_H_
#define V8_COMPILER_FRAME_STATES_H_
-#include "src/utils.h"
+#include "src/handles-inl.h"
namespace v8 {
namespace internal {
@@ -79,19 +79,23 @@ enum FrameStateType {
class FrameStateCallInfo final {
public:
FrameStateCallInfo(FrameStateType type, BailoutId bailout_id,
- OutputFrameStateCombine state_combine)
+ OutputFrameStateCombine state_combine,
+ MaybeHandle<SharedFunctionInfo> shared_info)
: type_(type),
bailout_id_(bailout_id),
- frame_state_combine_(state_combine) {}
+ frame_state_combine_(state_combine),
+ shared_info_(shared_info) {}
FrameStateType type() const { return type_; }
BailoutId bailout_id() const { return bailout_id_; }
OutputFrameStateCombine state_combine() const { return frame_state_combine_; }
+ MaybeHandle<SharedFunctionInfo> shared_info() const { return shared_info_; }
private:
FrameStateType const type_;
BailoutId const bailout_id_;
OutputFrameStateCombine const frame_state_combine_;
+ MaybeHandle<SharedFunctionInfo> const shared_info_;
};
bool operator==(FrameStateCallInfo const&, FrameStateCallInfo const&);
« no previous file with comments | « src/compiler/common-operator.cc ('k') | src/compiler/frame-states.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698