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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 void StubRuntimeCallHelper::AfterCall(MacroAssembler* masm) const { | 66 void StubRuntimeCallHelper::AfterCall(MacroAssembler* masm) const { |
67 masm->LeaveFrame(StackFrame::INTERNAL); | 67 masm->LeaveFrame(StackFrame::INTERNAL); |
68 ASSERT(masm->has_frame()); | 68 ASSERT(masm->has_frame()); |
69 masm->set_has_frame(false); | 69 masm->set_has_frame(false); |
70 } | 70 } |
71 | 71 |
72 // ------------------------------------------------------------------------- | 72 // ------------------------------------------------------------------------- |
73 // Code generators | 73 // Code generators |
74 | 74 |
75 void ElementsTransitionGenerator::GenerateSmiOnlyToObject( | 75 void ElementsTransitionGenerator::GenerateMapChangeElementTransition( |
76 MacroAssembler* masm) { | 76 MacroAssembler* masm) { |
77 // ----------- S t a t e ------------- | 77 // ----------- S t a t e ------------- |
78 // -- a0 : value | 78 // -- a0 : value |
79 // -- a1 : key | 79 // -- a1 : key |
80 // -- a2 : receiver | 80 // -- a2 : receiver |
81 // -- ra : return address | 81 // -- ra : return address |
82 // -- a3 : target map, scratch for subsequent call | 82 // -- a3 : target map, scratch for subsequent call |
83 // -- t0 : scratch (elements) | 83 // -- t0 : scratch (elements) |
84 // ----------------------------------- | 84 // ----------------------------------- |
85 // Set transitioned map. | 85 // Set transitioned map. |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 __ Addu(at, string, index); | 444 __ Addu(at, string, index); |
445 __ lbu(result, MemOperand(at)); | 445 __ lbu(result, MemOperand(at)); |
446 __ bind(&done); | 446 __ bind(&done); |
447 } | 447 } |
448 | 448 |
449 #undef __ | 449 #undef __ |
450 | 450 |
451 } } // namespace v8::internal | 451 } } // namespace v8::internal |
452 | 452 |
453 #endif // V8_TARGET_ARCH_MIPS | 453 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |