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

Unified Diff: src/objects.h

Issue 1703453002: [interpreter, debugger] support debug breaks via bytecode array copy (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 10 months 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
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/objects.cc » ('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 4efd5b31edb9ee7832697605903b274980e8c026..f1f8ba4f2ea94ed5c8180a138c26a819e987a097 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"
@@ -4480,6 +4479,8 @@ class BytecodeArray : public FixedArrayBase {
void Disassemble(std::ostream& os);
+ void CopyBytecodesTo(BytecodeArray* to);
+
// Layout description.
static const int kConstantPoolOffset = FixedArrayBase::kHeaderSize;
static const int kHandlerTableOffset = kConstantPoolOffset + kPointerSize;
@@ -10650,6 +10651,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.
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698