Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: src/x64/lithium-codegen-x64.cc

Issue 223823002: Revert r20474 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 3862 matching lines...) Expand 10 before | Expand all | Expand 10 after
3873 3873
3874 3874
3875 void LCodeGen::DoCallNew(LCallNew* instr) { 3875 void LCodeGen::DoCallNew(LCallNew* instr) {
3876 ASSERT(ToRegister(instr->context()).is(rsi)); 3876 ASSERT(ToRegister(instr->context()).is(rsi));
3877 ASSERT(ToRegister(instr->constructor()).is(rdi)); 3877 ASSERT(ToRegister(instr->constructor()).is(rdi));
3878 ASSERT(ToRegister(instr->result()).is(rax)); 3878 ASSERT(ToRegister(instr->result()).is(rax));
3879 3879
3880 __ Set(rax, instr->arity()); 3880 __ Set(rax, instr->arity());
3881 // No cell in ebx for construct type feedback in optimized code 3881 // No cell in ebx for construct type feedback in optimized code
3882 __ LoadRoot(rbx, Heap::kUndefinedValueRootIndex); 3882 __ LoadRoot(rbx, Heap::kUndefinedValueRootIndex);
3883 CallConstructStub stub(NO_CALL_CONSTRUCTOR_FLAGS); 3883 CallConstructStub stub(NO_CALL_FUNCTION_FLAGS);
3884 CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); 3884 CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr);
3885 } 3885 }
3886 3886
3887 3887
3888 void LCodeGen::DoCallNewArray(LCallNewArray* instr) { 3888 void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
3889 ASSERT(ToRegister(instr->context()).is(rsi)); 3889 ASSERT(ToRegister(instr->context()).is(rsi));
3890 ASSERT(ToRegister(instr->constructor()).is(rdi)); 3890 ASSERT(ToRegister(instr->constructor()).is(rdi));
3891 ASSERT(ToRegister(instr->result()).is(rax)); 3891 ASSERT(ToRegister(instr->result()).is(rax));
3892 3892
3893 __ Set(rax, instr->arity()); 3893 __ Set(rax, instr->arity());
(...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after
5681 __ bind(deferred->exit()); 5681 __ bind(deferred->exit());
5682 __ bind(&done); 5682 __ bind(&done);
5683 } 5683 }
5684 5684
5685 5685
5686 #undef __ 5686 #undef __
5687 5687
5688 } } // namespace v8::internal 5688 } } // namespace v8::internal
5689 5689
5690 #endif // V8_TARGET_ARCH_X64 5690 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698