OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 V(DirectCEntry) | 79 V(DirectCEntry) |
80 #else | 80 #else |
81 #define CODE_STUB_LIST_ARM(V) | 81 #define CODE_STUB_LIST_ARM(V) |
82 #endif | 82 #endif |
83 | 83 |
84 // Combined list of code stubs. | 84 // Combined list of code stubs. |
85 #define CODE_STUB_LIST(V) \ | 85 #define CODE_STUB_LIST(V) \ |
86 CODE_STUB_LIST_ALL_PLATFORMS(V) \ | 86 CODE_STUB_LIST_ALL_PLATFORMS(V) \ |
87 CODE_STUB_LIST_ARM(V) | 87 CODE_STUB_LIST_ARM(V) |
88 | 88 |
89 // Types of uncatchable exceptions. | |
90 enum UncatchableExceptionType { OUT_OF_MEMORY, TERMINATION }; | |
91 | |
92 // Mode to overwrite BinaryExpression values. | 89 // Mode to overwrite BinaryExpression values. |
93 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; | 90 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; |
94 enum UnaryOverwriteMode { UNARY_OVERWRITE, UNARY_NO_OVERWRITE }; | 91 enum UnaryOverwriteMode { UNARY_OVERWRITE, UNARY_NO_OVERWRITE }; |
95 | 92 |
96 | 93 |
97 // Stub is base classes of all stubs. | 94 // Stub is base classes of all stubs. |
98 class CodeStub BASE_EMBEDDED { | 95 class CodeStub BASE_EMBEDDED { |
99 public: | 96 public: |
100 enum Major { | 97 enum Major { |
101 #define DEF_ENUM(name) name, | 98 #define DEF_ENUM(name) name, |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 private: | 941 private: |
945 MacroAssembler* masm_; | 942 MacroAssembler* masm_; |
946 bool previous_allow_; | 943 bool previous_allow_; |
947 | 944 |
948 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope); | 945 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope); |
949 }; | 946 }; |
950 | 947 |
951 } } // namespace v8::internal | 948 } } // namespace v8::internal |
952 | 949 |
953 #endif // V8_CODE_STUBS_H_ | 950 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |