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 3243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3254 __ testb(scratch, Immediate(kIsSymbolMask)); | 3254 __ testb(scratch, Immediate(kIsSymbolMask)); |
3255 __ j(zero, label); | 3255 __ j(zero, label); |
3256 } | 3256 } |
3257 | 3257 |
3258 | 3258 |
3259 void StackCheckStub::Generate(MacroAssembler* masm) { | 3259 void StackCheckStub::Generate(MacroAssembler* masm) { |
3260 __ TailCallRuntime(Runtime::kStackGuard, 0, 1); | 3260 __ TailCallRuntime(Runtime::kStackGuard, 0, 1); |
3261 } | 3261 } |
3262 | 3262 |
3263 | 3263 |
| 3264 void CallFunctionStub::FinishCode(Code* code) { |
| 3265 code->set_has_function_cache(false); |
| 3266 } |
| 3267 |
| 3268 |
| 3269 void CallFunctionStub::Clear(Heap* heap, Address address) { |
| 3270 UNREACHABLE(); |
| 3271 } |
| 3272 |
| 3273 |
| 3274 Object* CallFunctionStub::GetCachedValue(Address address) { |
| 3275 UNREACHABLE(); |
| 3276 return NULL; |
| 3277 } |
| 3278 |
| 3279 |
3264 void CallFunctionStub::Generate(MacroAssembler* masm) { | 3280 void CallFunctionStub::Generate(MacroAssembler* masm) { |
3265 Label slow, non_function; | 3281 Label slow, non_function; |
3266 | 3282 |
3267 // The receiver might implicitly be the global object. This is | 3283 // The receiver might implicitly be the global object. This is |
3268 // indicated by passing the hole as the receiver to the call | 3284 // indicated by passing the hole as the receiver to the call |
3269 // function stub. | 3285 // function stub. |
3270 if (ReceiverMightBeImplicit()) { | 3286 if (ReceiverMightBeImplicit()) { |
3271 Label call; | 3287 Label call; |
3272 // Get the receiver from the stack. | 3288 // Get the receiver from the stack. |
3273 // +1 ~ return address | 3289 // +1 ~ return address |
(...skipping 2545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5819 | 5835 |
5820 // Fall through when we need to inform the incremental marker. | 5836 // Fall through when we need to inform the incremental marker. |
5821 } | 5837 } |
5822 | 5838 |
5823 | 5839 |
5824 #undef __ | 5840 #undef __ |
5825 | 5841 |
5826 } } // namespace v8::internal | 5842 } } // namespace v8::internal |
5827 | 5843 |
5828 #endif // V8_TARGET_ARCH_X64 | 5844 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |