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 17 matching lines...) Expand all Loading... |
28 #ifndef V8_X64_CODE_STUBS_X64_H_ | 28 #ifndef V8_X64_CODE_STUBS_X64_H_ |
29 #define V8_X64_CODE_STUBS_X64_H_ | 29 #define V8_X64_CODE_STUBS_X64_H_ |
30 | 30 |
31 #include "ic-inl.h" | 31 #include "ic-inl.h" |
32 #include "type-info.h" | 32 #include "type-info.h" |
33 | 33 |
34 namespace v8 { | 34 namespace v8 { |
35 namespace internal { | 35 namespace internal { |
36 | 36 |
37 | 37 |
| 38 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); |
| 39 |
38 // Compute a transcendental math function natively, or call the | 40 // Compute a transcendental math function natively, or call the |
39 // TranscendentalCache runtime function. | 41 // TranscendentalCache runtime function. |
40 class TranscendentalCacheStub: public PlatformCodeStub { | 42 class TranscendentalCacheStub: public PlatformCodeStub { |
41 public: | 43 public: |
42 enum ArgumentType { | 44 enum ArgumentType { |
43 TAGGED = 0, | 45 TAGGED = 0, |
44 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits | 46 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits |
45 }; | 47 }; |
46 | 48 |
47 explicit TranscendentalCacheStub(TranscendentalCache::Type type, | 49 explicit TranscendentalCacheStub(TranscendentalCache::Type type, |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 RememberedSetAction remembered_set_action_; | 616 RememberedSetAction remembered_set_action_; |
615 SaveFPRegsMode save_fp_regs_mode_; | 617 SaveFPRegsMode save_fp_regs_mode_; |
616 Label slow_; | 618 Label slow_; |
617 RegisterAllocation regs_; | 619 RegisterAllocation regs_; |
618 }; | 620 }; |
619 | 621 |
620 | 622 |
621 } } // namespace v8::internal | 623 } } // namespace v8::internal |
622 | 624 |
623 #endif // V8_X64_CODE_STUBS_X64_H_ | 625 #endif // V8_X64_CODE_STUBS_X64_H_ |
OLD | NEW |