Chromium Code Reviews

Unified Diff: src/objects.h

Issue 2606093002: [promises] Refactor debug code (Closed)
Patch Set: fmt Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index b7055d10cbce70c9eea0ac4bb0e076cb476ab1ae..f975736f7a9be79d6436fdc5a8cf01c390c34fb8 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6557,8 +6557,10 @@ class PromiseResolveThenableJobInfo : public Struct {
DECL_ACCESSORS(then, JSReceiver)
DECL_ACCESSORS(resolve, JSFunction)
DECL_ACCESSORS(reject, JSFunction)
- DECL_ACCESSORS(debug_id, Object)
- DECL_ACCESSORS(debug_name, Object)
+
+ DECL_INT_ACCESSORS(debug_id)
+ DECL_INT_ACCESSORS(debug_name)
+
DECL_ACCESSORS(context, Context)
static const int kThenableOffset = Struct::kHeaderSize;
@@ -6592,8 +6594,10 @@ class PromiseReactionJobInfo : public Struct {
DECL_ACCESSORS(deferred_promise, Object)
DECL_ACCESSORS(deferred_on_resolve, Object)
DECL_ACCESSORS(deferred_on_reject, Object)
- DECL_ACCESSORS(debug_id, Object)
- DECL_ACCESSORS(debug_name, Object)
+
+ DECL_INT_ACCESSORS(debug_id)
+ DECL_INT_ACCESSORS(debug_name)
+
DECL_ACCESSORS(context, Context)
static const int kPromiseOffset = Struct::kHeaderSize;
« src/debug/debug.h ('K') | « src/js/promise.js ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine