| 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 2454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2465 | 2465 |
| 2466 CallInterceptorCompiler compiler(this, arguments(), r2, extra_state_); | 2466 CallInterceptorCompiler compiler(this, arguments(), r2, extra_state_); |
| 2467 compiler.Compile(masm(), object, holder, name, &lookup, r1, r3, r4, r0, | 2467 compiler.Compile(masm(), object, holder, name, &lookup, r1, r3, r4, r0, |
| 2468 &miss); | 2468 &miss); |
| 2469 | 2469 |
| 2470 // Move returned value, the function to call, to r1. | 2470 // Move returned value, the function to call, to r1. |
| 2471 __ mov(r1, r0); | 2471 __ mov(r1, r0); |
| 2472 // Restore receiver. | 2472 // Restore receiver. |
| 2473 __ ldr(r0, MemOperand(sp, argc * kPointerSize)); | 2473 __ ldr(r0, MemOperand(sp, argc * kPointerSize)); |
| 2474 | 2474 |
| 2475 GenerateJumpFunction(object, r0, &miss); | 2475 GenerateJumpFunction(object, r1, &miss); |
| 2476 | 2476 |
| 2477 HandlerFrontendFooter(&miss); | 2477 HandlerFrontendFooter(&miss); |
| 2478 | 2478 |
| 2479 // Return the generated code. | 2479 // Return the generated code. |
| 2480 return GetCode(Code::FAST, name); | 2480 return GetCode(Code::FAST, name); |
| 2481 } | 2481 } |
| 2482 | 2482 |
| 2483 | 2483 |
| 2484 Handle<Code> CallStubCompiler::CompileCallGlobal( | 2484 Handle<Code> CallStubCompiler::CompileCallGlobal( |
| 2485 Handle<JSObject> object, | 2485 Handle<JSObject> object, |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2891 // ----------------------------------- | 2891 // ----------------------------------- |
| 2892 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 2892 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
| 2893 } | 2893 } |
| 2894 | 2894 |
| 2895 | 2895 |
| 2896 #undef __ | 2896 #undef __ |
| 2897 | 2897 |
| 2898 } } // namespace v8::internal | 2898 } } // namespace v8::internal |
| 2899 | 2899 |
| 2900 #endif // V8_TARGET_ARCH_ARM | 2900 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |