Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 737 // all external references in the code so that they can be bound to the correct | 737 // all external references in the code so that they can be bound to the correct |
| 738 // addresses when deserializing a heap. | 738 // addresses when deserializing a heap. |
| 739 class ExternalReference BASE_EMBEDDED { | 739 class ExternalReference BASE_EMBEDDED { |
| 740 public: | 740 public: |
| 741 // Used in the simulator to support different native api calls. | 741 // Used in the simulator to support different native api calls. |
| 742 enum Type { | 742 enum Type { |
| 743 // Builtin call. | 743 // Builtin call. |
| 744 // Object* f(v8::internal::Arguments). | 744 // Object* f(v8::internal::Arguments). |
| 745 BUILTIN_CALL, // default | 745 BUILTIN_CALL, // default |
| 746 | 746 |
| 747 #if V8_TARGET_ARCH_PPC64 | |
|
danno
2014/07/29 13:24:07
Why the #ifdef? This may not be implemented on all
andrew_low
2014/07/30 13:27:04
Also related to running simulation 'natively' on P
| |
| 748 // Builtin call returning object pair. | |
| 749 // ObjectPair* f(v8::internal::Arguments). | |
| 750 BUILTIN_OBJECTPAIR_CALL, | |
| 751 #endif | |
| 752 | |
| 747 // Builtin that takes float arguments and returns an int. | 753 // Builtin that takes float arguments and returns an int. |
| 748 // int f(double, double). | 754 // int f(double, double). |
| 749 BUILTIN_COMPARE_CALL, | 755 BUILTIN_COMPARE_CALL, |
| 750 | 756 |
| 751 // Builtin call that returns floating point. | 757 // Builtin call that returns floating point. |
| 752 // double f(double, double). | 758 // double f(double, double). |
| 753 BUILTIN_FP_FP_CALL, | 759 BUILTIN_FP_FP_CALL, |
| 754 | 760 |
| 755 // Builtin call that returns floating point. | 761 // Builtin call that returns floating point. |
| 756 // double f(double). | 762 // double f(double). |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1120 | 1126 |
| 1121 private: | 1127 private: |
| 1122 int32_t multiplier_; | 1128 int32_t multiplier_; |
| 1123 int32_t shift_; | 1129 int32_t shift_; |
| 1124 }; | 1130 }; |
| 1125 | 1131 |
| 1126 | 1132 |
| 1127 } } // namespace v8::internal | 1133 } } // namespace v8::internal |
| 1128 | 1134 |
| 1129 #endif // V8_ASSEMBLER_H_ | 1135 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |