Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index b141ac902adf9ebaea886d928abd561541132ede..b51d5aaffdb71d4fb32d24f982c465349a2efbf1 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -7,7 +7,6 @@ |
| #include <iosfwd> |
| -#include "src/allocation.h" |
| #include "src/assert-scope.h" |
| #include "src/bailout-reason.h" |
| #include "src/base/bits.h" |
| @@ -4474,6 +4473,8 @@ class BytecodeArray : public FixedArrayBase { |
| void Disassemble(std::ostream& os); |
| + void CopyTo(BytecodeArray* to); |
|
Michael Starzinger
2016/02/22 09:37:49
nit: Can we call this "CopyBytecodesTo" instead? T
Yang
2016/02/22 12:48:43
Done.
|
| + |
| // Layout description. |
| static const int kFrameSizeOffset = FixedArrayBase::kHeaderSize; |
| static const int kParameterSizeOffset = kFrameSizeOffset + kIntSize; |
| @@ -10643,6 +10644,10 @@ class DebugInfo: public Struct { |
| // Get the number of break points for this function. |
| int GetBreakPointCount(); |
| + static Smi* uninitialized() { return Smi::FromInt(0); } |
| + |
| + inline BytecodeArray* original_bytecode_array(); |
| + |
| DECLARE_CAST(DebugInfo) |
| // Dispatched behavior. |