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

Unified Diff: src/compiler/common-operator.cc

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.h ('k') | src/compiler/frame-states.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/common-operator.cc
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc
index 874ad29cef7d9efa7129fcd92e55333755159a1a..330eeec7d95f3ea386283066713b3b3f8dd8ef1c 100644
--- a/src/compiler/common-operator.cc
+++ b/src/compiler/common-operator.cc
@@ -651,12 +651,14 @@ const Operator* CommonOperatorBuilder::TypedStateValues(
const Operator* CommonOperatorBuilder::FrameState(
FrameStateType type, BailoutId bailout_id,
- OutputFrameStateCombine state_combine) {
- return new (zone()) Operator1<FrameStateCallInfo>( // --
- IrOpcode::kFrameState, Operator::kPure, // opcode
- "FrameState", // name
- 5, 0, 0, 1, 0, 0, // counts
- FrameStateCallInfo(type, bailout_id, state_combine)); // parameter
+ OutputFrameStateCombine state_combine,
+ MaybeHandle<SharedFunctionInfo> shared_info) {
+ FrameStateCallInfo state_info(type, bailout_id, state_combine, shared_info);
+ return new (zone()) Operator1<FrameStateCallInfo>( // --
+ IrOpcode::kFrameState, Operator::kPure, // opcode
+ "FrameState", // name
+ 5, 0, 0, 1, 0, 0, // counts
+ state_info); // parameter
}
« no previous file with comments | « src/compiler/common-operator.h ('k') | src/compiler/frame-states.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698