| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_JSON_STRINGIFIER_H_ | 5 #ifndef V8_JSON_STRINGIFIER_H_ |
| 6 #define V8_JSON_STRINGIFIER_H_ | 6 #define V8_JSON_STRINGIFIER_H_ |
| 7 | 7 |
| 8 #include "src/conversions.h" | 8 #include "src/conversions.h" |
| 9 #include "src/lookup.h" | 9 #include "src/lookup.h" |
| 10 #include "src/messages.h" | 10 #include "src/messages.h" |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 } | 668 } |
| 669 } else { | 669 } else { |
| 670 if (object->IsOneByteRepresentationUnderneath()) { | 670 if (object->IsOneByteRepresentationUnderneath()) { |
| 671 SerializeString_<uint8_t, uc16>(object); | 671 SerializeString_<uint8_t, uc16>(object); |
| 672 } else { | 672 } else { |
| 673 SerializeString_<uc16, uc16>(object); | 673 SerializeString_<uc16, uc16>(object); |
| 674 } | 674 } |
| 675 } | 675 } |
| 676 } | 676 } |
| 677 | 677 |
| 678 } } // namespace v8::internal | 678 } // namespace internal |
| 679 } // namespace v8 |
| 679 | 680 |
| 680 #endif // V8_JSON_STRINGIFIER_H_ | 681 #endif // V8_JSON_STRINGIFIER_H_ |
| OLD | NEW |