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

Side by Side Diff: src/compiler/operator-properties.cc

Issue 1447443002: [turbofan] Ensure inlined constructor calls still throw. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/linkage.cc ('k') | test/mjsunit/regress/regress-inline-strong-as-construct.js » ('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/operator-properties.h" 5 #include "src/compiler/operator-properties.h"
6 6
7 #include "src/compiler/js-operator.h" 7 #include "src/compiler/js-operator.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Construct calls 42 // Construct calls
43 case IrOpcode::kJSCallConstruct: 43 case IrOpcode::kJSCallConstruct:
44 44
45 // Compare operations 45 // Compare operations
46 case IrOpcode::kJSEqual: 46 case IrOpcode::kJSEqual:
47 case IrOpcode::kJSNotEqual: 47 case IrOpcode::kJSNotEqual:
48 case IrOpcode::kJSHasProperty: 48 case IrOpcode::kJSHasProperty:
49 case IrOpcode::kJSInstanceOf: 49 case IrOpcode::kJSInstanceOf:
50 50
51 // Object operations 51 // Object operations
52 case IrOpcode::kJSCreate:
52 case IrOpcode::kJSCreateArguments: 53 case IrOpcode::kJSCreateArguments:
53 case IrOpcode::kJSCreateLiteralArray: 54 case IrOpcode::kJSCreateLiteralArray:
54 case IrOpcode::kJSCreateLiteralObject: 55 case IrOpcode::kJSCreateLiteralObject:
55 56
56 // Context operations 57 // Context operations
57 case IrOpcode::kJSLoadDynamic: 58 case IrOpcode::kJSLoadDynamic:
58 case IrOpcode::kJSCreateScriptContext: 59 case IrOpcode::kJSCreateScriptContext:
59 case IrOpcode::kJSCreateWithContext: 60 case IrOpcode::kJSCreateWithContext:
60 61
61 // Conversions 62 // Conversions
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 129 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
129 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 130 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
130 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || 131 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess ||
131 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || 132 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue ||
132 opcode == IrOpcode::kIfDefault; 133 opcode == IrOpcode::kIfDefault;
133 } 134 }
134 135
135 } // namespace compiler 136 } // namespace compiler
136 } // namespace internal 137 } // namespace internal
137 } // namespace v8 138 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | test/mjsunit/regress/regress-inline-strong-as-construct.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698