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

Unified Diff: src/objects.h

Issue 2497523002: [promises] Move promise constructor to TFS (Closed)
Patch Set: use jsbuiltinconstruct stub 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
« src/js/promise.js ('K') | « src/js/promise.js ('k') | src/objects-inl.h » ('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 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)
jgruber 2016/11/22 08:55:55 If this is just a boolean, perhaps it could be tur
gsathya 2016/11/23 14:31:18 Yes, agreed. I had a comment on my previous patch
+
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/js/promise.js ('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