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

Side by Side Diff: src/compiler/simplified-lowering.cc

Issue 2729163002: [turbofan] compute arguments length in deoptimizer (Closed)
Patch Set: fix comment Created 3 years, 9 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
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.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 #include "src/compiler/simplified-lowering.h" 5 #include "src/compiler/simplified-lowering.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/address-map.h" 9 #include "src/address-map.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 2707 matching lines...) Expand 10 before | Expand all | Expand 10 after
2718 case IrOpcode::kTerminate: 2718 case IrOpcode::kTerminate:
2719 case IrOpcode::kFrameState: 2719 case IrOpcode::kFrameState:
2720 case IrOpcode::kCheckpoint: 2720 case IrOpcode::kCheckpoint:
2721 case IrOpcode::kLoop: 2721 case IrOpcode::kLoop:
2722 case IrOpcode::kMerge: 2722 case IrOpcode::kMerge:
2723 case IrOpcode::kThrow: 2723 case IrOpcode::kThrow:
2724 case IrOpcode::kBeginRegion: 2724 case IrOpcode::kBeginRegion:
2725 case IrOpcode::kProjection: 2725 case IrOpcode::kProjection:
2726 case IrOpcode::kOsrValue: 2726 case IrOpcode::kOsrValue:
2727 case IrOpcode::kArgumentsElementsState: 2727 case IrOpcode::kArgumentsElementsState:
2728 case IrOpcode::kArgumentsLengthState:
2728 // All JavaScript operators except JSToNumber have uniform handling. 2729 // All JavaScript operators except JSToNumber have uniform handling.
2729 #define OPCODE_CASE(name) case IrOpcode::k##name: 2730 #define OPCODE_CASE(name) case IrOpcode::k##name:
2730 JS_SIMPLE_BINOP_LIST(OPCODE_CASE) 2731 JS_SIMPLE_BINOP_LIST(OPCODE_CASE)
2731 JS_OTHER_UNOP_LIST(OPCODE_CASE) 2732 JS_OTHER_UNOP_LIST(OPCODE_CASE)
2732 JS_OBJECT_OP_LIST(OPCODE_CASE) 2733 JS_OBJECT_OP_LIST(OPCODE_CASE)
2733 JS_CONTEXT_OP_LIST(OPCODE_CASE) 2734 JS_CONTEXT_OP_LIST(OPCODE_CASE)
2734 JS_OTHER_OP_LIST(OPCODE_CASE) 2735 JS_OTHER_OP_LIST(OPCODE_CASE)
2735 #undef OPCODE_CASE 2736 #undef OPCODE_CASE
2736 case IrOpcode::kJSToInteger: 2737 case IrOpcode::kJSToInteger:
2737 case IrOpcode::kJSToLength: 2738 case IrOpcode::kJSToLength:
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
3569 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 3570 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
3570 Operator::kNoProperties); 3571 Operator::kNoProperties);
3571 to_number_operator_.set(common()->Call(desc)); 3572 to_number_operator_.set(common()->Call(desc));
3572 } 3573 }
3573 return to_number_operator_.get(); 3574 return to_number_operator_.get();
3574 } 3575 }
3575 3576
3576 } // namespace compiler 3577 } // namespace compiler
3577 } // namespace internal 3578 } // namespace internal
3578 } // namespace v8 3579 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698