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

Side by Side Diff: src/hydrogen-instructions.h

Issue 8688008: Fix assertion broken by recent revision. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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 4335 matching lines...) Expand 10 before | Expand all | Expand 10 after
4346 DECLARE_CONCRETE_INSTRUCTION(Typeof) 4346 DECLARE_CONCRETE_INSTRUCTION(Typeof)
4347 }; 4347 };
4348 4348
4349 4349
4350 class HToFastProperties: public HUnaryOperation { 4350 class HToFastProperties: public HUnaryOperation {
4351 public: 4351 public:
4352 explicit HToFastProperties(HValue* value) : HUnaryOperation(value) { 4352 explicit HToFastProperties(HValue* value) : HUnaryOperation(value) {
4353 // This instruction is not marked as having side effects, but 4353 // This instruction is not marked as having side effects, but
4354 // changes the map of the input operand. Use it only when creating 4354 // changes the map of the input operand. Use it only when creating
4355 // object literals. 4355 // object literals.
4356 ASSERT(value->IsObjectLiteralGeneric()); 4356 ASSERT(value->IsObjectLiteralGeneric() || value->IsObjectLiteralFast());
4357 set_representation(Representation::Tagged()); 4357 set_representation(Representation::Tagged());
4358 } 4358 }
4359 4359
4360 virtual Representation RequiredInputRepresentation(int index) { 4360 virtual Representation RequiredInputRepresentation(int index) {
4361 return Representation::Tagged(); 4361 return Representation::Tagged();
4362 } 4362 }
4363 4363
4364 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties) 4364 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties)
4365 }; 4365 };
4366 4366
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
4426 4426
4427 DECLARE_CONCRETE_INSTRUCTION(In) 4427 DECLARE_CONCRETE_INSTRUCTION(In)
4428 }; 4428 };
4429 4429
4430 #undef DECLARE_INSTRUCTION 4430 #undef DECLARE_INSTRUCTION
4431 #undef DECLARE_CONCRETE_INSTRUCTION 4431 #undef DECLARE_CONCRETE_INSTRUCTION
4432 4432
4433 } } // namespace v8::internal 4433 } } // namespace v8::internal
4434 4434
4435 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4435 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
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