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

Unified Diff: src/compiler/instruction.h

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Disable new array builtins by default Created 3 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/compiler/frame-states.cc ('k') | src/compiler/js-call-reducer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.h
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
index bba5bb3c177840be9071724fea4e342d1fe30b1b..c33fe4923ec3982e912a00787fe9bb195d5dbccf 100644
--- a/src/compiler/instruction.h
+++ b/src/compiler/instruction.h
@@ -1296,7 +1296,8 @@ class FrameStateDescriptor : public ZoneObject {
MaybeHandle<SharedFunctionInfo> shared_info() const { return shared_info_; }
FrameStateDescriptor* outer_state() const { return outer_state_; }
bool HasContext() const {
- return FrameStateFunctionInfo::IsJSFunctionType(type_);
+ return FrameStateFunctionInfo::IsJSFunctionType(type_) ||
+ type_ == FrameStateType::kBuiltinContinuation;
}
size_t GetSize(OutputFrameStateCombine combine =
« no previous file with comments | « src/compiler/frame-states.cc ('k') | src/compiler/js-call-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698