| 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 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1475 // their code generation. On machines that always have gp registers (x64) we | 1475 // their code generation. On machines that always have gp registers (x64) we |
| 1476 // can generate both variants ahead of time. | 1476 // can generate both variants ahead of time. |
| 1477 static void GenerateAheadOfTime(Isolate* isolate); | 1477 static void GenerateAheadOfTime(Isolate* isolate); |
| 1478 | 1478 |
| 1479 protected: | 1479 protected: |
| 1480 virtual void VerifyPlatformFeatures(Isolate* isolate) V8_OVERRIDE { | 1480 virtual void VerifyPlatformFeatures(Isolate* isolate) V8_OVERRIDE { |
| 1481 ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2)); | 1481 ASSERT(CpuFeatures::VerifyCrossCompiling(SSE2)); |
| 1482 }; | 1482 }; |
| 1483 | 1483 |
| 1484 private: | 1484 private: |
| 1485 void GenerateCore(MacroAssembler* masm, | |
| 1486 Label* throw_normal_exception, | |
| 1487 Label* throw_termination_exception, | |
| 1488 bool do_gc, | |
| 1489 bool always_allocate_scope); | |
| 1490 | |
| 1491 // Number of pointers/values returned. | 1485 // Number of pointers/values returned. |
| 1492 Isolate* isolate_; | 1486 Isolate* isolate_; |
| 1493 const int result_size_; | 1487 const int result_size_; |
| 1494 SaveFPRegsMode save_doubles_; | 1488 SaveFPRegsMode save_doubles_; |
| 1495 | 1489 |
| 1496 Major MajorKey() { return CEntry; } | 1490 Major MajorKey() { return CEntry; } |
| 1497 int MinorKey(); | 1491 int MinorKey(); |
| 1498 | 1492 |
| 1499 bool NeedsImmovableCode(); | 1493 bool NeedsImmovableCode(); |
| 1500 }; | 1494 }; |
| (...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2499 | 2493 |
| 2500 | 2494 |
| 2501 class CallDescriptors { | 2495 class CallDescriptors { |
| 2502 public: | 2496 public: |
| 2503 static void InitializeForIsolate(Isolate* isolate); | 2497 static void InitializeForIsolate(Isolate* isolate); |
| 2504 }; | 2498 }; |
| 2505 | 2499 |
| 2506 } } // namespace v8::internal | 2500 } } // namespace v8::internal |
| 2507 | 2501 |
| 2508 #endif // V8_CODE_STUBS_H_ | 2502 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |