| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 __ pop(a1); | 334 __ pop(a1); |
| 335 | 335 |
| 336 // Tear down temporary frame. | 336 // Tear down temporary frame. |
| 337 } | 337 } |
| 338 | 338 |
| 339 // Do a tail-call of the compiled function. | 339 // Do a tail-call of the compiled function. |
| 340 __ Jump(t9); | 340 __ Jump(t9); |
| 341 } | 341 } |
| 342 | 342 |
| 343 | 343 |
| 344 void Builtins::Generate_ParallelRecompile(MacroAssembler* masm) { | 344 void Builtins::Generate_ConcurrentRecompile(MacroAssembler* masm) { |
| 345 { | 345 { |
| 346 FrameScope scope(masm, StackFrame::INTERNAL); | 346 FrameScope scope(masm, StackFrame::INTERNAL); |
| 347 | 347 |
| 348 // Push a copy of the function onto the stack. | 348 // Push a copy of the function onto the stack. |
| 349 __ push(a1); | 349 __ push(a1); |
| 350 // Push call kind information. | 350 // Push call kind information. |
| 351 __ push(t1); | 351 __ push(t1); |
| 352 | 352 |
| 353 __ push(a1); // Function is also the parameter to the runtime call. | 353 __ push(a1); // Function is also the parameter to the runtime call. |
| 354 __ CallRuntime(Runtime::kParallelRecompile, 1); | 354 __ CallRuntime(Runtime::kConcurrentRecompile, 1); |
| 355 | 355 |
| 356 // Restore call kind information. | 356 // Restore call kind information. |
| 357 __ pop(t1); | 357 __ pop(t1); |
| 358 // Restore receiver. | 358 // Restore receiver. |
| 359 __ pop(a1); | 359 __ pop(a1); |
| 360 | 360 |
| 361 // Tear down internal frame. | 361 // Tear down internal frame. |
| 362 } | 362 } |
| 363 | 363 |
| 364 GenerateTailCallToSharedCode(masm); | 364 GenerateTailCallToSharedCode(masm); |
| (...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1515 __ bind(&dont_adapt_arguments); | 1515 __ bind(&dont_adapt_arguments); |
| 1516 __ Jump(a3); | 1516 __ Jump(a3); |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 | 1519 |
| 1520 #undef __ | 1520 #undef __ |
| 1521 | 1521 |
| 1522 } } // namespace v8::internal | 1522 } } // namespace v8::internal |
| 1523 | 1523 |
| 1524 #endif // V8_TARGET_ARCH_MIPS | 1524 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |