summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug/liveedit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug/liveedit.cc')
-rw-r--r--deps/v8/src/debug/liveedit.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/debug/liveedit.cc b/deps/v8/src/debug/liveedit.cc
index e76202e96b..5183121de3 100644
--- a/deps/v8/src/debug/liveedit.cc
+++ b/deps/v8/src/debug/liveedit.cc
@@ -22,6 +22,7 @@
#include "src/parsing/parsing.h"
#include "src/source-position-table.h"
#include "src/v8.h"
+#include "src/v8threads.h"
namespace v8 {
namespace internal {
@@ -683,7 +684,7 @@ void MapLiterals(const FunctionLiteralChanges& changes,
DCHECK(literal->start_position() != kNoSourcePosition);
DCHECK(literal->end_position() != kNoSourcePosition);
std::pair<int, int> key =
- literal->function_literal_id() == FunctionLiteral::kIdTypeTopLevel
+ literal->function_literal_id() == kFunctionLiteralIdTopLevel
? kTopLevelMarker
: std::make_pair(literal->start_position(),
literal->end_position());
@@ -697,7 +698,7 @@ void MapLiterals(const FunctionLiteralChanges& changes,
FunctionLiteral* literal = change_pair.first;
const FunctionLiteralChange& change = change_pair.second;
std::pair<int, int> key =
- literal->function_literal_id() == FunctionLiteral::kIdTypeTopLevel
+ literal->function_literal_id() == kFunctionLiteralIdTopLevel
? kTopLevelMarker
: std::make_pair(change.new_start_position,
change.new_end_position);