Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index c97a6c9cf4673143b1479b9204f9216e1cdf1a31..c1fb7c155834c959930c85ead56f5360f464a242 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -4503,13 +4503,13 @@ class Code: public HeapObject { |
| inline unsigned safepoint_table_offset(); |
| inline void set_safepoint_table_offset(unsigned offset); |
| - // [stack_check_table_start]: For kind FUNCTION, the offset in the |
| + // [back_edge_table_start]: For kind FUNCTION, the offset in the |
| // instruction stream where the stack check table starts. |
|
Jakob Kummerow
2013/04/09 17:23:25
nit: forgot one
Yang
2013/04/10 08:08:30
Yes. And many other places. I hope I caught all of
|
| - inline unsigned stack_check_table_offset(); |
| - inline void set_stack_check_table_offset(unsigned offset); |
| + inline unsigned back_edge_table_offset(); |
| + inline void set_back_edge_table_offset(unsigned offset); |
| - inline bool stack_check_patched_for_osr(); |
| - inline void set_stack_check_patched_for_osr(bool value); |
| + inline bool back_edges_patched_for_osr(); |
| + inline void set_back_edges_patched_for_osr(bool value); |
| // [check type]: For kind CALL_IC, tells how to check if the |
| // receiver is valid for the given call. |
| @@ -4540,10 +4540,6 @@ class Code: public HeapObject { |
| // Get the safepoint entry for the given pc. |
| SafepointEntry GetSafepointEntry(Address pc); |
| - // Mark this code object as not having a stack check table. Assumes kind |
| - // is FUNCTION. |
| - void SetNoStackCheckTable(); |
| - |
| // Find the first map in an IC stub. |
| Map* FindFirstMap(); |
| void FindAllMaps(MapHandleList* maps); |
| @@ -4793,8 +4789,8 @@ class Code: public HeapObject { |
| kStubMajorKeyFirstBit, kStubMajorKeyBits> {}; // NOLINT |
| // KindSpecificFlags2 layout (FUNCTION) |
| - class StackCheckTableOffsetField: public BitField<int, 0, 31> {}; |
| - class StackCheckPatchedForOSRField: public BitField<bool, 31, 1> {}; |
| + class BackEdgeTableOffsetField: public BitField<int, 0, 31> {}; |
| + class BackEdgesPatchedForOSRField: public BitField<bool, 31, 1> {}; |
| // Signed field cannot be encoded using the BitField class. |
| static const int kArgumentsCountShift = 17; |