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

Side by Side Diff: src/ia32/lithium-ia32.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 | « 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 V(CmpConstantEqAndBranch) \ 80 V(CmpConstantEqAndBranch) \
81 V(ConstantD) \ 81 V(ConstantD) \
82 V(ConstantI) \ 82 V(ConstantI) \
83 V(ConstantT) \ 83 V(ConstantT) \
84 V(Context) \ 84 V(Context) \
85 V(DeclareGlobals) \ 85 V(DeclareGlobals) \
86 V(DeleteProperty) \ 86 V(DeleteProperty) \
87 V(Deoptimize) \ 87 V(Deoptimize) \
88 V(DivI) \ 88 V(DivI) \
89 V(DoubleToI) \ 89 V(DoubleToI) \
90 V(DummyUse) \
90 V(ElementsKind) \ 91 V(ElementsKind) \
91 V(FastLiteral) \ 92 V(FastLiteral) \
92 V(FixedArrayBaseLength) \ 93 V(FixedArrayBaseLength) \
93 V(FunctionLiteral) \ 94 V(FunctionLiteral) \
94 V(GetCachedArrayIndex) \ 95 V(GetCachedArrayIndex) \
95 V(GlobalObject) \ 96 V(GlobalObject) \
96 V(GlobalReceiver) \ 97 V(GlobalReceiver) \
97 V(Goto) \ 98 V(Goto) \
98 V(HasCachedArrayIndexAndBranch) \ 99 V(HasCachedArrayIndexAndBranch) \
99 V(HasInstanceTypeAndBranch) \ 100 V(HasInstanceTypeAndBranch) \
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 int block_id_; 381 int block_id_;
381 }; 382 };
382 383
383 384
384 class LLazyBailout: public LTemplateInstruction<0, 0, 0> { 385 class LLazyBailout: public LTemplateInstruction<0, 0, 0> {
385 public: 386 public:
386 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") 387 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout")
387 }; 388 };
388 389
389 390
391 class LDummyUse: public LTemplateInstruction<1, 1, 0> {
392 public:
393 explicit LDummyUse(LOperand* value) {
394 inputs_[0] = value;
395 }
396 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
397 };
398
399
390 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { 400 class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
391 public: 401 public:
392 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") 402 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
393 }; 403 };
394 404
395 405
396 class LLabel: public LGap { 406 class LLabel: public LGap {
397 public: 407 public:
398 explicit LLabel(HBasicBlock* block) 408 explicit LLabel(HBasicBlock* block)
399 : LGap(block), replacement_(NULL) { } 409 : LGap(block), replacement_(NULL) { }
(...skipping 2318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2718 2728
2719 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2729 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2720 }; 2730 };
2721 2731
2722 #undef DECLARE_HYDROGEN_ACCESSOR 2732 #undef DECLARE_HYDROGEN_ACCESSOR
2723 #undef DECLARE_CONCRETE_INSTRUCTION 2733 #undef DECLARE_CONCRETE_INSTRUCTION
2724 2734
2725 } } // namespace v8::internal 2735 } } // namespace v8::internal
2726 2736
2727 #endif // V8_IA32_LITHIUM_IA32_H_ 2737 #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