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

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

Issue 581673002: Revert "Add handling for argument adaptor frames to 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 InstructionOperandVector instruction_args; 341 InstructionOperandVector instruction_args;
342 NodeVector pushed_nodes; 342 NodeVector pushed_nodes;
343 343
344 size_t input_count() const { return descriptor->InputCount(); } 344 size_t input_count() const { return descriptor->InputCount(); }
345 345
346 size_t frame_state_count() const { return descriptor->FrameStateCount(); } 346 size_t frame_state_count() const { return descriptor->FrameStateCount(); }
347 347
348 size_t frame_state_value_count() const { 348 size_t frame_state_value_count() const {
349 return (frame_state_descriptor == NULL) 349 return (frame_state_descriptor == NULL)
350 ? 0 350 ? 0
351 : (frame_state_descriptor->GetTotalSize() + 351 : (frame_state_descriptor->total_size() +
352 1); // Include deopt id. 352 1); // Include deopt id.
353 } 353 }
354 }; 354 };
355 355
356 } // namespace compiler 356 } // namespace compiler
357 } // namespace internal 357 } // namespace internal
358 } // namespace v8 358 } // namespace v8
359 359
360 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ 360 #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