Commit 8655861e authored by Camillo Bruni's avatar Camillo Bruni Committed by Commit Bot

Revert accidental comment change in objects.h

NOTRY=true

Change-Id: Id2085b36ccbf5e039b725fad477c7292735a27b5
Reviewed-on: https://chromium-review.googlesource.com/512543Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45492}
parent df1cb4e8
...@@ -145,6 +145,7 @@ ...@@ -145,6 +145,7 @@
// - DebugInfo // - DebugInfo
// - BreakPointInfo // - BreakPointInfo
// - StackFrameInfo // - StackFrameInfo
// - SourcePositionTableWithFrameCache
// - CodeCache // - CodeCache
// - PrototypeInfo // - PrototypeInfo
// - Module // - Module
...@@ -712,8 +713,8 @@ enum InstanceType { ...@@ -712,8 +713,8 @@ enum InstanceType {
WEAK_CELL_TYPE, WEAK_CELL_TYPE,
PROPERTY_CELL_TYPE, PROPERTY_CELL_TYPE,
// All the following types are subtypes of JSReceiver, which corresponds to // TODO(yangguo): these padding types are for ABI stability. Remove after
// objects in the JS sense. The first and the last type in this range are // version 6.0 branch, or replace them when there is demand for new types.
PADDING_TYPE_1, PADDING_TYPE_1,
PADDING_TYPE_2, PADDING_TYPE_2,
PADDING_TYPE_3, PADDING_TYPE_3,
...@@ -2943,7 +2944,6 @@ class FixedDoubleArray: public FixedArrayBase { ...@@ -2943,7 +2944,6 @@ class FixedDoubleArray: public FixedArrayBase {
// JSArgumentsObject: // JSArgumentsObject:
// - FAST_SLOPPY_ARGUMENTS_ELEMENTS: FAST_HOLEY_ELEMENTS // - FAST_SLOPPY_ARGUMENTS_ELEMENTS: FAST_HOLEY_ELEMENTS
// - SLOW_SLOPPY_ARGUMENTS_ELEMENTS: DICTIONARY_ELEMENTS // - SLOW_SLOPPY_ARGUMENTS_ELEMENTS: DICTIONARY_ELEMENTS
// - SLOW_SLOPPY_ARGUMENTS_ELEMENTS: DICTIONARY_ELEMENTS
class SloppyArgumentsElements : public FixedArray { class SloppyArgumentsElements : public FixedArray {
public: public:
static const int kContextIndex = 0; static const int kContextIndex = 0;
...@@ -3313,7 +3313,7 @@ class BytecodeArray : public FixedArrayBase { ...@@ -3313,7 +3313,7 @@ class BytecodeArray : public FixedArrayBase {
DECL_ACCESSORS(handler_table, FixedArray) DECL_ACCESSORS(handler_table, FixedArray)
// Accessors for source position table containing mappings between byte code // Accessors for source position table containing mappings between byte code
// offset and source position. // offset and source position or SourcePositionTableWithFrameCache.
DECL_ACCESSORS(source_position_table, Object) DECL_ACCESSORS(source_position_table, Object)
inline ByteArray* SourcePositionTable(); inline ByteArray* SourcePositionTable();
...@@ -3728,7 +3728,7 @@ class Code: public HeapObject { ...@@ -3728,7 +3728,7 @@ class Code: public HeapObject {
// [deoptimization_data]: Array containing data for deopt. // [deoptimization_data]: Array containing data for deopt.
DECL_ACCESSORS(deoptimization_data, FixedArray) DECL_ACCESSORS(deoptimization_data, FixedArray)
// [source_position_table]: ByteArray for the source positions table. // [source_position_table]: ByteArray for the source positions table or
// SourcePositionTableWithFrameCache. // SourcePositionTableWithFrameCache.
DECL_ACCESSORS(source_position_table, Object) DECL_ACCESSORS(source_position_table, Object)
...@@ -3887,8 +3887,8 @@ class Code: public HeapObject { ...@@ -3887,8 +3887,8 @@ class Code: public HeapObject {
inline bool marked_for_deoptimization(); inline bool marked_for_deoptimization();
inline void set_marked_for_deoptimization(bool flag); inline void set_marked_for_deoptimization(bool flag);
// [is_promise_rejection]: For kind BUILTIN tells whether the exception // [deopt_already_counted]: For kind OPTIMIZED_FUNCTION tells whether
// thrown by the code will lead to promise rejection. // the code was already deoptimized.
inline bool deopt_already_counted(); inline bool deopt_already_counted();
inline void set_deopt_already_counted(bool flag); inline void set_deopt_already_counted(bool flag);
...@@ -5095,7 +5095,7 @@ class SharedFunctionInfo: public HeapObject { ...@@ -5095,7 +5095,7 @@ class SharedFunctionInfo: public HeapObject {
inline bool is_compiled() const; inline bool is_compiled() const;
// [length]: The function length - usually the number of declared parameters. // [length]: The function length - usually the number of declared parameters.
// Use up to 2^30 parameters. // Use up to 2^30 parameters. The value is only reliable when the function has
// been compiled. // been compiled.
inline int GetLength() const; inline int GetLength() const;
inline bool HasLength() const; inline bool HasLength() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment