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 2186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2197 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } | 2197 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } |
2198 | 2198 |
2199 // Build the sequence for the graph. | 2199 // Build the sequence for the graph. |
2200 LChunk* Build(); | 2200 LChunk* Build(); |
2201 | 2201 |
2202 // Declare methods that deal with the individual node types. | 2202 // Declare methods that deal with the individual node types. |
2203 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2203 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2204 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2204 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2205 #undef DECLARE_DO | 2205 #undef DECLARE_DO |
2206 | 2206 |
| 2207 static bool SupportsMathFloorOfDiv() { return false; } |
| 2208 static bool HasMagicNumberForDivisor(int32_t divisor) { return false; } |
| 2209 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val) { |
| 2210 return NULL; |
| 2211 } |
| 2212 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val) { |
| 2213 return NULL; |
| 2214 } |
| 2215 |
2207 private: | 2216 private: |
2208 enum Status { | 2217 enum Status { |
2209 UNUSED, | 2218 UNUSED, |
2210 BUILDING, | 2219 BUILDING, |
2211 DONE, | 2220 DONE, |
2212 ABORTED | 2221 ABORTED |
2213 }; | 2222 }; |
2214 | 2223 |
2215 LChunk* chunk() const { return chunk_; } | 2224 LChunk* chunk() const { return chunk_; } |
2216 CompilationInfo* info() const { return info_; } | 2225 CompilationInfo* info() const { return info_; } |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2337 | 2346 |
2338 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2347 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2339 }; | 2348 }; |
2340 | 2349 |
2341 #undef DECLARE_HYDROGEN_ACCESSOR | 2350 #undef DECLARE_HYDROGEN_ACCESSOR |
2342 #undef DECLARE_CONCRETE_INSTRUCTION | 2351 #undef DECLARE_CONCRETE_INSTRUCTION |
2343 | 2352 |
2344 } } // namespace v8::int | 2353 } } // namespace v8::int |
2345 | 2354 |
2346 #endif // V8_X64_LITHIUM_X64_H_ | 2355 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |