| 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 2068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2079 | 2079 |
| 2080 bind(&promote_scheduled_exception); | 2080 bind(&promote_scheduled_exception); |
| 2081 TailCallRuntime(Runtime::kPromoteScheduledException, 0, 1); | 2081 TailCallRuntime(Runtime::kPromoteScheduledException, 0, 1); |
| 2082 | 2082 |
| 2083 // HandleScope limit has changed. Delete allocated extensions. | 2083 // HandleScope limit has changed. Delete allocated extensions. |
| 2084 ExternalReference delete_extensions = | 2084 ExternalReference delete_extensions = |
| 2085 ExternalReference::delete_handle_scope_extensions(isolate()); | 2085 ExternalReference::delete_handle_scope_extensions(isolate()); |
| 2086 bind(&delete_allocated_handles); | 2086 bind(&delete_allocated_handles); |
| 2087 mov(Operand::StaticVariable(limit_address), edi); | 2087 mov(Operand::StaticVariable(limit_address), edi); |
| 2088 mov(edi, eax); | 2088 mov(edi, eax); |
| 2089 mov(Operand(esp, 0), Immediate(ExternalReference::isolate_address())); | 2089 mov(Operand(esp, 0), |
| 2090 Immediate(ExternalReference::isolate_address(isolate()))); |
| 2090 mov(eax, Immediate(delete_extensions)); | 2091 mov(eax, Immediate(delete_extensions)); |
| 2091 call(eax); | 2092 call(eax); |
| 2092 mov(eax, edi); | 2093 mov(eax, edi); |
| 2093 jmp(&leave_exit_frame); | 2094 jmp(&leave_exit_frame); |
| 2094 } | 2095 } |
| 2095 | 2096 |
| 2096 | 2097 |
| 2097 void MacroAssembler::JumpToExternalReference(const ExternalReference& ext) { | 2098 void MacroAssembler::JumpToExternalReference(const ExternalReference& ext) { |
| 2098 // Set the entry point and jump to the C entry runtime stub. | 2099 // Set the entry point and jump to the C entry runtime stub. |
| 2099 mov(ebx, Immediate(ext)); | 2100 mov(ebx, Immediate(ext)); |
| (...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3114 j(greater, &no_info_available); | 3115 j(greater, &no_info_available); |
| 3115 cmp(MemOperand(scratch_reg, -AllocationSiteInfo::kSize), | 3116 cmp(MemOperand(scratch_reg, -AllocationSiteInfo::kSize), |
| 3116 Immediate(Handle<Map>(isolate()->heap()->allocation_site_info_map()))); | 3117 Immediate(Handle<Map>(isolate()->heap()->allocation_site_info_map()))); |
| 3117 bind(&no_info_available); | 3118 bind(&no_info_available); |
| 3118 } | 3119 } |
| 3119 | 3120 |
| 3120 | 3121 |
| 3121 } } // namespace v8::internal | 3122 } } // namespace v8::internal |
| 3122 | 3123 |
| 3123 #endif // V8_TARGET_ARCH_IA32 | 3124 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |