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

Side by Side Diff: src/arm/lithium-arm.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/a64/lithium-codegen-a64.cc ('k') | src/arm/lithium-arm.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 2702 matching lines...) Expand 10 before | Expand all | Expand 10 after
2713 public: 2713 public:
2714 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2714 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2715 : LChunkBuilderBase(graph->zone()), 2715 : LChunkBuilderBase(graph->zone()),
2716 chunk_(NULL), 2716 chunk_(NULL),
2717 info_(info), 2717 info_(info),
2718 graph_(graph), 2718 graph_(graph),
2719 status_(UNUSED), 2719 status_(UNUSED),
2720 current_instruction_(NULL), 2720 current_instruction_(NULL),
2721 current_block_(NULL), 2721 current_block_(NULL),
2722 next_block_(NULL), 2722 next_block_(NULL),
2723 allocator_(allocator), 2723 allocator_(allocator) { }
2724 instruction_pending_deoptimization_environment_(NULL),
2725 pending_deoptimization_ast_id_(BailoutId::None()) { }
2726 2724
2727 // Build the sequence for the graph. 2725 // Build the sequence for the graph.
2728 LPlatformChunk* Build(); 2726 LPlatformChunk* Build();
2729 2727
2730 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); 2728 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2731 2729
2732 // Declare methods that deal with the individual node types. 2730 // Declare methods that deal with the individual node types.
2733 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2731 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2734 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2732 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2735 #undef DECLARE_DO 2733 #undef DECLARE_DO
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
2859 HBinaryOperation* instr); 2857 HBinaryOperation* instr);
2860 2858
2861 LPlatformChunk* chunk_; 2859 LPlatformChunk* chunk_;
2862 CompilationInfo* info_; 2860 CompilationInfo* info_;
2863 HGraph* const graph_; 2861 HGraph* const graph_;
2864 Status status_; 2862 Status status_;
2865 HInstruction* current_instruction_; 2863 HInstruction* current_instruction_;
2866 HBasicBlock* current_block_; 2864 HBasicBlock* current_block_;
2867 HBasicBlock* next_block_; 2865 HBasicBlock* next_block_;
2868 LAllocator* allocator_; 2866 LAllocator* allocator_;
2869 LInstruction* instruction_pending_deoptimization_environment_;
2870 BailoutId pending_deoptimization_ast_id_;
2871 2867
2872 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2868 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2873 }; 2869 };
2874 2870
2875 #undef DECLARE_HYDROGEN_ACCESSOR 2871 #undef DECLARE_HYDROGEN_ACCESSOR
2876 #undef DECLARE_CONCRETE_INSTRUCTION 2872 #undef DECLARE_CONCRETE_INSTRUCTION
2877 2873
2878 } } // namespace v8::internal 2874 } } // namespace v8::internal
2879 2875
2880 #endif // V8_ARM_LITHIUM_ARM_H_ 2876 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698