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

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

Issue 338042: Fix x64 DEBUG build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | « no previous file | 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 ASSERT(key->location().is_temporary()); 310 ASSERT(key->location().is_temporary());
311 Visit(value); 311 Visit(value);
312 ASSERT(value->location().is_temporary()); 312 ASSERT(value->location().is_temporary());
313 __ CallRuntime(Runtime::kSetProperty, 3); 313 __ CallRuntime(Runtime::kSetProperty, 3);
314 __ movq(rax, Operand(rsp, 0)); // Restore result into rax. 314 __ movq(rax, Operand(rsp, 0)); // Restore result into rax.
315 break; 315 break;
316 case ObjectLiteral::Property::SETTER: // fall through 316 case ObjectLiteral::Property::SETTER: // fall through
317 case ObjectLiteral::Property::GETTER: 317 case ObjectLiteral::Property::GETTER:
318 __ push(rax); 318 __ push(rax);
319 Visit(key); 319 Visit(key);
320 ASSERT(key->location.is_temporary()); 320 ASSERT(key->location().is_temporary());
321 __ Push(property->kind() == ObjectLiteral::Property::SETTER ? 321 __ Push(property->kind() == ObjectLiteral::Property::SETTER ?
322 Smi::FromInt(1) : 322 Smi::FromInt(1) :
323 Smi::FromInt(0)); 323 Smi::FromInt(0));
324 Visit(value); 324 Visit(value);
325 ASSERT(value->location().is_temporary()); 325 ASSERT(value->location().is_temporary());
326 __ CallRuntime(Runtime::kDefineAccessor, 4); 326 __ CallRuntime(Runtime::kDefineAccessor, 4);
327 __ movq(rax, Operand(rsp, 0)); // Restore result into rax. 327 __ movq(rax, Operand(rsp, 0)); // Restore result into rax.
328 break; 328 break;
329 default: UNREACHABLE(); 329 default: UNREACHABLE();
330 } 330 }
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 } else { 637 } else {
638 ASSERT(destination.is_temporary()); 638 ASSERT(destination.is_temporary());
639 } 639 }
640 } 640 }
641 641
642 __ bind(&done); 642 __ bind(&done);
643 } 643 }
644 644
645 645
646 } } // namespace v8::internal 646 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698