OLD | NEW |
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 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2243 graph_(graph), | 2243 graph_(graph), |
2244 zone_(graph->zone()), | 2244 zone_(graph->zone()), |
2245 status_(UNUSED), | 2245 status_(UNUSED), |
2246 current_instruction_(NULL), | 2246 current_instruction_(NULL), |
2247 current_block_(NULL), | 2247 current_block_(NULL), |
2248 next_block_(NULL), | 2248 next_block_(NULL), |
2249 argument_count_(0), | 2249 argument_count_(0), |
2250 allocator_(allocator), | 2250 allocator_(allocator), |
2251 position_(RelocInfo::kNoPosition), | 2251 position_(RelocInfo::kNoPosition), |
2252 instruction_pending_deoptimization_environment_(NULL), | 2252 instruction_pending_deoptimization_environment_(NULL), |
2253 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } | 2253 pending_deoptimization_ast_id_(BailoutId::None()) { } |
2254 | 2254 |
2255 // Build the sequence for the graph. | 2255 // Build the sequence for the graph. |
2256 LPlatformChunk* Build(); | 2256 LPlatformChunk* Build(); |
2257 | 2257 |
2258 // Declare methods that deal with the individual node types. | 2258 // Declare methods that deal with the individual node types. |
2259 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2259 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2260 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2260 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2261 #undef DECLARE_DO | 2261 #undef DECLARE_DO |
2262 | 2262 |
2263 static bool HasMagicNumberForDivisor(int32_t divisor); | 2263 static bool HasMagicNumberForDivisor(int32_t divisor); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2377 HGraph* const graph_; | 2377 HGraph* const graph_; |
2378 Zone* zone_; | 2378 Zone* zone_; |
2379 Status status_; | 2379 Status status_; |
2380 HInstruction* current_instruction_; | 2380 HInstruction* current_instruction_; |
2381 HBasicBlock* current_block_; | 2381 HBasicBlock* current_block_; |
2382 HBasicBlock* next_block_; | 2382 HBasicBlock* next_block_; |
2383 int argument_count_; | 2383 int argument_count_; |
2384 LAllocator* allocator_; | 2384 LAllocator* allocator_; |
2385 int position_; | 2385 int position_; |
2386 LInstruction* instruction_pending_deoptimization_environment_; | 2386 LInstruction* instruction_pending_deoptimization_environment_; |
2387 int pending_deoptimization_ast_id_; | 2387 BailoutId pending_deoptimization_ast_id_; |
2388 | 2388 |
2389 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2389 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2390 }; | 2390 }; |
2391 | 2391 |
2392 #undef DECLARE_HYDROGEN_ACCESSOR | 2392 #undef DECLARE_HYDROGEN_ACCESSOR |
2393 #undef DECLARE_CONCRETE_INSTRUCTION | 2393 #undef DECLARE_CONCRETE_INSTRUCTION |
2394 | 2394 |
2395 } } // namespace v8::internal | 2395 } } // namespace v8::internal |
2396 | 2396 |
2397 #endif // V8_ARM_LITHIUM_ARM_H_ | 2397 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |