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 2451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2462 | 2462 |
2463 CallInterceptorCompiler compiler(this, arguments(), a2, extra_state_); | 2463 CallInterceptorCompiler compiler(this, arguments(), a2, extra_state_); |
2464 compiler.Compile(masm(), object, holder, name, &lookup, a1, a3, t0, a0, | 2464 compiler.Compile(masm(), object, holder, name, &lookup, a1, a3, t0, a0, |
2465 &miss); | 2465 &miss); |
2466 | 2466 |
2467 // Move returned value, the function to call, to a1. | 2467 // Move returned value, the function to call, to a1. |
2468 __ mov(a1, v0); | 2468 __ mov(a1, v0); |
2469 // Restore receiver. | 2469 // Restore receiver. |
2470 __ lw(a0, MemOperand(sp, argc * kPointerSize)); | 2470 __ lw(a0, MemOperand(sp, argc * kPointerSize)); |
2471 | 2471 |
2472 GenerateJumpFunction(object, a0, &miss); | 2472 GenerateJumpFunction(object, a1, &miss); |
2473 | 2473 |
2474 HandlerFrontendFooter(&miss); | 2474 HandlerFrontendFooter(&miss); |
2475 | 2475 |
2476 // Return the generated code. | 2476 // Return the generated code. |
2477 return GetCode(Code::FAST, name); | 2477 return GetCode(Code::FAST, name); |
2478 } | 2478 } |
2479 | 2479 |
2480 | 2480 |
2481 Handle<Code> CallStubCompiler::CompileCallGlobal( | 2481 Handle<Code> CallStubCompiler::CompileCallGlobal( |
2482 Handle<JSObject> object, | 2482 Handle<JSObject> object, |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2885 // ----------------------------------- | 2885 // ----------------------------------- |
2886 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 2886 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
2887 } | 2887 } |
2888 | 2888 |
2889 | 2889 |
2890 #undef __ | 2890 #undef __ |
2891 | 2891 |
2892 } } // namespace v8::internal | 2892 } } // namespace v8::internal |
2893 | 2893 |
2894 #endif // V8_TARGET_ARCH_MIPS | 2894 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |