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

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

Issue 201153020: Merged r19834, r19843 into 3.24 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.24
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
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 2492 matching lines...) Expand 10 before | Expand all | Expand 10 after
2503 public: 2503 public:
2504 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2504 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2505 : LChunkBuilderBase(graph->zone()), 2505 : LChunkBuilderBase(graph->zone()),
2506 chunk_(NULL), 2506 chunk_(NULL),
2507 info_(info), 2507 info_(info),
2508 graph_(graph), 2508 graph_(graph),
2509 status_(UNUSED), 2509 status_(UNUSED),
2510 current_instruction_(NULL), 2510 current_instruction_(NULL),
2511 current_block_(NULL), 2511 current_block_(NULL),
2512 next_block_(NULL), 2512 next_block_(NULL),
2513 allocator_(allocator), 2513 allocator_(allocator) { }
2514 instruction_pending_deoptimization_environment_(NULL),
2515 pending_deoptimization_ast_id_(BailoutId::None()) { }
2516 2514
2517 // Build the sequence for the graph. 2515 // Build the sequence for the graph.
2518 LPlatformChunk* Build(); 2516 LPlatformChunk* Build();
2519 2517
2520 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); 2518 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2521 2519
2522 // Declare methods that deal with the individual node types. 2520 // Declare methods that deal with the individual node types.
2523 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2521 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2524 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2522 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2525 #undef DECLARE_DO 2523 #undef DECLARE_DO
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2641 HBinaryOperation* instr); 2639 HBinaryOperation* instr);
2642 2640
2643 LPlatformChunk* chunk_; 2641 LPlatformChunk* chunk_;
2644 CompilationInfo* info_; 2642 CompilationInfo* info_;
2645 HGraph* const graph_; 2643 HGraph* const graph_;
2646 Status status_; 2644 Status status_;
2647 HInstruction* current_instruction_; 2645 HInstruction* current_instruction_;
2648 HBasicBlock* current_block_; 2646 HBasicBlock* current_block_;
2649 HBasicBlock* next_block_; 2647 HBasicBlock* next_block_;
2650 LAllocator* allocator_; 2648 LAllocator* allocator_;
2651 LInstruction* instruction_pending_deoptimization_environment_;
2652 BailoutId pending_deoptimization_ast_id_;
2653 2649
2654 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2650 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2655 }; 2651 };
2656 2652
2657 #undef DECLARE_HYDROGEN_ACCESSOR 2653 #undef DECLARE_HYDROGEN_ACCESSOR
2658 #undef DECLARE_CONCRETE_INSTRUCTION 2654 #undef DECLARE_CONCRETE_INSTRUCTION
2659 2655
2660 } } // namespace v8::int 2656 } } // namespace v8::int
2661 2657
2662 #endif // V8_X64_LITHIUM_X64_H_ 2658 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698