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

Side by Side Diff: src/ia32/lithium-ia32.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
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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 inputs_[1] = value; 1326 inputs_[1] = value;
1327 temps_[0] = temp; 1327 temps_[0] = temp;
1328 } 1328 }
1329 1329
1330 DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot") 1330 DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot")
1331 DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot) 1331 DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot)
1332 1332
1333 LOperand* context() { return InputAt(0); } 1333 LOperand* context() { return InputAt(0); }
1334 LOperand* value() { return InputAt(1); } 1334 LOperand* value() { return InputAt(1); }
1335 int slot_index() { return hydrogen()->slot_index(); } 1335 int slot_index() { return hydrogen()->slot_index(); }
1336 bool needs_is_hole_check() { return hydrogen()->needs_is_hole_check(); }
1336 1337
1337 virtual void PrintDataTo(StringStream* stream); 1338 virtual void PrintDataTo(StringStream* stream);
1338 }; 1339 };
1339 1340
1340 1341
1341 class LPushArgument: public LTemplateInstruction<0, 1, 0> { 1342 class LPushArgument: public LTemplateInstruction<0, 1, 0> {
1342 public: 1343 public:
1343 explicit LPushArgument(LOperand* value) { 1344 explicit LPushArgument(LOperand* value) {
1344 inputs_[0] = value; 1345 inputs_[0] = value;
1345 } 1346 }
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 2376
2376 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2377 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2377 }; 2378 };
2378 2379
2379 #undef DECLARE_HYDROGEN_ACCESSOR 2380 #undef DECLARE_HYDROGEN_ACCESSOR
2380 #undef DECLARE_CONCRETE_INSTRUCTION 2381 #undef DECLARE_CONCRETE_INSTRUCTION
2381 2382
2382 } } // namespace v8::internal 2383 } } // namespace v8::internal
2383 2384
2384 #endif // V8_IA32_LITHIUM_IA32_H_ 2385 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698