| 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 Builtins::kStoreIC_Megamorphic_Strict); | 525 Builtins::kStoreIC_Megamorphic_Strict); |
| 526 } | 526 } |
| 527 static Code* initialize_stub() { | 527 static Code* initialize_stub() { |
| 528 return Isolate::Current()->builtins()->builtin( | 528 return Isolate::Current()->builtins()->builtin( |
| 529 Builtins::kStoreIC_Initialize); | 529 Builtins::kStoreIC_Initialize); |
| 530 } | 530 } |
| 531 static Code* initialize_stub_strict() { | 531 static Code* initialize_stub_strict() { |
| 532 return Isolate::Current()->builtins()->builtin( | 532 return Isolate::Current()->builtins()->builtin( |
| 533 Builtins::kStoreIC_Initialize_Strict); | 533 Builtins::kStoreIC_Initialize_Strict); |
| 534 } | 534 } |
| 535 Code* global_proxy_stub() { | 535 Handle<Code> global_proxy_stub() { |
| 536 return isolate()->builtins()->builtin( | 536 return isolate()->builtins()->StoreIC_GlobalProxy(); |
| 537 Builtins::kStoreIC_GlobalProxy); | |
| 538 } | 537 } |
| 539 Code* global_proxy_stub_strict() { | 538 Handle<Code> global_proxy_stub_strict() { |
| 540 return isolate()->builtins()->builtin( | 539 return isolate()->builtins()->StoreIC_GlobalProxy_Strict(); |
| 541 Builtins::kStoreIC_GlobalProxy_Strict); | |
| 542 } | 540 } |
| 543 | 541 |
| 544 static void Clear(Address address, Code* target); | 542 static void Clear(Address address, Code* target); |
| 545 | 543 |
| 546 friend class IC; | 544 friend class IC; |
| 547 }; | 545 }; |
| 548 | 546 |
| 549 | 547 |
| 550 class KeyedStoreIC: public KeyedIC { | 548 class KeyedStoreIC: public KeyedIC { |
| 551 public: | 549 public: |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 void patch(Code* code); | 733 void patch(Code* code); |
| 736 }; | 734 }; |
| 737 | 735 |
| 738 | 736 |
| 739 // Helper for BinaryOpIC and CompareIC. | 737 // Helper for BinaryOpIC and CompareIC. |
| 740 void PatchInlinedSmiCode(Address address); | 738 void PatchInlinedSmiCode(Address address); |
| 741 | 739 |
| 742 } } // namespace v8::internal | 740 } } // namespace v8::internal |
| 743 | 741 |
| 744 #endif // V8_IC_H_ | 742 #endif // V8_IC_H_ |
| OLD | NEW |