| 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 3797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3808 } | 3808 } |
| 3809 | 3809 |
| 3810 | 3810 |
| 3811 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { | 3811 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { |
| 3812 RegExpConstructResultStub stub; | 3812 RegExpConstructResultStub stub; |
| 3813 ZoneList<Expression*>* args = expr->arguments(); | 3813 ZoneList<Expression*>* args = expr->arguments(); |
| 3814 ASSERT(args->length() == 3); | 3814 ASSERT(args->length() == 3); |
| 3815 VisitForStackValue(args->at(0)); | 3815 VisitForStackValue(args->at(0)); |
| 3816 VisitForStackValue(args->at(1)); | 3816 VisitForStackValue(args->at(1)); |
| 3817 VisitForAccumulatorValue(args->at(2)); | 3817 VisitForAccumulatorValue(args->at(2)); |
| 3818 __ mov(a0, result_register()); |
| 3818 __ pop(a1); | 3819 __ pop(a1); |
| 3819 __ pop(a2); | 3820 __ pop(a2); |
| 3820 __ CallStub(&stub); | 3821 __ CallStub(&stub); |
| 3821 context()->Plug(v0); | 3822 context()->Plug(v0); |
| 3822 } | 3823 } |
| 3823 | 3824 |
| 3824 | 3825 |
| 3825 void FullCodeGenerator::EmitGetFromCache(CallRuntime* expr) { | 3826 void FullCodeGenerator::EmitGetFromCache(CallRuntime* expr) { |
| 3826 ZoneList<Expression*>* args = expr->arguments(); | 3827 ZoneList<Expression*>* args = expr->arguments(); |
| 3827 ASSERT_EQ(2, args->length()); | 3828 ASSERT_EQ(2, args->length()); |
| (...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4963 Assembler::target_address_at(pc_immediate_load_address)) == | 4964 Assembler::target_address_at(pc_immediate_load_address)) == |
| 4964 reinterpret_cast<uint32_t>( | 4965 reinterpret_cast<uint32_t>( |
| 4965 isolate->builtins()->OsrAfterStackCheck()->entry())); | 4966 isolate->builtins()->OsrAfterStackCheck()->entry())); |
| 4966 return OSR_AFTER_STACK_CHECK; | 4967 return OSR_AFTER_STACK_CHECK; |
| 4967 } | 4968 } |
| 4968 | 4969 |
| 4969 | 4970 |
| 4970 } } // namespace v8::internal | 4971 } } // namespace v8::internal |
| 4971 | 4972 |
| 4972 #endif // V8_TARGET_ARCH_MIPS | 4973 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |