OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 4797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4808 | 4808 |
4809 __ bind(&done); | 4809 __ bind(&done); |
4810 __ add(sp, sp, Operand(3 * kPointerSize)); | 4810 __ add(sp, sp, Operand(3 * kPointerSize)); |
4811 __ Ret(); | 4811 __ Ret(); |
4812 | 4812 |
4813 __ bind(&slowcase); | 4813 __ bind(&slowcase); |
4814 __ TailCallRuntime(Runtime::kRegExpConstructResult, 3, 1); | 4814 __ TailCallRuntime(Runtime::kRegExpConstructResult, 3, 1); |
4815 } | 4815 } |
4816 | 4816 |
4817 | 4817 |
| 4818 void CallFunctionStub::FinishCode(Code* code) { |
| 4819 code->set_has_function_cache(false); |
| 4820 } |
| 4821 |
| 4822 |
| 4823 void CallFunctionStub::Clear(Heap* heap, Address address) { |
| 4824 UNREACHABLE(); |
| 4825 } |
| 4826 |
| 4827 |
| 4828 Object* CallFunctionStub::GetCachedValue(Address address) { |
| 4829 UNREACHABLE(); |
| 4830 return NULL; |
| 4831 } |
| 4832 |
| 4833 |
4818 void CallFunctionStub::Generate(MacroAssembler* masm) { | 4834 void CallFunctionStub::Generate(MacroAssembler* masm) { |
4819 Label slow, non_function; | 4835 Label slow, non_function; |
4820 | 4836 |
4821 // The receiver might implicitly be the global object. This is | 4837 // The receiver might implicitly be the global object. This is |
4822 // indicated by passing the hole as the receiver to the call | 4838 // indicated by passing the hole as the receiver to the call |
4823 // function stub. | 4839 // function stub. |
4824 if (ReceiverMightBeImplicit()) { | 4840 if (ReceiverMightBeImplicit()) { |
4825 Label call; | 4841 Label call; |
4826 // Get the receiver from the stack. | 4842 // Get the receiver from the stack. |
4827 // function, receiver [, arguments] | 4843 // function, receiver [, arguments] |
(...skipping 2236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7064 | 7080 |
7065 // Fall through when we need to inform the incremental marker. | 7081 // Fall through when we need to inform the incremental marker. |
7066 } | 7082 } |
7067 | 7083 |
7068 | 7084 |
7069 #undef __ | 7085 #undef __ |
7070 | 7086 |
7071 } } // namespace v8::internal | 7087 } } // namespace v8::internal |
7072 | 7088 |
7073 #endif // V8_TARGET_ARCH_ARM | 7089 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |