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

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

Issue 164033002: MIPS: Fix r19360 "Improve positions tracking inside the HGraphBuilder." (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 6 years, 10 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 // 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 2536 matching lines...) Expand 10 before | Expand all | Expand 10 after
2547 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2547 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2548 : LChunkBuilderBase(graph->zone()), 2548 : LChunkBuilderBase(graph->zone()),
2549 chunk_(NULL), 2549 chunk_(NULL),
2550 info_(info), 2550 info_(info),
2551 graph_(graph), 2551 graph_(graph),
2552 status_(UNUSED), 2552 status_(UNUSED),
2553 current_instruction_(NULL), 2553 current_instruction_(NULL),
2554 current_block_(NULL), 2554 current_block_(NULL),
2555 next_block_(NULL), 2555 next_block_(NULL),
2556 allocator_(allocator), 2556 allocator_(allocator),
2557 position_(RelocInfo::kNoPosition),
2558 instruction_pending_deoptimization_environment_(NULL), 2557 instruction_pending_deoptimization_environment_(NULL),
2559 pending_deoptimization_ast_id_(BailoutId::None()) { } 2558 pending_deoptimization_ast_id_(BailoutId::None()) { }
2560 2559
2561 // Build the sequence for the graph. 2560 // Build the sequence for the graph.
2562 LPlatformChunk* Build(); 2561 LPlatformChunk* Build();
2563 2562
2564 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); 2563 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2565 2564
2566 // Declare methods that deal with the individual node types. 2565 // Declare methods that deal with the individual node types.
2567 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2566 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2683 HBinaryOperation* instr); 2682 HBinaryOperation* instr);
2684 2683
2685 LPlatformChunk* chunk_; 2684 LPlatformChunk* chunk_;
2686 CompilationInfo* info_; 2685 CompilationInfo* info_;
2687 HGraph* const graph_; 2686 HGraph* const graph_;
2688 Status status_; 2687 Status status_;
2689 HInstruction* current_instruction_; 2688 HInstruction* current_instruction_;
2690 HBasicBlock* current_block_; 2689 HBasicBlock* current_block_;
2691 HBasicBlock* next_block_; 2690 HBasicBlock* next_block_;
2692 LAllocator* allocator_; 2691 LAllocator* allocator_;
2693 int position_;
2694 LInstruction* instruction_pending_deoptimization_environment_; 2692 LInstruction* instruction_pending_deoptimization_environment_;
2695 BailoutId pending_deoptimization_ast_id_; 2693 BailoutId pending_deoptimization_ast_id_;
2696 2694
2697 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2695 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2698 }; 2696 };
2699 2697
2700 #undef DECLARE_HYDROGEN_ACCESSOR 2698 #undef DECLARE_HYDROGEN_ACCESSOR
2701 #undef DECLARE_CONCRETE_INSTRUCTION 2699 #undef DECLARE_CONCRETE_INSTRUCTION
2702 2700
2703 } } // namespace v8::internal 2701 } } // namespace v8::internal
2704 2702
2705 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2703 #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