| 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 18 matching lines...) Expand all Loading... |
| 29 #define V8_IA32_CODE_STUBS_IA32_H_ | 29 #define V8_IA32_CODE_STUBS_IA32_H_ |
| 30 | 30 |
| 31 #include "macro-assembler.h" | 31 #include "macro-assembler.h" |
| 32 #include "code-stubs.h" | 32 #include "code-stubs.h" |
| 33 #include "ic-inl.h" | 33 #include "ic-inl.h" |
| 34 | 34 |
| 35 namespace v8 { | 35 namespace v8 { |
| 36 namespace internal { | 36 namespace internal { |
| 37 | 37 |
| 38 | 38 |
| 39 void ArrayNativeCode(MacroAssembler* masm, |
| 40 bool construct_call, |
| 41 Label* call_generic_code); |
| 42 |
| 39 // Compute a transcendental math function natively, or call the | 43 // Compute a transcendental math function natively, or call the |
| 40 // TranscendentalCache runtime function. | 44 // TranscendentalCache runtime function. |
| 41 class TranscendentalCacheStub: public PlatformCodeStub { | 45 class TranscendentalCacheStub: public PlatformCodeStub { |
| 42 public: | 46 public: |
| 43 enum ArgumentType { | 47 enum ArgumentType { |
| 44 TAGGED = 0, | 48 TAGGED = 0, |
| 45 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits | 49 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits |
| 46 }; | 50 }; |
| 47 | 51 |
| 48 TranscendentalCacheStub(TranscendentalCache::Type type, | 52 TranscendentalCacheStub(TranscendentalCache::Type type, |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 Register address_; | 644 Register address_; |
| 641 RememberedSetAction remembered_set_action_; | 645 RememberedSetAction remembered_set_action_; |
| 642 SaveFPRegsMode save_fp_regs_mode_; | 646 SaveFPRegsMode save_fp_regs_mode_; |
| 643 RegisterAllocation regs_; | 647 RegisterAllocation regs_; |
| 644 }; | 648 }; |
| 645 | 649 |
| 646 | 650 |
| 647 } } // namespace v8::internal | 651 } } // namespace v8::internal |
| 648 | 652 |
| 649 #endif // V8_IA32_CODE_STUBS_IA32_H_ | 653 #endif // V8_IA32_CODE_STUBS_IA32_H_ |
| OLD | NEW |