| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 8ef2e0a95b3ca19813347b7de738f1a1ae6a1cfe..a6351ec42e496d08f0ff292b1822aed412e0330b 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -39,7 +39,7 @@ struct OffsetRange {
|
| // script start.
|
| class SourcePosition {
|
| public:
|
| - SourcePosition(const SourcePosition& other) : value_(other.value_) {}
|
| + explicit SourcePosition(uint32_t value) : value_(value) {}
|
|
|
| static SourcePosition Unknown() { return SourcePosition(kNoPosition); }
|
|
|
| @@ -72,8 +72,6 @@ class SourcePosition {
|
| // Offset from the start of the inlined function.
|
| typedef BitField<uint32_t, 9, 23> PositionField;
|
|
|
| - explicit SourcePosition(uint32_t value) : value_(value) {}
|
| -
|
| friend class HPositionInfo;
|
| friend class LCodeGenBase;
|
|
|
|
|