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