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

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

Issue 196943002: Fix HIsSmiAndBranch::KnownSuccessorBlock() by deleting it (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | src/hydrogen-instructions.cc » ('j') | 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 4362 matching lines...) Expand 10 before | Expand all | Expand 10 after
4373 DECLARE_INSTRUCTION_FACTORY_P1(HIsSmiAndBranch, HValue*); 4373 DECLARE_INSTRUCTION_FACTORY_P1(HIsSmiAndBranch, HValue*);
4374 DECLARE_INSTRUCTION_FACTORY_P3(HIsSmiAndBranch, HValue*, 4374 DECLARE_INSTRUCTION_FACTORY_P3(HIsSmiAndBranch, HValue*,
4375 HBasicBlock*, HBasicBlock*); 4375 HBasicBlock*, HBasicBlock*);
4376 4376
4377 DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch) 4377 DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch)
4378 4378
4379 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { 4379 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
4380 return Representation::Tagged(); 4380 return Representation::Tagged();
4381 } 4381 }
4382 4382
4383 virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
4384
4385 protected: 4383 protected:
4386 virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; } 4384 virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
4387 virtual int RedefinedOperandIndex() { return 0; } 4385 virtual int RedefinedOperandIndex() { return 0; }
4388 4386
4389 private: 4387 private:
4390 HIsSmiAndBranch(HValue* value, 4388 HIsSmiAndBranch(HValue* value,
4391 HBasicBlock* true_target = NULL, 4389 HBasicBlock* true_target = NULL,
4392 HBasicBlock* false_target = NULL) 4390 HBasicBlock* false_target = NULL)
4393 : HUnaryControlInstruction(value, true_target, false_target) {} 4391 : HUnaryControlInstruction(value, true_target, false_target) {}
4394 }; 4392 };
(...skipping 3122 matching lines...) Expand 10 before | Expand all | Expand 10 after
7517 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7515 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7518 }; 7516 };
7519 7517
7520 7518
7521 #undef DECLARE_INSTRUCTION 7519 #undef DECLARE_INSTRUCTION
7522 #undef DECLARE_CONCRETE_INSTRUCTION 7520 #undef DECLARE_CONCRETE_INSTRUCTION
7523 7521
7524 } } // namespace v8::internal 7522 } } // namespace v8::internal
7525 7523
7526 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7524 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698