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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 EmitPop(r2); | 360 EmitPop(r2); |
361 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0); | 361 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0); |
362 } | 362 } |
363 | 363 |
364 | 364 |
365 void VirtualFrame::CallCodeObject(Handle<Code> code, | 365 void VirtualFrame::CallCodeObject(Handle<Code> code, |
366 RelocInfo::Mode rmode, | 366 RelocInfo::Mode rmode, |
367 int dropped_args) { | 367 int dropped_args) { |
368 switch (code->kind()) { | 368 switch (code->kind()) { |
369 case Code::CALL_IC: | 369 case Code::CALL_IC: |
| 370 case Code::KEYED_CALL_IC: |
370 case Code::FUNCTION: | 371 case Code::FUNCTION: |
371 break; | 372 break; |
372 case Code::KEYED_LOAD_IC: | 373 case Code::KEYED_LOAD_IC: |
373 case Code::LOAD_IC: | 374 case Code::LOAD_IC: |
374 case Code::KEYED_STORE_IC: | 375 case Code::KEYED_STORE_IC: |
375 case Code::STORE_IC: | 376 case Code::STORE_IC: |
376 ASSERT(dropped_args == 0); | 377 ASSERT(dropped_args == 0); |
377 break; | 378 break; |
378 case Code::BUILTIN: | 379 case Code::BUILTIN: |
379 ASSERT(*code == Builtins::builtin(Builtins::JSConstructCall)); | 380 ASSERT(*code == Builtins::builtin(Builtins::JSConstructCall)); |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 break; | 781 break; |
781 } | 782 } |
782 ASSERT(register_allocation_map_ == 0); // Not yet implemented. | 783 ASSERT(register_allocation_map_ == 0); // Not yet implemented. |
783 } | 784 } |
784 | 785 |
785 #undef __ | 786 #undef __ |
786 | 787 |
787 } } // namespace v8::internal | 788 } } // namespace v8::internal |
788 | 789 |
789 #endif // V8_TARGET_ARCH_ARM | 790 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |