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 // Flags used for the AllocateObjectInNewSpace functions. | 53 // Flags used for the AllocateInNewSpace functions. |
54 enum AllocationFlags { | 54 enum AllocationFlags { |
55 // No special flags. | 55 // No special flags. |
56 NO_ALLOCATION_FLAGS = 0, | 56 NO_ALLOCATION_FLAGS = 0, |
57 // Return the pointer to the allocated already tagged as a heap object. | 57 // Return the pointer to the allocated already tagged as a heap object. |
58 TAG_OBJECT = 1 << 0, | 58 TAG_OBJECT = 1 << 0, |
59 // The content of the result register already contains the allocation top in | 59 // The content of the result register already contains the allocation top in |
60 // new space. | 60 // new space. |
61 RESULT_CONTAINS_TOP = 1 << 1 | 61 RESULT_CONTAINS_TOP = 1 << 1 |
62 }; | 62 }; |
63 | 63 |
(...skipping 15 matching lines...) Expand all Loading... |
79 #include "assembler.h" | 79 #include "assembler.h" |
80 #include "arm/assembler-arm.h" | 80 #include "arm/assembler-arm.h" |
81 #include "arm/assembler-arm-inl.h" | 81 #include "arm/assembler-arm-inl.h" |
82 #include "code.h" // must be after assembler_*.h | 82 #include "code.h" // must be after assembler_*.h |
83 #include "arm/macro-assembler-arm.h" | 83 #include "arm/macro-assembler-arm.h" |
84 #else | 84 #else |
85 #error Unsupported target architecture. | 85 #error Unsupported target architecture. |
86 #endif | 86 #endif |
87 | 87 |
88 #endif // V8_MACRO_ASSEMBLER_H_ | 88 #endif // V8_MACRO_ASSEMBLER_H_ |
OLD | NEW |