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

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

Issue 2301853002: [turbofan] Improve message for unexpected opcode in simplified lowering. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 2442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2453 case IrOpcode::kJSToInteger: 2453 case IrOpcode::kJSToInteger:
2454 case IrOpcode::kJSToLength: 2454 case IrOpcode::kJSToLength:
2455 case IrOpcode::kJSToName: 2455 case IrOpcode::kJSToName:
2456 case IrOpcode::kJSToObject: 2456 case IrOpcode::kJSToObject:
2457 case IrOpcode::kJSToString: 2457 case IrOpcode::kJSToString:
2458 VisitInputs(node); 2458 VisitInputs(node);
2459 // Assume the output is tagged. 2459 // Assume the output is tagged.
2460 return SetOutput(node, MachineRepresentation::kTagged); 2460 return SetOutput(node, MachineRepresentation::kTagged);
2461 2461
2462 default: 2462 default:
2463 V8_Fatal(__FILE__, __LINE__, 2463 V8_Fatal(
2464 "Representation inference: unsupported opcode %s\n.", 2464 __FILE__, __LINE__,
2465 node->op()->mnemonic()); 2465 "Representation inference: unsupported opcode %i (%s), node #%i\n.",
2466 node->opcode(), node->op()->mnemonic(), node->id());
2466 break; 2467 break;
2467 } 2468 }
2468 UNREACHABLE(); 2469 UNREACHABLE();
2469 } 2470 }
2470 2471
2471 void DeferReplacement(Node* node, Node* replacement) { 2472 void DeferReplacement(Node* node, Node* replacement) {
2472 TRACE("defer replacement #%d:%s with #%d:%s\n", node->id(), 2473 TRACE("defer replacement #%d:%s with #%d:%s\n", node->id(),
2473 node->op()->mnemonic(), replacement->id(), 2474 node->op()->mnemonic(), replacement->id(),
2474 replacement->op()->mnemonic()); 2475 replacement->op()->mnemonic());
2475 2476
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
3193 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 3194 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
3194 Operator::kNoProperties); 3195 Operator::kNoProperties);
3195 to_number_operator_.set(common()->Call(desc)); 3196 to_number_operator_.set(common()->Call(desc));
3196 } 3197 }
3197 return to_number_operator_.get(); 3198 return to_number_operator_.get();
3198 } 3199 }
3199 3200
3200 } // namespace compiler 3201 } // namespace compiler
3201 } // namespace internal 3202 } // namespace internal
3202 } // namespace v8 3203 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698