| 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 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1787 | 1787 | 
| 1788   // Do full GC and retry runtime call one final time. | 1788   // Do full GC and retry runtime call one final time. | 
| 1789   Failure* failure = Failure::InternalError(); | 1789   Failure* failure = Failure::InternalError(); | 
| 1790   __ li(v0, Operand(reinterpret_cast<int32_t>(failure))); | 1790   __ li(v0, Operand(reinterpret_cast<int32_t>(failure))); | 
| 1791   GenerateCore(masm, | 1791   GenerateCore(masm, | 
| 1792                &throw_normal_exception, | 1792                &throw_normal_exception, | 
| 1793                &throw_termination_exception, | 1793                &throw_termination_exception, | 
| 1794                true, | 1794                true, | 
| 1795                true); | 1795                true); | 
| 1796 | 1796 | 
|  | 1797   { FrameScope scope(masm, StackFrame::MANUAL); | 
|  | 1798     __ PrepareCallCFunction(0, v0); | 
|  | 1799     __ CallCFunction( | 
|  | 1800         ExternalReference::out_of_memory_function(masm->isolate()), 0); | 
|  | 1801   } | 
|  | 1802 | 
| 1797   __ bind(&throw_termination_exception); | 1803   __ bind(&throw_termination_exception); | 
| 1798   __ ThrowUncatchable(v0); | 1804   __ ThrowUncatchable(v0); | 
| 1799 | 1805 | 
| 1800   __ bind(&throw_normal_exception); | 1806   __ bind(&throw_normal_exception); | 
| 1801   __ Throw(v0); | 1807   __ Throw(v0); | 
| 1802 } | 1808 } | 
| 1803 | 1809 | 
| 1804 | 1810 | 
| 1805 void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { | 1811 void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { | 
| 1806   Label invoke, handler_entry, exit; | 1812   Label invoke, handler_entry, exit; | 
| (...skipping 3831 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 5638                               MemOperand(fp, 6 * kPointerSize), | 5644                               MemOperand(fp, 6 * kPointerSize), | 
| 5639                               NULL); | 5645                               NULL); | 
| 5640 } | 5646 } | 
| 5641 | 5647 | 
| 5642 | 5648 | 
| 5643 #undef __ | 5649 #undef __ | 
| 5644 | 5650 | 
| 5645 } }  // namespace v8::internal | 5651 } }  // namespace v8::internal | 
| 5646 | 5652 | 
| 5647 #endif  // V8_TARGET_ARCH_MIPS | 5653 #endif  // V8_TARGET_ARCH_MIPS | 
| OLD | NEW | 
|---|