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

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

Issue 19528003: Unify SoftDeoptimize and Deoptimize hydrogen instructions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 7 years, 5 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 | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 explicit LDummyUse(LOperand* value) { 424 explicit LDummyUse(LOperand* value) {
425 inputs_[0] = value; 425 inputs_[0] = value;
426 } 426 }
427 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") 427 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
428 }; 428 };
429 429
430 430
431 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { 431 class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
432 public: 432 public:
433 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") 433 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
434 DECLARE_HYDROGEN_ACCESSOR(Deoptimize)
434 }; 435 };
435 436
436 437
437 class LLabel: public LGap { 438 class LLabel: public LGap {
438 public: 439 public:
439 explicit LLabel(HBasicBlock* block) 440 explicit LLabel(HBasicBlock* block)
440 : LGap(block), replacement_(NULL) { } 441 : LGap(block), replacement_(NULL) { }
441 442
442 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } 443 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
443 DECLARE_CONCRETE_INSTRUCTION(Label, "label") 444 DECLARE_CONCRETE_INSTRUCTION(Label, "label")
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 2797
2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2798 }; 2799 };
2799 2800
2800 #undef DECLARE_HYDROGEN_ACCESSOR 2801 #undef DECLARE_HYDROGEN_ACCESSOR
2801 #undef DECLARE_CONCRETE_INSTRUCTION 2802 #undef DECLARE_CONCRETE_INSTRUCTION
2802 2803
2803 } } // namespace v8::internal 2804 } } // namespace v8::internal
2804 2805
2805 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2806 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698