summaryrefslogtreecommitdiff
path: root/deps/v8/src/source-position-table.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/source-position-table.h')
-rw-r--r--deps/v8/src/source-position-table.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/source-position-table.h b/deps/v8/src/source-position-table.h
index 8f676dc0f3..d59172d87f 100644
--- a/deps/v8/src/source-position-table.h
+++ b/deps/v8/src/source-position-table.h
@@ -44,11 +44,11 @@ class V8_EXPORT_PRIVATE SourcePositionTableBuilder {
Handle<ByteArray> ToSourcePositionTable(Isolate* isolate);
OwnedVector<byte> ToSourcePositionTableVector();
+ inline bool Omit() const { return mode_ == OMIT_SOURCE_POSITIONS; }
+
private:
void AddEntry(const PositionTableEntry& entry);
- inline bool Omit() const { return mode_ == OMIT_SOURCE_POSITIONS; }
-
RecordingMode mode_;
std::vector<byte> bytes_;
#ifdef ENABLE_SLOW_DCHECKS
@@ -119,7 +119,7 @@ class V8_EXPORT_PRIVATE SourcePositionTableIterator {
int index_ = 0;
PositionTableEntry current_;
IterationFilter filter_;
- DISALLOW_HEAP_ALLOCATION(no_gc);
+ DISALLOW_HEAP_ALLOCATION(no_gc)
};
} // namespace internal