| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 18 matching lines...) Expand all Loading... |
| 29 #define V8_MACRO_ASSEMBLER_H_ | 29 #define V8_MACRO_ASSEMBLER_H_ |
| 30 | 30 |
| 31 | 31 |
| 32 // Helper types to make boolean flag easier to read at call-site. | 32 // Helper types to make boolean flag easier to read at call-site. |
| 33 enum InvokeFlag { | 33 enum InvokeFlag { |
| 34 CALL_FUNCTION, | 34 CALL_FUNCTION, |
| 35 JUMP_FUNCTION | 35 JUMP_FUNCTION |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 | 38 |
| 39 // Types of uncatchable exceptions. | |
| 40 enum UncatchableExceptionType { | |
| 41 OUT_OF_MEMORY, | |
| 42 TERMINATION | |
| 43 }; | |
| 44 | |
| 45 | |
| 46 // Invalid depth in prototype chain. | 39 // Invalid depth in prototype chain. |
| 47 const int kInvalidProtoDepth = -1; | 40 const int kInvalidProtoDepth = -1; |
| 48 | 41 |
| 49 #if V8_TARGET_ARCH_IA32 | 42 #if V8_TARGET_ARCH_IA32 |
| 50 #include "assembler.h" | 43 #include "assembler.h" |
| 51 #include "ia32/assembler-ia32.h" | 44 #include "ia32/assembler-ia32.h" |
| 52 #include "ia32/assembler-ia32-inl.h" | 45 #include "ia32/assembler-ia32-inl.h" |
| 53 #include "code.h" // must be after assembler_*.h | 46 #include "code.h" // must be after assembler_*.h |
| 54 #include "ia32/macro-assembler-ia32.h" | 47 #include "ia32/macro-assembler-ia32.h" |
| 55 #elif V8_TARGET_ARCH_X64 | 48 #elif V8_TARGET_ARCH_X64 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 class Comment { | 147 class Comment { |
| 155 public: | 148 public: |
| 156 Comment(MacroAssembler*, const char*) {} | 149 Comment(MacroAssembler*, const char*) {} |
| 157 }; | 150 }; |
| 158 | 151 |
| 159 #endif // DEBUG | 152 #endif // DEBUG |
| 160 | 153 |
| 161 } } // namespace v8::internal | 154 } } // namespace v8::internal |
| 162 | 155 |
| 163 #endif // V8_MACRO_ASSEMBLER_H_ | 156 #endif // V8_MACRO_ASSEMBLER_H_ |
| OLD | NEW |