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

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

Issue 194703008: Fix lazy deopt after tagged binary ops (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comment Created 6 years, 9 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/mips/lithium-codegen-mips.cc ('k') | 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 // 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 2624 matching lines...) Expand 10 before | Expand all | Expand 10 after
2635 public: 2635 public:
2636 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2636 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2637 : LChunkBuilderBase(graph->zone()), 2637 : LChunkBuilderBase(graph->zone()),
2638 chunk_(NULL), 2638 chunk_(NULL),
2639 info_(info), 2639 info_(info),
2640 graph_(graph), 2640 graph_(graph),
2641 status_(UNUSED), 2641 status_(UNUSED),
2642 current_instruction_(NULL), 2642 current_instruction_(NULL),
2643 current_block_(NULL), 2643 current_block_(NULL),
2644 next_block_(NULL), 2644 next_block_(NULL),
2645 allocator_(allocator), 2645 allocator_(allocator) { }
2646 instruction_pending_deoptimization_environment_(NULL),
2647 pending_deoptimization_ast_id_(BailoutId::None()) { }
2648 2646
2649 // Build the sequence for the graph. 2647 // Build the sequence for the graph.
2650 LPlatformChunk* Build(); 2648 LPlatformChunk* Build();
2651 2649
2652 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); 2650 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2653 2651
2654 // Declare methods that deal with the individual node types. 2652 // Declare methods that deal with the individual node types.
2655 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2653 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2656 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2654 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2657 #undef DECLARE_DO 2655 #undef DECLARE_DO
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2777 HBinaryOperation* instr); 2775 HBinaryOperation* instr);
2778 2776
2779 LPlatformChunk* chunk_; 2777 LPlatformChunk* chunk_;
2780 CompilationInfo* info_; 2778 CompilationInfo* info_;
2781 HGraph* const graph_; 2779 HGraph* const graph_;
2782 Status status_; 2780 Status status_;
2783 HInstruction* current_instruction_; 2781 HInstruction* current_instruction_;
2784 HBasicBlock* current_block_; 2782 HBasicBlock* current_block_;
2785 HBasicBlock* next_block_; 2783 HBasicBlock* next_block_;
2786 LAllocator* allocator_; 2784 LAllocator* allocator_;
2787 LInstruction* instruction_pending_deoptimization_environment_;
2788 BailoutId pending_deoptimization_ast_id_;
2789 2785
2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2786 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2791 }; 2787 };
2792 2788
2793 #undef DECLARE_HYDROGEN_ACCESSOR 2789 #undef DECLARE_HYDROGEN_ACCESSOR
2794 #undef DECLARE_CONCRETE_INSTRUCTION 2790 #undef DECLARE_CONCRETE_INSTRUCTION
2795 2791
2796 } } // namespace v8::internal 2792 } } // namespace v8::internal
2797 2793
2798 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2794 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « 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