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

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

Issue 9703056: Fixed breakage caused by r11051 on non-ia32 platforms. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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/mips/full-codegen-mips.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 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 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 VisitForStackValue(key); 1459 VisitForStackValue(key);
1460 VisitForStackValue(value); 1460 VisitForStackValue(value);
1461 if (property->emit_store()) { 1461 if (property->emit_store()) {
1462 __ Push(Smi::FromInt(NONE)); // PropertyAttributes 1462 __ Push(Smi::FromInt(NONE)); // PropertyAttributes
1463 __ CallRuntime(Runtime::kSetProperty, 4); 1463 __ CallRuntime(Runtime::kSetProperty, 4);
1464 } else { 1464 } else {
1465 __ Drop(3); 1465 __ Drop(3);
1466 } 1466 }
1467 break; 1467 break;
1468 case ObjectLiteral::Property::GETTER: 1468 case ObjectLiteral::Property::GETTER:
1469 accessor_table.find(key)->second->getter = value; 1469 accessor_table.lookup(key)->second->getter = value;
1470 break; 1470 break;
1471 case ObjectLiteral::Property::SETTER: 1471 case ObjectLiteral::Property::SETTER:
1472 accessor_table.find(key)->second->setter = value; 1472 accessor_table.lookup(key)->second->setter = value;
1473 break; 1473 break;
1474 } 1474 }
1475 } 1475 }
1476 1476
1477 // Emit code to define accessors, using only a single call to the runtime for 1477 // Emit code to define accessors, using only a single call to the runtime for
1478 // each pair of corresponding getters and setters. 1478 // each pair of corresponding getters and setters.
1479 for (AccessorTable::Iterator it = accessor_table.begin(); 1479 for (AccessorTable::Iterator it = accessor_table.begin();
1480 it != accessor_table.end(); 1480 it != accessor_table.end();
1481 ++it) { 1481 ++it) {
1482 __ push(Operand(rsp, 0)); // Duplicate receiver. 1482 __ push(Operand(rsp, 0)); // Duplicate receiver.
(...skipping 2946 matching lines...) Expand 10 before | Expand all | Expand 10 after
4429 *context_length = 0; 4429 *context_length = 0;
4430 return previous_; 4430 return previous_;
4431 } 4431 }
4432 4432
4433 4433
4434 #undef __ 4434 #undef __
4435 4435
4436 } } // namespace v8::internal 4436 } } // namespace v8::internal
4437 4437
4438 #endif // V8_TARGET_ARCH_X64 4438 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698