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

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

Issue 8495012: Attempt to fix Windows x64 build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Yet another tweak Created 9 years, 1 month 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/code-stubs-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 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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 if (!result_saved) { 1489 if (!result_saved) {
1490 __ push(rax); 1490 __ push(rax);
1491 result_saved = true; 1491 result_saved = true;
1492 } 1492 }
1493 VisitForAccumulatorValue(subexpr); 1493 VisitForAccumulatorValue(subexpr);
1494 1494
1495 // Store the subexpression value in the array's elements. 1495 // Store the subexpression value in the array's elements.
1496 __ movq(rbx, Operand(rsp, 0)); // Copy of array literal. 1496 __ movq(rbx, Operand(rsp, 0)); // Copy of array literal.
1497 __ movq(rdi, FieldOperand(rbx, JSObject::kMapOffset)); 1497 __ movq(rdi, FieldOperand(rbx, JSObject::kMapOffset));
1498 __ Move(rcx, Smi::FromInt(i)); 1498 __ Move(rcx, Smi::FromInt(i));
1499 __ movq(rdx, Immediate(expr->literal_index())); 1499 __ Move(rdx, Smi::FromInt(expr->literal_index()));
1500 StoreArrayLiteralElementStub stub; 1500 StoreArrayLiteralElementStub stub;
1501 __ CallStub(&stub); 1501 __ CallStub(&stub);
1502 1502
1503 PrepareForBailoutForId(expr->GetIdForElement(i), NO_REGISTERS); 1503 PrepareForBailoutForId(expr->GetIdForElement(i), NO_REGISTERS);
1504 } 1504 }
1505 1505
1506 if (result_saved) { 1506 if (result_saved) {
1507 context()->PlugTOS(); 1507 context()->PlugTOS();
1508 } else { 1508 } else {
1509 context()->Plug(rax); 1509 context()->Plug(rax);
(...skipping 2746 matching lines...) Expand 10 before | Expand all | Expand 10 after
4256 *context_length = 0; 4256 *context_length = 0;
4257 return previous_; 4257 return previous_;
4258 } 4258 }
4259 4259
4260 4260
4261 #undef __ 4261 #undef __
4262 4262
4263 } } // namespace v8::internal 4263 } } // namespace v8::internal
4264 4264
4265 #endif // V8_TARGET_ARCH_X64 4265 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698