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

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

Issue 10831172: Introduced TypeFeedbackId and BailoutId types. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporated review feedback. Created 8 years, 4 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
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2198 matching lines...) Expand 10 before | Expand all | Expand 10 after
2209 graph_(graph), 2209 graph_(graph),
2210 zone_(graph->zone()), 2210 zone_(graph->zone()),
2211 status_(UNUSED), 2211 status_(UNUSED),
2212 current_instruction_(NULL), 2212 current_instruction_(NULL),
2213 current_block_(NULL), 2213 current_block_(NULL),
2214 next_block_(NULL), 2214 next_block_(NULL),
2215 argument_count_(0), 2215 argument_count_(0),
2216 allocator_(allocator), 2216 allocator_(allocator),
2217 position_(RelocInfo::kNoPosition), 2217 position_(RelocInfo::kNoPosition),
2218 instruction_pending_deoptimization_environment_(NULL), 2218 instruction_pending_deoptimization_environment_(NULL),
2219 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } 2219 pending_deoptimization_ast_id_(BailoutId::None()) { }
2220 2220
2221 // Build the sequence for the graph. 2221 // Build the sequence for the graph.
2222 LPlatformChunk* Build(); 2222 LPlatformChunk* Build();
2223 2223
2224 // Declare methods that deal with the individual node types. 2224 // Declare methods that deal with the individual node types.
2225 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2225 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2226 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2226 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2227 #undef DECLARE_DO 2227 #undef DECLARE_DO
2228 2228
2229 private: 2229 private:
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 HGraph* const graph_; 2340 HGraph* const graph_;
2341 Zone* zone_; 2341 Zone* zone_;
2342 Status status_; 2342 Status status_;
2343 HInstruction* current_instruction_; 2343 HInstruction* current_instruction_;
2344 HBasicBlock* current_block_; 2344 HBasicBlock* current_block_;
2345 HBasicBlock* next_block_; 2345 HBasicBlock* next_block_;
2346 int argument_count_; 2346 int argument_count_;
2347 LAllocator* allocator_; 2347 LAllocator* allocator_;
2348 int position_; 2348 int position_;
2349 LInstruction* instruction_pending_deoptimization_environment_; 2349 LInstruction* instruction_pending_deoptimization_environment_;
2350 int pending_deoptimization_ast_id_; 2350 BailoutId pending_deoptimization_ast_id_;
2351 2351
2352 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2352 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2353 }; 2353 };
2354 2354
2355 #undef DECLARE_HYDROGEN_ACCESSOR 2355 #undef DECLARE_HYDROGEN_ACCESSOR
2356 #undef DECLARE_CONCRETE_INSTRUCTION 2356 #undef DECLARE_CONCRETE_INSTRUCTION
2357 2357
2358 } } // namespace v8::internal 2358 } } // namespace v8::internal
2359 2359
2360 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2360 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698