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

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

Issue 528963002: Revert "Make FrameStates recursive (to be used for inlining)." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/instruction-selector-unittest.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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 InstructionOperandVector instruction_args; 338 InstructionOperandVector instruction_args;
339 NodeVector pushed_nodes; 339 NodeVector pushed_nodes;
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->total_size() + 348 : (frame_state_descriptor->size() + 1);
349 1); // Include deopt id.
350 } 349 }
351 }; 350 };
352 351
353 } // namespace compiler 352 } // namespace compiler
354 } // namespace internal 353 } // namespace internal
355 } // namespace v8 354 } // namespace v8
356 355
357 #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/instruction-selector-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698