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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 __ pop(r1); | 326 __ pop(r1); |
327 | 327 |
328 // Tear down internal frame. | 328 // Tear down internal frame. |
329 } | 329 } |
330 | 330 |
331 // Do a tail-call of the compiled function. | 331 // Do a tail-call of the compiled function. |
332 __ Jump(r2); | 332 __ Jump(r2); |
333 } | 333 } |
334 | 334 |
335 | 335 |
336 void Builtins::Generate_ParallelRecompile(MacroAssembler* masm) { | 336 void Builtins::Generate_ConcurrentRecompile(MacroAssembler* masm) { |
337 { | 337 { |
338 FrameScope scope(masm, StackFrame::INTERNAL); | 338 FrameScope scope(masm, StackFrame::INTERNAL); |
339 | 339 |
340 // Push a copy of the function onto the stack. | 340 // Push a copy of the function onto the stack. |
341 __ push(r1); | 341 __ push(r1); |
342 // Push call kind information. | 342 // Push call kind information. |
343 __ push(r5); | 343 __ push(r5); |
344 | 344 |
345 __ push(r1); // Function is also the parameter to the runtime call. | 345 __ push(r1); // Function is also the parameter to the runtime call. |
346 __ CallRuntime(Runtime::kParallelRecompile, 1); | 346 __ CallRuntime(Runtime::kConcurrentRecompile, 1); |
347 | 347 |
348 // Restore call kind information. | 348 // Restore call kind information. |
349 __ pop(r5); | 349 __ pop(r5); |
350 // Restore receiver. | 350 // Restore receiver. |
351 __ pop(r1); | 351 __ pop(r1); |
352 | 352 |
353 // Tear down internal frame. | 353 // Tear down internal frame. |
354 } | 354 } |
355 | 355 |
356 GenerateTailCallToSharedCode(masm); | 356 GenerateTailCallToSharedCode(masm); |
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1475 __ bind(&dont_adapt_arguments); | 1475 __ bind(&dont_adapt_arguments); |
1476 __ Jump(r3); | 1476 __ Jump(r3); |
1477 } | 1477 } |
1478 | 1478 |
1479 | 1479 |
1480 #undef __ | 1480 #undef __ |
1481 | 1481 |
1482 } } // namespace v8::internal | 1482 } } // namespace v8::internal |
1483 | 1483 |
1484 #endif // V8_TARGET_ARCH_ARM | 1484 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |