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

Side by Side Diff: src/compiler/instruction-selector-impl.h

Issue 522873002: Removal of the deoptimization block from Turbofan (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Change constant capitalization Created 6 years, 3 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/compiler/instruction-selector.cc ('k') | src/compiler/js-generic-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 #include "src/compiler/instruction-selector.h" 9 #include "src/compiler/instruction-selector.h"
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 340
341 int input_count() const { return descriptor->InputCount(); } 341 int input_count() const { return descriptor->InputCount(); }
342 342
343 int frame_state_count() const { return descriptor->FrameStateCount(); } 343 int frame_state_count() const { return descriptor->FrameStateCount(); }
344 344
345 int frame_state_value_count() const { 345 int frame_state_value_count() const {
346 return (frame_state_descriptor == NULL) 346 return (frame_state_descriptor == NULL)
347 ? 0 347 ? 0
348 : (frame_state_descriptor->size() + 1); 348 : (frame_state_descriptor->size() + 1);
349 } 349 }
350
351 int control_count() const {
352 return descriptor->CanLazilyDeoptimize() ? 2 : 0;
353 }
354 }; 350 };
355 351
356 } // namespace compiler 352 } // namespace compiler
357 } // namespace internal 353 } // namespace internal
358 } // namespace v8 354 } // namespace v8
359 355
360 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ 356 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698