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 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2357 graph_(graph), | 2357 graph_(graph), |
2358 zone_(graph->zone()), | 2358 zone_(graph->zone()), |
2359 status_(UNUSED), | 2359 status_(UNUSED), |
2360 current_instruction_(NULL), | 2360 current_instruction_(NULL), |
2361 current_block_(NULL), | 2361 current_block_(NULL), |
2362 next_block_(NULL), | 2362 next_block_(NULL), |
2363 argument_count_(0), | 2363 argument_count_(0), |
2364 allocator_(allocator), | 2364 allocator_(allocator), |
2365 position_(RelocInfo::kNoPosition), | 2365 position_(RelocInfo::kNoPosition), |
2366 instruction_pending_deoptimization_environment_(NULL), | 2366 instruction_pending_deoptimization_environment_(NULL), |
2367 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } | 2367 pending_deoptimization_ast_id_(BailoutId::None()) { } |
2368 | 2368 |
2369 // Build the sequence for the graph. | 2369 // Build the sequence for the graph. |
2370 LPlatformChunk* Build(); | 2370 LPlatformChunk* Build(); |
2371 | 2371 |
2372 // Declare methods that deal with the individual node types. | 2372 // Declare methods that deal with the individual node types. |
2373 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2373 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2374 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2374 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2375 #undef DECLARE_DO | 2375 #undef DECLARE_DO |
2376 | 2376 |
2377 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val); | 2377 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2494 HGraph* const graph_; | 2494 HGraph* const graph_; |
2495 Zone* zone_; | 2495 Zone* zone_; |
2496 Status status_; | 2496 Status status_; |
2497 HInstruction* current_instruction_; | 2497 HInstruction* current_instruction_; |
2498 HBasicBlock* current_block_; | 2498 HBasicBlock* current_block_; |
2499 HBasicBlock* next_block_; | 2499 HBasicBlock* next_block_; |
2500 int argument_count_; | 2500 int argument_count_; |
2501 LAllocator* allocator_; | 2501 LAllocator* allocator_; |
2502 int position_; | 2502 int position_; |
2503 LInstruction* instruction_pending_deoptimization_environment_; | 2503 LInstruction* instruction_pending_deoptimization_environment_; |
2504 int pending_deoptimization_ast_id_; | 2504 BailoutId pending_deoptimization_ast_id_; |
2505 | 2505 |
2506 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2506 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2507 }; | 2507 }; |
2508 | 2508 |
2509 #undef DECLARE_HYDROGEN_ACCESSOR | 2509 #undef DECLARE_HYDROGEN_ACCESSOR |
2510 #undef DECLARE_CONCRETE_INSTRUCTION | 2510 #undef DECLARE_CONCRETE_INSTRUCTION |
2511 | 2511 |
2512 } } // namespace v8::internal | 2512 } } // namespace v8::internal |
2513 | 2513 |
2514 #endif // V8_IA32_LITHIUM_IA32_H_ | 2514 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |