| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 __ Pop(x5, x1); | 313 __ Pop(x5, x1); |
| 314 | 314 |
| 315 // Tear down internal frame. | 315 // Tear down internal frame. |
| 316 } | 316 } |
| 317 | 317 |
| 318 // Do a tail-call of the compiled function. | 318 // Do a tail-call of the compiled function. |
| 319 __ Jump(x2); | 319 __ Jump(x2); |
| 320 } | 320 } |
| 321 | 321 |
| 322 | 322 |
| 323 void Builtins::Generate_ParallelRecompile(MacroAssembler* masm) { | 323 void Builtins::Generate_ConcurrentRecompile(MacroAssembler* masm) { |
| 324 { | 324 { |
| 325 FrameScope scope(masm, StackFrame::INTERNAL); | 325 FrameScope scope(masm, StackFrame::INTERNAL); |
| 326 | 326 |
| 327 // Push a copy of the function and call kind information on to the stack. | 327 // Push a copy of the function and call kind information on to the stack. |
| 328 __ Push(x1, x5); | 328 __ Push(x1, x5); |
| 329 | 329 |
| 330 // Pointer to the function is also the parameter to the runtime call. | 330 // Pointer to the function is also the parameter to the runtime call. |
| 331 __ Push(x1); | 331 __ Push(x1); |
| 332 __ CallRuntime(Runtime::kParallelRecompile, 1); | 332 __ CallRuntime(Runtime::kConcurrentRecompile, 1); |
| 333 | 333 |
| 334 // Restore call kind information and receiver. | 334 // Restore call kind information and receiver. |
| 335 __ Pop(x5, x1); | 335 __ Pop(x5, x1); |
| 336 | 336 |
| 337 // Tear down internal frame. | 337 // Tear down internal frame. |
| 338 } | 338 } |
| 339 GenerateTailCallToSharedCode(masm); | 339 GenerateTailCallToSharedCode(masm); |
| 340 } | 340 } |
| 341 | 341 |
| 342 | 342 |
| (...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 __ Bind(&dont_adapt_arguments); | 1457 __ Bind(&dont_adapt_arguments); |
| 1458 __ Jump(x3); | 1458 __ Jump(x3); |
| 1459 } | 1459 } |
| 1460 | 1460 |
| 1461 | 1461 |
| 1462 #undef __ | 1462 #undef __ |
| 1463 | 1463 |
| 1464 } } // namespace v8::internal | 1464 } } // namespace v8::internal |
| 1465 | 1465 |
| 1466 #endif // V8_TARGET_ARCH_ARM | 1466 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |