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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 explicit LDummyUse(LOperand* value) { 417 explicit LDummyUse(LOperand* value) {
418 inputs_[0] = value; 418 inputs_[0] = value;
419 } 419 }
420 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") 420 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
421 }; 421 };
422 422
423 423
424 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { 424 class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
425 public: 425 public:
426 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") 426 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
427 DECLARE_HYDROGEN_ACCESSOR(Deoptimize)
427 }; 428 };
428 429
429 430
430 class LLabel: public LGap { 431 class LLabel: public LGap {
431 public: 432 public:
432 explicit LLabel(HBasicBlock* block) 433 explicit LLabel(HBasicBlock* block)
433 : LGap(block), replacement_(NULL) { } 434 : LGap(block), replacement_(NULL) { }
434 435
435 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } 436 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
436 DECLARE_CONCRETE_INSTRUCTION(Label, "label") 437 DECLARE_CONCRETE_INSTRUCTION(Label, "label")
(...skipping 2517 matching lines...) Expand 10 before | Expand all | Expand 10 after
2954 2955
2955 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2956 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2956 }; 2957 };
2957 2958
2958 #undef DECLARE_HYDROGEN_ACCESSOR 2959 #undef DECLARE_HYDROGEN_ACCESSOR
2959 #undef DECLARE_CONCRETE_INSTRUCTION 2960 #undef DECLARE_CONCRETE_INSTRUCTION
2960 2961
2961 } } // namespace v8::internal 2962 } } // namespace v8::internal
2962 2963
2963 #endif // V8_IA32_LITHIUM_IA32_H_ 2964 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698