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

Unified Diff: src/objects.h

Issue 2415023002: [promises] Move async debug event creation to c++ (Closed)
Patch Set: rebase Created 4 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/js/promise.js ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 195646637356c224cb223202932841208ea9a4e5..0adfdf7461c929fb7d587553720a16eec5d41fe3 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6751,17 +6751,16 @@ class PromiseResolveThenableJobInfo : public Struct {
DECL_ACCESSORS(then, JSReceiver)
DECL_ACCESSORS(resolve, JSFunction)
DECL_ACCESSORS(reject, JSFunction)
- DECL_ACCESSORS(before_debug_event, Object)
- DECL_ACCESSORS(after_debug_event, Object)
+ DECL_ACCESSORS(debug_id, Object)
+ DECL_ACCESSORS(debug_name, Object)
static const int kThenableOffset = Struct::kHeaderSize;
static const int kThenOffset = kThenableOffset + kPointerSize;
static const int kResolveOffset = kThenOffset + kPointerSize;
static const int kRejectOffset = kResolveOffset + kPointerSize;
- static const int kBeforeDebugEventOffset = kRejectOffset + kPointerSize;
- static const int kAfterDebugEventOffset =
- kBeforeDebugEventOffset + kPointerSize;
- static const int kSize = kAfterDebugEventOffset + kPointerSize;
+ static const int kDebugIdOffset = kRejectOffset + kPointerSize;
+ static const int kDebugNameOffset = kDebugIdOffset + kPointerSize;
+ static const int kSize = kDebugNameOffset + kPointerSize;
DECLARE_CAST(PromiseResolveThenableJobInfo)
DECLARE_PRINTER(PromiseResolveThenableJobInfo)
@@ -6777,17 +6776,16 @@ class PromiseReactionJobInfo : public Struct {
DECL_ACCESSORS(value, Object)
DECL_ACCESSORS(tasks, Object)
DECL_ACCESSORS(deferred, Object)
- DECL_ACCESSORS(before_debug_event, Object)
- DECL_ACCESSORS(after_debug_event, Object)
+ DECL_ACCESSORS(debug_id, Object)
+ DECL_ACCESSORS(debug_name, Object)
DECL_ACCESSORS(context, Context)
static const int kValueOffset = Struct::kHeaderSize;
static const int kTasksOffset = kValueOffset + kPointerSize;
static const int kDeferredOffset = kTasksOffset + kPointerSize;
- static const int kBeforeDebugEventOffset = kDeferredOffset + kPointerSize;
- static const int kAfterDebugEventOffset =
- kBeforeDebugEventOffset + kPointerSize;
- static const int kContextOffset = kAfterDebugEventOffset + kPointerSize;
+ static const int kDebugIdOffset = kDeferredOffset + kPointerSize;
+ static const int kDebugNameOffset = kDebugIdOffset + kPointerSize;
+ static const int kContextOffset = kDebugNameOffset + kPointerSize;
static const int kSize = kContextOffset + kPointerSize;
DECLARE_CAST(PromiseReactionJobInfo)
« no previous file with comments | « src/js/promise.js ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698