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

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

Issue 6588082: Reenable DoStoreContextSlot, I can't reproduce any local bugs on this. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 | « 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 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 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 } 1719 }
1720 1720
1721 1721
1722 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) { 1722 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) {
1723 LOperand* context = UseRegisterAtStart(instr->value()); 1723 LOperand* context = UseRegisterAtStart(instr->value());
1724 return DefineAsRegister(new LLoadContextSlot(context)); 1724 return DefineAsRegister(new LLoadContextSlot(context));
1725 } 1725 }
1726 1726
1727 1727
1728 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) { 1728 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) {
1729 Abort("Unimplemented: DoStoreContextSlot"); // Temporarily disabled (whesse).
1730 LOperand* context; 1729 LOperand* context;
1731 LOperand* value; 1730 LOperand* value;
1732 if (instr->NeedsWriteBarrier()) { 1731 if (instr->NeedsWriteBarrier()) {
1733 context = UseTempRegister(instr->context()); 1732 context = UseTempRegister(instr->context());
1734 value = UseTempRegister(instr->value()); 1733 value = UseTempRegister(instr->value());
1735 } else { 1734 } else {
1736 context = UseRegister(instr->context()); 1735 context = UseRegister(instr->context());
1737 value = UseRegister(instr->value()); 1736 value = UseRegister(instr->value());
1738 } 1737 }
1739 return new LStoreContextSlot(context, value); 1738 return new LStoreContextSlot(context, value);
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 2034
2036 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2035 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2037 HEnvironment* outer = current_block_->last_environment()->outer(); 2036 HEnvironment* outer = current_block_->last_environment()->outer();
2038 current_block_->UpdateEnvironment(outer); 2037 current_block_->UpdateEnvironment(outer);
2039 return NULL; 2038 return NULL;
2040 } 2039 }
2041 2040
2042 } } // namespace v8::internal 2041 } } // namespace v8::internal
2043 2042
2044 #endif // V8_TARGET_ARCH_X64 2043 #endif // V8_TARGET_ARCH_X64
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