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

Unified Diff: src/compiler/linkage.cc

Issue 622783002: Make PromiseRejectCallback fire after end-of-turn. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/api.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index cd597999b013a0e1880f50110120b625b7dccb6e..afa0831d369fe84ac0f2c3ad81e11bcf2f7da8a3 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -145,6 +145,7 @@ bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
case Runtime::kDebugEvaluate:
case Runtime::kDebugGetLoadedScripts:
case Runtime::kDebugGetPropertyDetails:
+ case Runtime::kDebugPromiseRejectEvent:
case Runtime::kDebugPromiseEvent:
case Runtime::kDeleteProperty:
case Runtime::kDeoptimizeFunction:
@@ -161,10 +162,11 @@ bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
case Runtime::kNewObjectFromBound:
case Runtime::kObjectFreeze:
case Runtime::kParseJson:
+ case Runtime::kPendingMicrotaskCount:
case Runtime::kPrepareStep:
case Runtime::kPreventExtensions:
- case Runtime::kPromiseRejectEvent:
- case Runtime::kPromiseRevokeReject:
+ case Runtime::kPromiseRejectMessage:
+ case Runtime::kPromiseRevokeRejectMessage:
case Runtime::kRegExpCompile:
case Runtime::kRegExpExecMultiple:
case Runtime::kResolvePossiblyDirectEval:
« no previous file with comments | « src/api.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698