| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 11711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11722 __ bind(&promote_scheduled_exception); | 11722 __ bind(&promote_scheduled_exception); |
| 11723 __ TailCallRuntime(Runtime::kPromoteScheduledException, 0, 1); | 11723 __ TailCallRuntime(Runtime::kPromoteScheduledException, 0, 1); |
| 11724 } | 11724 } |
| 11725 | 11725 |
| 11726 | 11726 |
| 11727 void CEntryStub::GenerateCore(MacroAssembler* masm, | 11727 void CEntryStub::GenerateCore(MacroAssembler* masm, |
| 11728 Label* throw_normal_exception, | 11728 Label* throw_normal_exception, |
| 11729 Label* throw_termination_exception, | 11729 Label* throw_termination_exception, |
| 11730 Label* throw_out_of_memory_exception, | 11730 Label* throw_out_of_memory_exception, |
| 11731 bool do_gc, | 11731 bool do_gc, |
| 11732 bool always_allocate_scope) { | 11732 bool always_allocate_scope, |
| 11733 int /* alignment_skew */) { |
| 11733 // eax: result parameter for PerformGC, if any | 11734 // eax: result parameter for PerformGC, if any |
| 11734 // ebx: pointer to C function (C callee-saved) | 11735 // ebx: pointer to C function (C callee-saved) |
| 11735 // ebp: frame pointer (restored after C call) | 11736 // ebp: frame pointer (restored after C call) |
| 11736 // esp: stack pointer (restored after C call) | 11737 // esp: stack pointer (restored after C call) |
| 11737 // edi: number of arguments including receiver (C callee-saved) | 11738 // edi: number of arguments including receiver (C callee-saved) |
| 11738 // esi: pointer to the first argument (C callee-saved) | 11739 // esi: pointer to the first argument (C callee-saved) |
| 11739 | 11740 |
| 11740 // Result returned in eax, or eax+edx if result_size_ is 2. | 11741 // Result returned in eax, or eax+edx if result_size_ is 2. |
| 11741 | 11742 |
| 11742 if (do_gc) { | 11743 if (do_gc) { |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12875 | 12876 |
| 12876 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater) | 12877 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater) |
| 12877 // tagged as a small integer. | 12878 // tagged as a small integer. |
| 12878 __ bind(&runtime); | 12879 __ bind(&runtime); |
| 12879 __ TailCallRuntime(Runtime::kStringCompare, 2, 1); | 12880 __ TailCallRuntime(Runtime::kStringCompare, 2, 1); |
| 12880 } | 12881 } |
| 12881 | 12882 |
| 12882 #undef __ | 12883 #undef __ |
| 12883 | 12884 |
| 12884 } } // namespace v8::internal | 12885 } } // namespace v8::internal |
| OLD | NEW |