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

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

Issue 66693002: Do not add values to HGraph in Lithium. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 V(ConstantT) \ 84 V(ConstantT) \
85 V(Context) \ 85 V(Context) \
86 V(DateField) \ 86 V(DateField) \
87 V(DebugBreak) \ 87 V(DebugBreak) \
88 V(DeclareGlobals) \ 88 V(DeclareGlobals) \
89 V(Deoptimize) \ 89 V(Deoptimize) \
90 V(DivI) \ 90 V(DivI) \
91 V(DoubleToI) \ 91 V(DoubleToI) \
92 V(DoubleToSmi) \ 92 V(DoubleToSmi) \
93 V(Drop) \ 93 V(Drop) \
94 V(Dummy) \
94 V(DummyUse) \ 95 V(DummyUse) \
95 V(ElementsKind) \ 96 V(ElementsKind) \
96 V(ForInCacheArray) \ 97 V(ForInCacheArray) \
97 V(ForInPrepareMap) \ 98 V(ForInPrepareMap) \
98 V(FunctionLiteral) \ 99 V(FunctionLiteral) \
99 V(GetCachedArrayIndex) \ 100 V(GetCachedArrayIndex) \
100 V(GlobalObject) \ 101 V(GlobalObject) \
101 V(GlobalReceiver) \ 102 V(GlobalReceiver) \
102 V(Goto) \ 103 V(Goto) \
103 V(HasCachedArrayIndexAndBranch) \ 104 V(HasCachedArrayIndexAndBranch) \
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 void set_gap_instructions_size(int gap_instructions_size) { 415 void set_gap_instructions_size(int gap_instructions_size) {
415 gap_instructions_size_ = gap_instructions_size; 416 gap_instructions_size_ = gap_instructions_size;
416 } 417 }
417 int gap_instructions_size() { return gap_instructions_size_; } 418 int gap_instructions_size() { return gap_instructions_size_; }
418 419
419 private: 420 private:
420 int gap_instructions_size_; 421 int gap_instructions_size_;
421 }; 422 };
422 423
423 424
425 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> {
426 public:
427 explicit LDummy() { }
428 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy")
429 };
430
431
424 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { 432 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> {
425 public: 433 public:
426 explicit LDummyUse(LOperand* value) { 434 explicit LDummyUse(LOperand* value) {
427 inputs_[0] = value; 435 inputs_[0] = value;
428 } 436 }
429 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") 437 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
430 }; 438 };
431 439
432 440
433 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { 441 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> {
(...skipping 2450 matching lines...) Expand 10 before | Expand all | Expand 10 after
2884 2892
2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2893 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2886 }; 2894 };
2887 2895
2888 #undef DECLARE_HYDROGEN_ACCESSOR 2896 #undef DECLARE_HYDROGEN_ACCESSOR
2889 #undef DECLARE_CONCRETE_INSTRUCTION 2897 #undef DECLARE_CONCRETE_INSTRUCTION
2890 2898
2891 } } // namespace v8::internal 2899 } } // namespace v8::internal
2892 2900
2893 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2901 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« src/lithium.cc ('K') | « 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