Chromium Code Reviews| 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. |