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

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

Issue 306053011: MIPS: Simplify known successor block lowering. (Closed) Base URL: git@github.com:paul99/v8m-rb.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_
6 #define V8_MIPS_LITHIUM_MIPS_H_ 6 #define V8_MIPS_LITHIUM_MIPS_H_
7 7
8 #include "hydrogen.h" 8 #include "hydrogen.h"
9 #include "lithium-allocator.h" 9 #include "lithium-allocator.h"
10 #include "lithium.h" 10 #include "lithium.h"
(...skipping 2637 matching lines...) Expand 10 before | Expand all | Expand 10 after
2648 current_instruction_(NULL), 2648 current_instruction_(NULL),
2649 current_block_(NULL), 2649 current_block_(NULL),
2650 next_block_(NULL), 2650 next_block_(NULL),
2651 allocator_(allocator) { } 2651 allocator_(allocator) { }
2652 2652
2653 Isolate* isolate() const { return graph_->isolate(); } 2653 Isolate* isolate() const { return graph_->isolate(); }
2654 2654
2655 // Build the sequence for the graph. 2655 // Build the sequence for the graph.
2656 LPlatformChunk* Build(); 2656 LPlatformChunk* Build();
2657 2657
2658 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2659
2660 // Declare methods that deal with the individual node types. 2658 // Declare methods that deal with the individual node types.
2661 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2659 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2662 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2660 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2663 #undef DECLARE_DO 2661 #undef DECLARE_DO
2664 2662
2665 LInstruction* DoMultiplyAdd(HMul* mul, HValue* addend); 2663 LInstruction* DoMultiplyAdd(HMul* mul, HValue* addend);
2666 2664
2667 static bool HasMagicNumberForDivisor(int32_t divisor); 2665 static bool HasMagicNumberForDivisor(int32_t divisor);
2668 2666
2669 LInstruction* DoMathFloor(HUnaryMathOperation* instr); 2667 LInstruction* DoMathFloor(HUnaryMathOperation* instr);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
2799 2797
2800 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2801 }; 2799 };
2802 2800
2803 #undef DECLARE_HYDROGEN_ACCESSOR 2801 #undef DECLARE_HYDROGEN_ACCESSOR
2804 #undef DECLARE_CONCRETE_INSTRUCTION 2802 #undef DECLARE_CONCRETE_INSTRUCTION
2805 2803
2806 } } // namespace v8::internal 2804 } } // namespace v8::internal
2807 2805
2808 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2806 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698