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

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

Issue 11377135: Don't emit code for instructions that are hiding behind an HSoftDeoptimize (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 7 years, 11 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/arm/lithium-arm.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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 V(CmpT) \ 86 V(CmpT) \
87 V(ConstantD) \ 87 V(ConstantD) \
88 V(ConstantI) \ 88 V(ConstantI) \
89 V(ConstantT) \ 89 V(ConstantT) \
90 V(Context) \ 90 V(Context) \
91 V(DeclareGlobals) \ 91 V(DeclareGlobals) \
92 V(DeleteProperty) \ 92 V(DeleteProperty) \
93 V(Deoptimize) \ 93 V(Deoptimize) \
94 V(DivI) \ 94 V(DivI) \
95 V(DoubleToI) \ 95 V(DoubleToI) \
96 V(DummyUse) \
96 V(ElementsKind) \ 97 V(ElementsKind) \
97 V(FastLiteral) \ 98 V(FastLiteral) \
98 V(FixedArrayBaseLength) \ 99 V(FixedArrayBaseLength) \
99 V(FunctionLiteral) \ 100 V(FunctionLiteral) \
100 V(GetCachedArrayIndex) \ 101 V(GetCachedArrayIndex) \
101 V(GlobalObject) \ 102 V(GlobalObject) \
102 V(GlobalReceiver) \ 103 V(GlobalReceiver) \
103 V(Goto) \ 104 V(Goto) \
104 V(HasCachedArrayIndexAndBranch) \ 105 V(HasCachedArrayIndexAndBranch) \
105 V(HasInstanceTypeAndBranch) \ 106 V(HasInstanceTypeAndBranch) \
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 void set_gap_instructions_size(int gap_instructions_size) { 397 void set_gap_instructions_size(int gap_instructions_size) {
397 gap_instructions_size_ = gap_instructions_size; 398 gap_instructions_size_ = gap_instructions_size;
398 } 399 }
399 int gap_instructions_size() { return gap_instructions_size_; } 400 int gap_instructions_size() { return gap_instructions_size_; }
400 401
401 private: 402 private:
402 int gap_instructions_size_; 403 int gap_instructions_size_;
403 }; 404 };
404 405
405 406
407 class LDummyUse: public LTemplateInstruction<1, 1, 0> {
408 public:
409 explicit LDummyUse(LOperand* value) {
410 inputs_[0] = value;
411 }
412 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
413 };
414
415
406 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { 416 class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
407 public: 417 public:
408 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") 418 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
409 }; 419 };
410 420
411 421
412 class LLabel: public LGap { 422 class LLabel: public LGap {
413 public: 423 public:
414 explicit LLabel(HBasicBlock* block) 424 explicit LLabel(HBasicBlock* block)
415 : LGap(block), replacement_(NULL) { } 425 : LGap(block), replacement_(NULL) { }
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2619 2629
2620 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2630 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2621 }; 2631 };
2622 2632
2623 #undef DECLARE_HYDROGEN_ACCESSOR 2633 #undef DECLARE_HYDROGEN_ACCESSOR
2624 #undef DECLARE_CONCRETE_INSTRUCTION 2634 #undef DECLARE_CONCRETE_INSTRUCTION
2625 2635
2626 } } // namespace v8::internal 2636 } } // namespace v8::internal
2627 2637
2628 #endif // V8_ARM_LITHIUM_ARM_H_ 2638 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698