Skip to content

Commit

Permalink
TritonDataCenter#23: changes according to code review
Browse files Browse the repository at this point in the history
  • Loading branch information
misterdjules committed Sep 2, 2015
1 parent daf91c6 commit a86d30b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/v8dbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@
#define V8_TYPE_STRING(type) (((type) & V8_IsNotStringMask) == V8_StringTag)

#define V8_STRENC_ASCII(type) \
(((type) & V8_StringEncodingMask) == V8_AsciiStringTag || \
((type) & V8_StringEncodingMask) == V8_OneByteStringTag)
((V8_AsciiStringTag != -1 && \
((type) & V8_StringEncodingMask) == V8_AsciiStringTag) || \
(V8_OneByteStringTag != -1 && \
((type) & V8_StringEncodingMask) == V8_OneByteStringTag))

#define V8_STRREP_SEQ(type) \
(((type) & V8_StringRepresentationMask) == V8_SeqStringTag)
Expand Down

0 comments on commit a86d30b

Please sign in to comment.