OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 masm_->ret((scope_->num_parameters() + 1) * kPointerSize); | 205 masm_->ret((scope_->num_parameters() + 1) * kPointerSize); |
206 DeleteFrame(); | 206 DeleteFrame(); |
207 | 207 |
208 // Check that the size of the code used for returning matches what is | 208 // Check that the size of the code used for returning matches what is |
209 // expected by the debugger. | 209 // expected by the debugger. |
210 // ASSERT_EQ(Debug::kIa32JSReturnSequenceLength, | 210 // ASSERT_EQ(Debug::kIa32JSReturnSequenceLength, |
211 // masm_->SizeOfCodeGeneratedSince(&check_exit_codesize)); | 211 // masm_->SizeOfCodeGeneratedSince(&check_exit_codesize)); |
212 } | 212 } |
213 | 213 |
214 | 214 |
215 void CodeGenerator::GenerateFastCaseSwitchJumpTable(SwitchStatement* a, | |
216 int b, | |
217 int c, | |
218 Label* d, | |
219 Vector<Label*> e, | |
220 Vector<Label> f) { | |
221 UNIMPLEMENTED(); | |
222 } | |
223 | |
224 void CodeGenerator::VisitStatements(ZoneList<Statement*>* a) { | 215 void CodeGenerator::VisitStatements(ZoneList<Statement*>* a) { |
225 UNIMPLEMENTED(); | 216 UNIMPLEMENTED(); |
226 } | 217 } |
227 | 218 |
228 void CodeGenerator::VisitBlock(Block* a) { | 219 void CodeGenerator::VisitBlock(Block* a) { |
229 UNIMPLEMENTED(); | 220 UNIMPLEMENTED(); |
230 } | 221 } |
231 | 222 |
232 void CodeGenerator::VisitDeclaration(Declaration* a) { | 223 void CodeGenerator::VisitDeclaration(Declaration* a) { |
233 UNIMPLEMENTED(); | 224 UNIMPLEMENTED(); |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 | 768 |
778 // Restore frame pointer and return. | 769 // Restore frame pointer and return. |
779 __ pop(rbp); | 770 __ pop(rbp); |
780 __ ret(0); | 771 __ ret(0); |
781 } | 772 } |
782 | 773 |
783 | 774 |
784 #undef __ | 775 #undef __ |
785 | 776 |
786 } } // namespace v8::internal | 777 } } // namespace v8::internal |
OLD | NEW |