OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 12 matching lines...) Expand all Loading... |
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #if defined(V8_TARGET_ARCH_X64) | 30 #if defined(V8_TARGET_ARCH_X64) |
31 | 31 |
32 #include "bootstrapper.h" | 32 #include "bootstrapper.h" |
33 #include "code-stubs-x64.h" | 33 #include "code-stubs.h" |
34 #include "codegen-inl.h" | |
35 #include "regexp-macro-assembler.h" | 34 #include "regexp-macro-assembler.h" |
36 | 35 |
37 namespace v8 { | 36 namespace v8 { |
38 namespace internal { | 37 namespace internal { |
39 | 38 |
40 #define __ ACCESS_MASM(masm) | 39 #define __ ACCESS_MASM(masm) |
41 void FastNewClosureStub::Generate(MacroAssembler* masm) { | 40 void FastNewClosureStub::Generate(MacroAssembler* masm) { |
42 // Create a new closure from the given function info in new | 41 // Create a new closure from the given function info in new |
43 // space. Set the context to the current context in rsi. | 42 // space. Set the context to the current context in rsi. |
44 Label gc; | 43 Label gc; |
(...skipping 3962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4007 // tagged as a small integer. | 4006 // tagged as a small integer. |
4008 __ bind(&runtime); | 4007 __ bind(&runtime); |
4009 __ TailCallRuntime(Runtime::kStringCompare, 2, 1); | 4008 __ TailCallRuntime(Runtime::kStringCompare, 2, 1); |
4010 } | 4009 } |
4011 | 4010 |
4012 #undef __ | 4011 #undef __ |
4013 | 4012 |
4014 } } // namespace v8::internal | 4013 } } // namespace v8::internal |
4015 | 4014 |
4016 #endif // V8_TARGET_ARCH_X64 | 4015 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |