| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 CEntryStub() { } | 189 CEntryStub() { } |
| 190 | 190 |
| 191 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); } | 191 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); } |
| 192 | 192 |
| 193 protected: | 193 protected: |
| 194 void GenerateBody(MacroAssembler* masm, bool is_debug_break); | 194 void GenerateBody(MacroAssembler* masm, bool is_debug_break); |
| 195 void GenerateCore(MacroAssembler* masm, | 195 void GenerateCore(MacroAssembler* masm, |
| 196 Label* throw_normal_exception, | 196 Label* throw_normal_exception, |
| 197 Label* throw_out_of_memory_exception, | 197 Label* throw_out_of_memory_exception, |
| 198 StackFrame::Type frame_type, | 198 StackFrame::Type frame_type, |
| 199 bool do_gc); | 199 bool do_gc, |
| 200 bool always_allocate_scope); |
| 200 void GenerateThrowTOS(MacroAssembler* masm); | 201 void GenerateThrowTOS(MacroAssembler* masm); |
| 201 void GenerateThrowOutOfMemory(MacroAssembler* masm); | 202 void GenerateThrowOutOfMemory(MacroAssembler* masm); |
| 202 | 203 |
| 203 private: | 204 private: |
| 204 Major MajorKey() { return CEntry; } | 205 Major MajorKey() { return CEntry; } |
| 205 int MinorKey() { return 0; } | 206 int MinorKey() { return 0; } |
| 206 | 207 |
| 207 const char* GetName() { return "CEntryStub"; } | 208 const char* GetName() { return "CEntryStub"; } |
| 208 }; | 209 }; |
| 209 | 210 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 PrintF("ArgumentsAccessStub (type %d)\n", type_); | 280 PrintF("ArgumentsAccessStub (type %d)\n", type_); |
| 280 } | 281 } |
| 281 #endif | 282 #endif |
| 282 }; | 283 }; |
| 283 | 284 |
| 284 | 285 |
| 285 } // namespace internal | 286 } // namespace internal |
| 286 } // namespace v8 | 287 } // namespace v8 |
| 287 | 288 |
| 288 #endif // V8_CODEGEN_H_ | 289 #endif // V8_CODEGEN_H_ |
| OLD | NEW |