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 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2216 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } | 2216 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } |
2217 | 2217 |
2218 // Build the sequence for the graph. | 2218 // Build the sequence for the graph. |
2219 LChunk* Build(); | 2219 LChunk* Build(); |
2220 | 2220 |
2221 // Declare methods that deal with the individual node types. | 2221 // Declare methods that deal with the individual node types. |
2222 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2222 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2223 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2223 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2224 #undef DECLARE_DO | 2224 #undef DECLARE_DO |
2225 | 2225 |
| 2226 static bool SupportsMathFloorOfDiv() { return false; } |
| 2227 static bool HasMagicNumberForDivisor(int32_t divisor) { return false; } |
| 2228 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val) { |
| 2229 return NULL; |
| 2230 } |
| 2231 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val) { |
| 2232 return NULL; |
| 2233 } |
| 2234 |
2226 private: | 2235 private: |
2227 enum Status { | 2236 enum Status { |
2228 UNUSED, | 2237 UNUSED, |
2229 BUILDING, | 2238 BUILDING, |
2230 DONE, | 2239 DONE, |
2231 ABORTED | 2240 ABORTED |
2232 }; | 2241 }; |
2233 | 2242 |
2234 LChunk* chunk() const { return chunk_; } | 2243 LChunk* chunk() const { return chunk_; } |
2235 CompilationInfo* info() const { return info_; } | 2244 CompilationInfo* info() const { return info_; } |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2353 | 2362 |
2354 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2363 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2355 }; | 2364 }; |
2356 | 2365 |
2357 #undef DECLARE_HYDROGEN_ACCESSOR | 2366 #undef DECLARE_HYDROGEN_ACCESSOR |
2358 #undef DECLARE_CONCRETE_INSTRUCTION | 2367 #undef DECLARE_CONCRETE_INSTRUCTION |
2359 | 2368 |
2360 } } // namespace v8::internal | 2369 } } // namespace v8::internal |
2361 | 2370 |
2362 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2371 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |