| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 static void CompileCallLoadPropertyWithInterceptor(MacroAssembler* masm, | 392 static void CompileCallLoadPropertyWithInterceptor(MacroAssembler* masm, |
| 393 Register receiver, | 393 Register receiver, |
| 394 Register holder, | 394 Register holder, |
| 395 Register name, | 395 Register name, |
| 396 JSObject* holder_obj) { | 396 JSObject* holder_obj) { |
| 397 PushInterceptorArguments(masm, receiver, holder, name, holder_obj); | 397 PushInterceptorArguments(masm, receiver, holder, name, holder_obj); |
| 398 | 398 |
| 399 ExternalReference ref = | 399 ExternalReference ref = |
| 400 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptorOnly), | 400 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptorOnly), |
| 401 masm->isolate()); | 401 masm->isolate()); |
| 402 __ movq(rax, Immediate(5)); | 402 __ Set(rax, 5); |
| 403 __ LoadAddress(rbx, ref); | 403 __ LoadAddress(rbx, ref); |
| 404 | 404 |
| 405 CEntryStub stub(1); | 405 CEntryStub stub(1); |
| 406 __ CallStub(&stub); | 406 __ CallStub(&stub); |
| 407 } | 407 } |
| 408 | 408 |
| 409 | 409 |
| 410 // Number of pointers to be reserved on stack for fast API call. | 410 // Number of pointers to be reserved on stack for fast API call. |
| 411 static const int kFastApiCallArguments = 3; | 411 static const int kFastApiCallArguments = 3; |
| 412 | 412 |
| (...skipping 3038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3451 __ TailCallRuntime(Runtime::kSetProperty, 5, 1); | 3451 __ TailCallRuntime(Runtime::kSetProperty, 5, 1); |
| 3452 | 3452 |
| 3453 return GetCode(flags); | 3453 return GetCode(flags); |
| 3454 } | 3454 } |
| 3455 | 3455 |
| 3456 #undef __ | 3456 #undef __ |
| 3457 | 3457 |
| 3458 } } // namespace v8::internal | 3458 } } // namespace v8::internal |
| 3459 | 3459 |
| 3460 #endif // V8_TARGET_ARCH_X64 | 3460 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |