| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 void set_environment(LEnvironment* env) { UNIMPLEMENTED(); } | 72 void set_environment(LEnvironment* env) { UNIMPLEMENTED(); } |
| 73 | 73 |
| 74 LEnvironment* environment() const { | 74 LEnvironment* environment() const { |
| 75 UNIMPLEMENTED(); | 75 UNIMPLEMENTED(); |
| 76 return NULL; | 76 return NULL; |
| 77 } | 77 } |
| 78 | 78 |
| 79 bool HasEnvironment() const { | 79 bool HasEnvironment() const { |
| 80 UNIMPLEMENTED(); | 80 UNIMPLEMENTED(); |
| 81 return NULL; | 81 return false; |
| 82 } | 82 } |
| 83 | 83 |
| 84 virtual void PrintTo(StringStream* stream) const { UNIMPLEMENTED(); } | 84 virtual void PrintTo(StringStream* stream) const { UNIMPLEMENTED(); } |
| 85 | 85 |
| 86 virtual bool IsControl() const { | 86 virtual bool IsControl() const { |
| 87 UNIMPLEMENTED(); | 87 UNIMPLEMENTED(); |
| 88 return false; | 88 return false; |
| 89 } | 89 } |
| 90 | 90 |
| 91 void MarkAsCall() { UNIMPLEMENTED(); } | 91 void MarkAsCall() { UNIMPLEMENTED(); } |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 } | 206 } |
| 207 void MarkSpilledDoubleRegister(int allocation_index, | 207 void MarkSpilledDoubleRegister(int allocation_index, |
| 208 LOperand* spill_operand) { | 208 LOperand* spill_operand) { |
| 209 UNIMPLEMENTED(); | 209 UNIMPLEMENTED(); |
| 210 } | 210 } |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 | 213 |
| 214 class LChunk: public ZoneObject { | 214 class LChunk: public ZoneObject { |
| 215 public: | 215 public: |
| 216 explicit LChunk(CompilationInfo* info, HGraph* graph) { } | 216 explicit LChunk(HGraph* graph) { } |
| 217 | 217 |
| 218 HGraph* graph() const { | 218 HGraph* graph() const { |
| 219 UNIMPLEMENTED(); | 219 UNIMPLEMENTED(); |
| 220 return NULL; | 220 return NULL; |
| 221 } | 221 } |
| 222 | 222 |
| 223 CompilationInfo* info() const { return NULL; } | |
| 224 | |
| 225 const ZoneList<LPointerMap*>* pointer_maps() const { | 223 const ZoneList<LPointerMap*>* pointer_maps() const { |
| 226 UNIMPLEMENTED(); | 224 UNIMPLEMENTED(); |
| 227 return NULL; | 225 return NULL; |
| 228 } | 226 } |
| 229 | 227 |
| 230 LOperand* GetNextSpillSlot(bool double_slot) { | 228 LOperand* GetNextSpillSlot(bool double_slot) { |
| 231 UNIMPLEMENTED(); | 229 UNIMPLEMENTED(); |
| 232 return NULL; | 230 return NULL; |
| 233 } | 231 } |
| 234 | 232 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 264 return false; | 262 return false; |
| 265 } | 263 } |
| 266 | 264 |
| 267 int NearestGapPos(int index) const { | 265 int NearestGapPos(int index) const { |
| 268 UNIMPLEMENTED(); | 266 UNIMPLEMENTED(); |
| 269 return 0; | 267 return 0; |
| 270 } | 268 } |
| 271 | 269 |
| 272 void MarkEmptyBlocks() { UNIMPLEMENTED(); } | 270 void MarkEmptyBlocks() { UNIMPLEMENTED(); } |
| 273 | 271 |
| 272 CompilationInfo* info() const { |
| 273 UNIMPLEMENTED(); |
| 274 return NULL; |
| 275 } |
| 276 |
| 274 #ifdef DEBUG | 277 #ifdef DEBUG |
| 275 void Verify() { UNIMPLEMENTED(); } | 278 void Verify() { UNIMPLEMENTED(); } |
| 276 #endif | 279 #endif |
| 277 }; | 280 }; |
| 278 | 281 |
| 279 | 282 |
| 280 class LChunkBuilder BASE_EMBEDDED { | 283 class LChunkBuilder BASE_EMBEDDED { |
| 281 public: | 284 public: |
| 282 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) { } | 285 LChunkBuilder(CompilationInfo*&, HGraph* graph, LAllocator* allocator) { } |
| 283 | 286 |
| 284 // Build the sequence for the graph. | 287 // Build the sequence for the graph. |
| 285 LChunk* Build() { | 288 LChunk* Build() { |
| 286 UNIMPLEMENTED(); | 289 UNIMPLEMENTED(); |
| 287 return NULL; | 290 return NULL; |
| 288 }; | 291 }; |
| 289 | 292 |
| 290 // Declare methods that deal with the individual node types. | 293 // Declare methods that deal with the individual node types. |
| 291 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node) { \ | 294 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node) { \ |
| 292 UNIMPLEMENTED(); \ | 295 UNIMPLEMENTED(); \ |
| 293 return NULL; \ | 296 return NULL; \ |
| 294 } | 297 } |
| 295 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 298 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 296 #undef DECLARE_DO | 299 #undef DECLARE_DO |
| 297 | 300 |
| 298 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 301 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 299 }; | 302 }; |
| 300 | 303 |
| 301 | 304 |
| 302 } } // namespace v8::internal | 305 } } // namespace v8::internal |
| 303 | 306 |
| 304 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 307 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |