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

Unified Diff: runtime/vm/intermediate_language_dbc.cc

Issue 2569013002: Fix hot reload test mode in simdbc by supporting forced slow paths on simdbc (Closed)
Patch Set: Fix exit 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/intermediate_language_dbc.cc
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc
index f11a372c19ad7836e65a67061399b9ff53b1eea2..8c419ec9cc4aa533bc3e5544aa225c1bc97b2c6d 100644
--- a/runtime/vm/intermediate_language_dbc.cc
+++ b/runtime/vm/intermediate_language_dbc.cc
@@ -294,7 +294,11 @@ EMIT_NATIVE_CODE(CheckStackOverflow,
0,
Location::NoLocation(),
LocationSummary::kCall) {
- __ CheckStack();
+ if (compiler->ForceSlowPathForStackOverflow()) {
+ __ CheckStackAlwaysExit();
+ } else {
+ __ CheckStack();
+ }
compiler->AddCurrentDescriptor(RawPcDescriptors::kOther, deopt_id(),
token_pos());
compiler->RecordAfterCall(this);

Powered by Google App Engine
This is Rietveld 408576698