OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 }; | 43 }; |
44 | 44 |
45 | 45 |
46 enum HandlerType { | 46 enum HandlerType { |
47 TRY_CATCH_HANDLER, | 47 TRY_CATCH_HANDLER, |
48 TRY_FINALLY_HANDLER, | 48 TRY_FINALLY_HANDLER, |
49 JS_ENTRY_HANDLER | 49 JS_ENTRY_HANDLER |
50 }; | 50 }; |
51 | 51 |
52 | 52 |
| 53 // Types of uncatchable exceptions. |
| 54 enum UncatchableExceptionType { |
| 55 OUT_OF_MEMORY, |
| 56 TERMINATION |
| 57 }; |
| 58 |
| 59 |
53 // Invalid depth in prototype chain. | 60 // Invalid depth in prototype chain. |
54 const int kInvalidProtoDepth = -1; | 61 const int kInvalidProtoDepth = -1; |
55 | 62 |
56 #if V8_TARGET_ARCH_IA32 | 63 #if V8_TARGET_ARCH_IA32 |
57 #include "assembler.h" | 64 #include "assembler.h" |
58 #include "ia32/assembler-ia32.h" | 65 #include "ia32/assembler-ia32.h" |
59 #include "ia32/assembler-ia32-inl.h" | 66 #include "ia32/assembler-ia32-inl.h" |
60 #include "code.h" // must be after assembler_*.h | 67 #include "code.h" // must be after assembler_*.h |
61 #include "ia32/macro-assembler-ia32.h" | 68 #include "ia32/macro-assembler-ia32.h" |
62 #elif V8_TARGET_ARCH_X64 | 69 #elif V8_TARGET_ARCH_X64 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 class Comment { | 111 class Comment { |
105 public: | 112 public: |
106 Comment(MacroAssembler*, const char*) {} | 113 Comment(MacroAssembler*, const char*) {} |
107 }; | 114 }; |
108 | 115 |
109 #endif // DEBUG | 116 #endif // DEBUG |
110 | 117 |
111 } } // namespace v8::internal | 118 } } // namespace v8::internal |
112 | 119 |
113 #endif // V8_MACRO_ASSEMBLER_H_ | 120 #endif // V8_MACRO_ASSEMBLER_H_ |
OLD | NEW |