| 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 } | 445 } |
| 446 | 446 |
| 447 | 447 |
| 448 void FullCodeGenerator::CallLoadIC(ContextualMode mode, TypeFeedbackId id) { | 448 void FullCodeGenerator::CallLoadIC(ContextualMode mode, TypeFeedbackId id) { |
| 449 Handle<Code> ic = LoadIC::initialize_stub(isolate(), mode); | 449 Handle<Code> ic = LoadIC::initialize_stub(isolate(), mode); |
| 450 CallIC(ic, mode, id); | 450 CallIC(ic, mode, id); |
| 451 } | 451 } |
| 452 | 452 |
| 453 | 453 |
| 454 void FullCodeGenerator::CallStoreIC(ContextualMode mode, TypeFeedbackId id) { | 454 void FullCodeGenerator::CallStoreIC(ContextualMode mode, TypeFeedbackId id) { |
| 455 Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode(), mode); | 455 Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode()); |
| 456 CallIC(ic, mode, id); | 456 CallIC(ic, mode, id); |
| 457 } | 457 } |
| 458 | 458 |
| 459 | 459 |
| 460 void FullCodeGenerator::RecordJSReturnSite(Call* call) { | 460 void FullCodeGenerator::RecordJSReturnSite(Call* call) { |
| 461 // We record the offset of the function return so we can rebuild the frame | 461 // We record the offset of the function return so we can rebuild the frame |
| 462 // if the function was inlined, i.e., this is the return address in the | 462 // if the function was inlined, i.e., this is the return address in the |
| 463 // inlined function's frame. | 463 // inlined function's frame. |
| 464 // | 464 // |
| 465 // The state is ignored. We defensively set it to TOS_REG, which is the | 465 // The state is ignored. We defensively set it to TOS_REG, which is the |
| (...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1746 } | 1746 } |
| 1747 return true; | 1747 return true; |
| 1748 } | 1748 } |
| 1749 #endif // DEBUG | 1749 #endif // DEBUG |
| 1750 | 1750 |
| 1751 | 1751 |
| 1752 #undef __ | 1752 #undef __ |
| 1753 | 1753 |
| 1754 | 1754 |
| 1755 } } // namespace v8::internal | 1755 } } // namespace v8::internal |
| OLD | NEW |