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

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

Issue 8857001: [hydrogen] don't bailout assignments to consts (Closed) Base URL: gh:v8/v8@master
Patch Set: fixed x64 build Created 9 years 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
« src/hydrogen.cc ('K') | « src/x64/lithium-codegen-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 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1285 inputs_[1] = value; 1285 inputs_[1] = value;
1286 temps_[0] = temp; 1286 temps_[0] = temp;
1287 } 1287 }
1288 1288
1289 DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot") 1289 DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot")
1290 DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot) 1290 DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot)
1291 1291
1292 LOperand* context() { return InputAt(0); } 1292 LOperand* context() { return InputAt(0); }
1293 LOperand* value() { return InputAt(1); } 1293 LOperand* value() { return InputAt(1); }
1294 int slot_index() { return hydrogen()->slot_index(); } 1294 int slot_index() { return hydrogen()->slot_index(); }
1295 bool needs_is_hole_check() { return hydrogen()->needs_is_hole_check(); }
1295 1296
1296 virtual void PrintDataTo(StringStream* stream); 1297 virtual void PrintDataTo(StringStream* stream);
1297 }; 1298 };
1298 1299
1299 1300
1300 class LPushArgument: public LTemplateInstruction<0, 1, 0> { 1301 class LPushArgument: public LTemplateInstruction<0, 1, 0> {
1301 public: 1302 public:
1302 explicit LPushArgument(LOperand* value) { 1303 explicit LPushArgument(LOperand* value) {
1303 inputs_[0] = value; 1304 inputs_[0] = value;
1304 } 1305 }
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 2245
2245 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2246 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2246 }; 2247 };
2247 2248
2248 #undef DECLARE_HYDROGEN_ACCESSOR 2249 #undef DECLARE_HYDROGEN_ACCESSOR
2249 #undef DECLARE_CONCRETE_INSTRUCTION 2250 #undef DECLARE_CONCRETE_INSTRUCTION
2250 2251
2251 } } // namespace v8::int 2252 } } // namespace v8::int
2252 2253
2253 #endif // V8_X64_LITHIUM_X64_H_ 2254 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« src/hydrogen.cc ('K') | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698