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

Unified Diff: src/objects.h

Issue 2487053002: [promises] Remove one runtime call to create_resolving_functions (Closed)
Patch Set: rebase Created 4 years, 1 month 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: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 6c189947a7b17abd52a1c503a810e9c0c764532e..336c9c3db77a43280caa1f9cb30d2cfc3118e161 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6812,6 +6812,7 @@ class PromiseResolveThenableJobInfo : public Struct {
DECL_ACCESSORS(reject, JSFunction)
DECL_ACCESSORS(debug_id, Object)
DECL_ACCESSORS(debug_name, Object)
+ DECL_ACCESSORS(context, Context)
static const int kThenableOffset = Struct::kHeaderSize;
static const int kThenOffset = kThenableOffset + kPointerSize;
@@ -6819,7 +6820,8 @@ class PromiseResolveThenableJobInfo : public Struct {
static const int kRejectOffset = kResolveOffset + kPointerSize;
static const int kDebugIdOffset = kRejectOffset + kPointerSize;
static const int kDebugNameOffset = kDebugIdOffset + kPointerSize;
- static const int kSize = kDebugNameOffset + kPointerSize;
+ static const int kContextOffset = kDebugNameOffset + kPointerSize;
+ static const int kSize = kContextOffset + kPointerSize;
DECLARE_CAST(PromiseResolveThenableJobInfo)
DECLARE_PRINTER(PromiseResolveThenableJobInfo)

Powered by Google App Engine
This is Rietveld 408576698