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

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

Issue 9418006: MIPS: Enable optimization of top-level code and generate deoptimization support lazily. (Closed)
Patch Set: Created 8 years, 10 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
« no previous file with comments | « src/mips/lithium-mips.h ('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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 return instr->HasNoUses() ? NULL : DefineAsRegister(new LContext); 1117 return instr->HasNoUses() ? NULL : DefineAsRegister(new LContext);
1118 } 1118 }
1119 1119
1120 1120
1121 LInstruction* LChunkBuilder::DoOuterContext(HOuterContext* instr) { 1121 LInstruction* LChunkBuilder::DoOuterContext(HOuterContext* instr) {
1122 LOperand* context = UseRegisterAtStart(instr->value()); 1122 LOperand* context = UseRegisterAtStart(instr->value());
1123 return DefineAsRegister(new LOuterContext(context)); 1123 return DefineAsRegister(new LOuterContext(context));
1124 } 1124 }
1125 1125
1126 1126
1127 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) {
1128 return MarkAsCall(new LDeclareGlobals, instr);
1129 }
1130
1131
1127 LInstruction* LChunkBuilder::DoGlobalObject(HGlobalObject* instr) { 1132 LInstruction* LChunkBuilder::DoGlobalObject(HGlobalObject* instr) {
1128 LOperand* context = UseRegisterAtStart(instr->value()); 1133 LOperand* context = UseRegisterAtStart(instr->value());
1129 return DefineAsRegister(new LGlobalObject(context)); 1134 return DefineAsRegister(new LGlobalObject(context));
1130 } 1135 }
1131 1136
1132 1137
1133 LInstruction* LChunkBuilder::DoGlobalReceiver(HGlobalReceiver* instr) { 1138 LInstruction* LChunkBuilder::DoGlobalReceiver(HGlobalReceiver* instr) {
1134 LOperand* global_object = UseRegisterAtStart(instr->value()); 1139 LOperand* global_object = UseRegisterAtStart(instr->value());
1135 return DefineAsRegister(new LGlobalReceiver(global_object)); 1140 return DefineAsRegister(new LGlobalReceiver(global_object));
1136 } 1141 }
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2263 2268
2264 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2269 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2265 LOperand* key = UseRegisterAtStart(instr->key()); 2270 LOperand* key = UseRegisterAtStart(instr->key());
2266 LOperand* object = UseRegisterAtStart(instr->object()); 2271 LOperand* object = UseRegisterAtStart(instr->object());
2267 LIn* result = new LIn(key, object); 2272 LIn* result = new LIn(key, object);
2268 return MarkAsCall(DefineFixed(result, v0), instr); 2273 return MarkAsCall(DefineFixed(result, v0), instr);
2269 } 2274 }
2270 2275
2271 2276
2272 } } // namespace v8::internal 2277 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698