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

Unified Diff: src/objects.h

Issue 2497523002: [promises] Move promise constructor to TFS (Closed)
Patch Set: fixees 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 1a1f5fd26437ea9e2b3a51915102251ef4e2d3d9..681f1162852a1154c407a2b78bc0f627b5942fa1 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5688,6 +5688,8 @@ class Code: public HeapObject {
// the layout of the code object into account.
inline int ExecutableSize();
+ DECL_INT_ACCESSORS(exception_hint)
gsathya 2016/11/22 04:31:43 Int is probably over kill for this. But, decided t
+
DECLARE_CAST(Code)
// Dispatched behavior.
@@ -5785,7 +5787,8 @@ class Code: public HeapObject {
static const int kConstantPoolOffset = kPrologueOffset + kIntSize;
static const int kBuiltinIndexOffset =
kConstantPoolOffset + kConstantPoolSize;
- static const int kHeaderPaddingStart = kBuiltinIndexOffset + kIntSize;
+ static const int kExceptionHintOffset = kBuiltinIndexOffset + kIntSize;
+ static const int kHeaderPaddingStart = kExceptionHintOffset + kIntSize;
// Add padding to align the instruction start following right after
// the Code object header.
« src/builtins/x64/builtins-x64.cc ('K') | « src/js/promise.js ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698