| 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 3561 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3572   __ testb(scratch, Immediate(kIsSymbolMask)); | 3572   __ testb(scratch, Immediate(kIsSymbolMask)); | 
| 3573   __ j(zero, label); | 3573   __ j(zero, label); | 
| 3574 } | 3574 } | 
| 3575 | 3575 | 
| 3576 | 3576 | 
| 3577 void StackCheckStub::Generate(MacroAssembler* masm) { | 3577 void StackCheckStub::Generate(MacroAssembler* masm) { | 
| 3578   __ TailCallRuntime(Runtime::kStackGuard, 0, 1); | 3578   __ TailCallRuntime(Runtime::kStackGuard, 0, 1); | 
| 3579 } | 3579 } | 
| 3580 | 3580 | 
| 3581 | 3581 | 
|  | 3582 void InterruptStub::Generate(MacroAssembler* masm) { | 
|  | 3583   __ TailCallRuntime(Runtime::kInterrupt, 0, 1); | 
|  | 3584 } | 
|  | 3585 | 
|  | 3586 | 
| 3582 static void GenerateRecordCallTarget(MacroAssembler* masm) { | 3587 static void GenerateRecordCallTarget(MacroAssembler* masm) { | 
| 3583   // Cache the called function in a global property cell.  Cache states | 3588   // Cache the called function in a global property cell.  Cache states | 
| 3584   // are uninitialized, monomorphic (indicated by a JSFunction), and | 3589   // are uninitialized, monomorphic (indicated by a JSFunction), and | 
| 3585   // megamorphic. | 3590   // megamorphic. | 
| 3586   // rbx : cache cell for call target | 3591   // rbx : cache cell for call target | 
| 3587   // rdi : the function to call | 3592   // rdi : the function to call | 
| 3588   Isolate* isolate = masm->isolate(); | 3593   Isolate* isolate = masm->isolate(); | 
| 3589   Label initialize, done; | 3594   Label initialize, done; | 
| 3590 | 3595 | 
| 3591   // Load the cache state into rcx. | 3596   // Load the cache state into rcx. | 
| (...skipping 2706 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6298                                  xmm0, | 6303                                  xmm0, | 
| 6299                                  &slow_elements); | 6304                                  &slow_elements); | 
| 6300   __ ret(0); | 6305   __ ret(0); | 
| 6301 } | 6306 } | 
| 6302 | 6307 | 
| 6303 #undef __ | 6308 #undef __ | 
| 6304 | 6309 | 
| 6305 } }  // namespace v8::internal | 6310 } }  // namespace v8::internal | 
| 6306 | 6311 | 
| 6307 #endif  // V8_TARGET_ARCH_X64 | 6312 #endif  // V8_TARGET_ARCH_X64 | 
| OLD | NEW | 
|---|