| 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 7554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7565 masm->isolate()))); | 7565 masm->isolate()))); |
| 7566 #endif | 7566 #endif |
| 7567 __ Call(at); | 7567 __ Call(at); |
| 7568 | 7568 |
| 7569 // Restore the stack pointer if needed. | 7569 // Restore the stack pointer if needed. |
| 7570 if (frame_alignment > kPointerSize) { | 7570 if (frame_alignment > kPointerSize) { |
| 7571 __ mov(sp, t1); | 7571 __ mov(sp, t1); |
| 7572 } | 7572 } |
| 7573 | 7573 |
| 7574 // Also pop ra to get Ret(0). | 7574 // Also pop ra to get Ret(0). |
| 7575 __ stop("check 1"); | |
| 7576 __ MultiPop(kJSCallerSaved | ra.bit()); | 7575 __ MultiPop(kJSCallerSaved | ra.bit()); |
| 7577 __ Ret(); | 7576 __ Ret(); |
| 7578 } | 7577 } |
| 7579 | 7578 |
| 7580 | 7579 |
| 7581 template<class T> | 7580 template<class T> |
| 7582 static void CreateArrayDispatch(MacroAssembler* masm) { | 7581 static void CreateArrayDispatch(MacroAssembler* masm) { |
| 7583 int last_index = GetSequenceIndexFromFastElementsKind( | 7582 int last_index = GetSequenceIndexFromFastElementsKind( |
| 7584 TERMINAL_FAST_ELEMENTS_KIND); | 7583 TERMINAL_FAST_ELEMENTS_KIND); |
| 7585 for (int i = 0; i <= last_index; ++i) { | 7584 for (int i = 0; i <= last_index; ++i) { |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7846 __ bind(&fast_elements_case); | 7845 __ bind(&fast_elements_case); |
| 7847 GenerateCase(masm, FAST_ELEMENTS); | 7846 GenerateCase(masm, FAST_ELEMENTS); |
| 7848 } | 7847 } |
| 7849 | 7848 |
| 7850 | 7849 |
| 7851 #undef __ | 7850 #undef __ |
| 7852 | 7851 |
| 7853 } } // namespace v8::internal | 7852 } } // namespace v8::internal |
| 7854 | 7853 |
| 7855 #endif // V8_TARGET_ARCH_MIPS | 7854 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |