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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1489 | 1489 |
1490 protected: | 1490 protected: |
1491 virtual void VerifyPlatformFeatures(Isolate* isolate) V8_OVERRIDE { | 1491 virtual void VerifyPlatformFeatures(Isolate* isolate) V8_OVERRIDE { |
1492 ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2)); | 1492 ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2)); |
1493 }; | 1493 }; |
1494 | 1494 |
1495 private: | 1495 private: |
1496 void GenerateCore(MacroAssembler* masm, | 1496 void GenerateCore(MacroAssembler* masm, |
1497 Label* throw_normal_exception, | 1497 Label* throw_normal_exception, |
1498 Label* throw_termination_exception, | 1498 Label* throw_termination_exception, |
| 1499 Label* throw_out_of_memory_exception, |
1499 bool do_gc, | 1500 bool do_gc, |
1500 bool always_allocate_scope); | 1501 bool always_allocate_scope); |
1501 | 1502 |
1502 // Number of pointers/values returned. | 1503 // Number of pointers/values returned. |
1503 Isolate* isolate_; | 1504 Isolate* isolate_; |
1504 const int result_size_; | 1505 const int result_size_; |
1505 SaveFPRegsMode save_doubles_; | 1506 SaveFPRegsMode save_doubles_; |
1506 | 1507 |
1507 Major MajorKey() { return CEntry; } | 1508 Major MajorKey() { return CEntry; } |
1508 int MinorKey(); | 1509 int MinorKey(); |
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2510 | 2511 |
2511 | 2512 |
2512 class CallDescriptors { | 2513 class CallDescriptors { |
2513 public: | 2514 public: |
2514 static void InitializeForIsolate(Isolate* isolate); | 2515 static void InitializeForIsolate(Isolate* isolate); |
2515 }; | 2516 }; |
2516 | 2517 |
2517 } } // namespace v8::internal | 2518 } } // namespace v8::internal |
2518 | 2519 |
2519 #endif // V8_CODE_STUBS_H_ | 2520 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |