Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: src/mips/lithium-mips.h

Issue 10700115: Break Crankshaft into phases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 2177 matching lines...) Expand 10 before | Expand all | Expand 10 after
2188 2188
2189 2189
2190 class LChunkBuilder; 2190 class LChunkBuilder;
2191 class LChunk: public LChunkBase { 2191 class LChunk: public LChunkBase {
2192 public: 2192 public:
2193 explicit LChunk(CompilationInfo* info, HGraph* graph) 2193 explicit LChunk(CompilationInfo* info, HGraph* graph)
2194 : LChunkBase(info, graph) { } 2194 : LChunkBase(info, graph) { }
2195 2195
2196 int GetNextSpillIndex(bool is_double); 2196 int GetNextSpillIndex(bool is_double);
2197 LOperand* GetNextSpillSlot(bool is_double); 2197 LOperand* GetNextSpillSlot(bool is_double);
2198
2199 static LChunk* cast(LChunkBase* chunk_base) {
2200 return reinterpret_cast<LChunk*>(chunk_base);
danno 2012/07/12 11:14:54 I am not sure if this (and others in ia32/x64/ARM)
sanjoy 2012/07/12 11:34:18 Done.
2201 }
2198 }; 2202 };
2199 2203
2200 2204
2201 class LChunkBuilder BASE_EMBEDDED { 2205 class LChunkBuilder BASE_EMBEDDED {
2202 public: 2206 public:
2203 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2207 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2204 : chunk_(NULL), 2208 : chunk_(NULL),
2205 info_(info), 2209 info_(info),
2206 graph_(graph), 2210 graph_(graph),
2207 zone_(graph->zone()), 2211 zone_(graph->zone()),
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 2352
2349 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2353 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2350 }; 2354 };
2351 2355
2352 #undef DECLARE_HYDROGEN_ACCESSOR 2356 #undef DECLARE_HYDROGEN_ACCESSOR
2353 #undef DECLARE_CONCRETE_INSTRUCTION 2357 #undef DECLARE_CONCRETE_INSTRUCTION
2354 2358
2355 } } // namespace v8::internal 2359 } } // namespace v8::internal
2356 2360
2357 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2361 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698