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_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1226 // The top JS frame had been calling debug break slot stub. Patch the | 1226 // The top JS frame had been calling debug break slot stub. Patch the |
1227 // address this stub jumps to in the end. | 1227 // address this stub jumps to in the end. |
1228 LIVE_EDIT_FRAME_DROPPED_IN_DEBUG_SLOT_CALL, | 1228 LIVE_EDIT_FRAME_DROPPED_IN_DEBUG_SLOT_CALL, |
1229 // The top JS frame had been calling some C++ function. The return address | 1229 // The top JS frame had been calling some C++ function. The return address |
1230 // gets patched automatically. | 1230 // gets patched automatically. |
1231 LIVE_EDIT_FRAME_DROPPED_IN_DIRECT_CALL, | 1231 LIVE_EDIT_FRAME_DROPPED_IN_DIRECT_CALL, |
1232 LIVE_EDIT_FRAME_DROPPED_IN_RETURN_CALL, | 1232 LIVE_EDIT_FRAME_DROPPED_IN_RETURN_CALL, |
1233 LIVE_EDIT_CURRENTLY_SET_MODE | 1233 LIVE_EDIT_CURRENTLY_SET_MODE |
1234 }; | 1234 }; |
1235 | 1235 |
| 1236 enum class UnicodeEncoding { |
| 1237 // Different unicode encodings in a |word32|: |
| 1238 UTF16, // hi 16bits -> trailing surrogate or 0, low 16bits -> lead surrogate |
| 1239 UTF32, // full UTF32 code unit / Unicode codepoint |
| 1240 }; |
| 1241 |
1236 } // namespace internal | 1242 } // namespace internal |
1237 } // namespace v8 | 1243 } // namespace v8 |
1238 | 1244 |
1239 namespace i = v8::internal; | 1245 namespace i = v8::internal; |
1240 | 1246 |
1241 #endif // V8_GLOBALS_H_ | 1247 #endif // V8_GLOBALS_H_ |
OLD | NEW |