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

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

Issue 194703008: Fix lazy deopt after tagged binary ops (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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 2649 matching lines...) Expand 10 before | Expand all | Expand 10 after
2660 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2660 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2661 : LChunkBuilderBase(graph->zone()), 2661 : LChunkBuilderBase(graph->zone()),
2662 chunk_(NULL), 2662 chunk_(NULL),
2663 info_(info), 2663 info_(info),
2664 graph_(graph), 2664 graph_(graph),
2665 status_(UNUSED), 2665 status_(UNUSED),
2666 current_instruction_(NULL), 2666 current_instruction_(NULL),
2667 current_block_(NULL), 2667 current_block_(NULL),
2668 next_block_(NULL), 2668 next_block_(NULL),
2669 allocator_(allocator), 2669 allocator_(allocator),
2670 instruction_pending_deoptimization_environment_(NULL), 2670 instruction_pending_deoptimization_environment_(NULL) { }
2671 pending_deoptimization_ast_id_(BailoutId::None()) { }
2672 2671
2673 // Build the sequence for the graph. 2672 // Build the sequence for the graph.
2674 LPlatformChunk* Build(); 2673 LPlatformChunk* Build();
2675 2674
2676 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); 2675 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2677 2676
2678 // Declare methods that deal with the individual node types. 2677 // Declare methods that deal with the individual node types.
2679 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2678 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2680 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2679 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2681 #undef DECLARE_DO 2680 #undef DECLARE_DO
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2807 2806
2808 LPlatformChunk* chunk_; 2807 LPlatformChunk* chunk_;
2809 CompilationInfo* info_; 2808 CompilationInfo* info_;
2810 HGraph* const graph_; 2809 HGraph* const graph_;
2811 Status status_; 2810 Status status_;
2812 HInstruction* current_instruction_; 2811 HInstruction* current_instruction_;
2813 HBasicBlock* current_block_; 2812 HBasicBlock* current_block_;
2814 HBasicBlock* next_block_; 2813 HBasicBlock* next_block_;
2815 LAllocator* allocator_; 2814 LAllocator* allocator_;
2816 LInstruction* instruction_pending_deoptimization_environment_; 2815 LInstruction* instruction_pending_deoptimization_environment_;
2817 BailoutId pending_deoptimization_ast_id_;
2818 2816
2819 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2817 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2820 }; 2818 };
2821 2819
2822 #undef DECLARE_HYDROGEN_ACCESSOR 2820 #undef DECLARE_HYDROGEN_ACCESSOR
2823 #undef DECLARE_CONCRETE_INSTRUCTION 2821 #undef DECLARE_CONCRETE_INSTRUCTION
2824 2822
2825 } } // namespace v8::int 2823 } } // namespace v8::int
2826 2824
2827 #endif // V8_X64_LITHIUM_X64_H_ 2825 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698