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

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

Issue 2934893002: [builtins] Properly optimize Object.prototype.isPrototypeOf. (Closed)
Patch Set: Address feedback. Created 3 years, 6 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/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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 case IrOpcode::kJSShiftRight: 55 case IrOpcode::kJSShiftRight:
56 case IrOpcode::kJSShiftRightLogical: 56 case IrOpcode::kJSShiftRightLogical:
57 57
58 // Compare operations 58 // Compare operations
59 case IrOpcode::kJSEqual: 59 case IrOpcode::kJSEqual:
60 case IrOpcode::kJSGreaterThan: 60 case IrOpcode::kJSGreaterThan:
61 case IrOpcode::kJSGreaterThanOrEqual: 61 case IrOpcode::kJSGreaterThanOrEqual:
62 case IrOpcode::kJSLessThan: 62 case IrOpcode::kJSLessThan:
63 case IrOpcode::kJSLessThanOrEqual: 63 case IrOpcode::kJSLessThanOrEqual:
64 case IrOpcode::kJSHasProperty: 64 case IrOpcode::kJSHasProperty:
65 case IrOpcode::kJSHasInPrototypeChain:
65 case IrOpcode::kJSInstanceOf: 66 case IrOpcode::kJSInstanceOf:
66 case IrOpcode::kJSOrdinaryHasInstance: 67 case IrOpcode::kJSOrdinaryHasInstance:
67 68
68 // Object operations 69 // Object operations
69 case IrOpcode::kJSCreate: 70 case IrOpcode::kJSCreate:
70 case IrOpcode::kJSCreateArguments: 71 case IrOpcode::kJSCreateArguments:
71 case IrOpcode::kJSCreateArray: 72 case IrOpcode::kJSCreateArray:
72 case IrOpcode::kJSCreateLiteralArray: 73 case IrOpcode::kJSCreateLiteralArray:
73 case IrOpcode::kJSCreateLiteralObject: 74 case IrOpcode::kJSCreateLiteralObject:
74 case IrOpcode::kJSCreateLiteralRegExp: 75 case IrOpcode::kJSCreateLiteralRegExp:
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 134 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
134 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 135 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
135 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || 136 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess ||
136 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || 137 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue ||
137 opcode == IrOpcode::kIfDefault; 138 opcode == IrOpcode::kIfDefault;
138 } 139 }
139 140
140 } // namespace compiler 141 } // namespace compiler
141 } // namespace internal 142 } // namespace internal
142 } // namespace v8 143 } // 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