| 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 3282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3293 // of the original receiver from the call site). | 3293 // of the original receiver from the call site). |
| 3294 __ movq(Operand(rsp, (argc_ + 1) * kPointerSize), rdi); | 3294 __ movq(Operand(rsp, (argc_ + 1) * kPointerSize), rdi); |
| 3295 __ Set(rax, argc_); | 3295 __ Set(rax, argc_); |
| 3296 __ Set(rbx, 0); | 3296 __ Set(rbx, 0); |
| 3297 __ GetBuiltinEntry(rdx, Builtins::CALL_NON_FUNCTION); | 3297 __ GetBuiltinEntry(rdx, Builtins::CALL_NON_FUNCTION); |
| 3298 Handle<Code> adaptor(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline)); | 3298 Handle<Code> adaptor(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline)); |
| 3299 __ Jump(adaptor, RelocInfo::CODE_TARGET); | 3299 __ Jump(adaptor, RelocInfo::CODE_TARGET); |
| 3300 } | 3300 } |
| 3301 | 3301 |
| 3302 | 3302 |
| 3303 bool CEntryStub::NeedsImmovableCode() { |
| 3304 return false; |
| 3305 } |
| 3306 |
| 3307 |
| 3303 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { | 3308 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { |
| 3304 // Throw exception in eax. | 3309 // Throw exception in eax. |
| 3305 __ Throw(rax); | 3310 __ Throw(rax); |
| 3306 } | 3311 } |
| 3307 | 3312 |
| 3308 | 3313 |
| 3309 void CEntryStub::GenerateCore(MacroAssembler* masm, | 3314 void CEntryStub::GenerateCore(MacroAssembler* masm, |
| 3310 Label* throw_normal_exception, | 3315 Label* throw_normal_exception, |
| 3311 Label* throw_termination_exception, | 3316 Label* throw_termination_exception, |
| 3312 Label* throw_out_of_memory_exception, | 3317 Label* throw_out_of_memory_exception, |
| (...skipping 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5140 FieldOperand(elements, PixelArray::kExternalPointerOffset)); | 5145 FieldOperand(elements, PixelArray::kExternalPointerOffset)); |
| 5141 __ movb(Operand(external_pointer, untagged_key, times_1, 0), untagged_value); | 5146 __ movb(Operand(external_pointer, untagged_key, times_1, 0), untagged_value); |
| 5142 __ ret(0); // Return value in eax. | 5147 __ ret(0); // Return value in eax. |
| 5143 } | 5148 } |
| 5144 | 5149 |
| 5145 #undef __ | 5150 #undef __ |
| 5146 | 5151 |
| 5147 } } // namespace v8::internal | 5152 } } // namespace v8::internal |
| 5148 | 5153 |
| 5149 #endif // V8_TARGET_ARCH_X64 | 5154 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |