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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 2186 matching lines...) Expand 10 before | Expand all | Expand 10 after
2197 graph_(graph), 2197 graph_(graph),
2198 zone_(graph->zone()), 2198 zone_(graph->zone()),
2199 status_(UNUSED), 2199 status_(UNUSED),
2200 current_instruction_(NULL), 2200 current_instruction_(NULL),
2201 current_block_(NULL), 2201 current_block_(NULL),
2202 next_block_(NULL), 2202 next_block_(NULL),
2203 argument_count_(0), 2203 argument_count_(0),
2204 allocator_(allocator), 2204 allocator_(allocator),
2205 position_(RelocInfo::kNoPosition), 2205 position_(RelocInfo::kNoPosition),
2206 instruction_pending_deoptimization_environment_(NULL), 2206 instruction_pending_deoptimization_environment_(NULL),
2207 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } 2207 pending_deoptimization_ast_id_(BailoutId::None()) { }
2208 2208
2209 // Build the sequence for the graph. 2209 // Build the sequence for the graph.
2210 LPlatformChunk* Build(); 2210 LPlatformChunk* Build();
2211 2211
2212 // Declare methods that deal with the individual node types. 2212 // Declare methods that deal with the individual node types.
2213 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2213 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2214 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2214 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2215 #undef DECLARE_DO 2215 #undef DECLARE_DO
2216 2216
2217 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val); 2217 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val);
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
2334 HGraph* const graph_; 2334 HGraph* const graph_;
2335 Zone* zone_; 2335 Zone* zone_;
2336 Status status_; 2336 Status status_;
2337 HInstruction* current_instruction_; 2337 HInstruction* current_instruction_;
2338 HBasicBlock* current_block_; 2338 HBasicBlock* current_block_;
2339 HBasicBlock* next_block_; 2339 HBasicBlock* next_block_;
2340 int argument_count_; 2340 int argument_count_;
2341 LAllocator* allocator_; 2341 LAllocator* allocator_;
2342 int position_; 2342 int position_;
2343 LInstruction* instruction_pending_deoptimization_environment_; 2343 LInstruction* instruction_pending_deoptimization_environment_;
2344 int pending_deoptimization_ast_id_; 2344 BailoutId pending_deoptimization_ast_id_;
2345 2345
2346 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2346 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2347 }; 2347 };
2348 2348
2349 #undef DECLARE_HYDROGEN_ACCESSOR 2349 #undef DECLARE_HYDROGEN_ACCESSOR
2350 #undef DECLARE_CONCRETE_INSTRUCTION 2350 #undef DECLARE_CONCRETE_INSTRUCTION
2351 2351
2352 } } // namespace v8::int 2352 } } // namespace v8::int
2353 2353
2354 #endif // V8_X64_LITHIUM_X64_H_ 2354 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698