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

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

Issue 1053063003: Make --always-opt also optimize top-level code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Skip failing tests. Created 5 years, 8 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 case IrOpcode::kJSEqual: 45 case IrOpcode::kJSEqual:
46 case IrOpcode::kJSGreaterThan: 46 case IrOpcode::kJSGreaterThan:
47 case IrOpcode::kJSGreaterThanOrEqual: 47 case IrOpcode::kJSGreaterThanOrEqual:
48 case IrOpcode::kJSHasProperty: 48 case IrOpcode::kJSHasProperty:
49 case IrOpcode::kJSInstanceOf: 49 case IrOpcode::kJSInstanceOf:
50 case IrOpcode::kJSLessThan: 50 case IrOpcode::kJSLessThan:
51 case IrOpcode::kJSLessThanOrEqual: 51 case IrOpcode::kJSLessThanOrEqual:
52 case IrOpcode::kJSNotEqual: 52 case IrOpcode::kJSNotEqual:
53 53
54 // Context operations 54 // Context operations
55 case IrOpcode::kJSCreateScriptContext:
55 case IrOpcode::kJSCreateWithContext: 56 case IrOpcode::kJSCreateWithContext:
56 57
57 // Conversions 58 // Conversions
58 case IrOpcode::kJSToObject: 59 case IrOpcode::kJSToObject:
59 case IrOpcode::kJSToNumber: 60 case IrOpcode::kJSToNumber:
60 case IrOpcode::kJSToName: 61 case IrOpcode::kJSToName:
61 62
62 // Misc operations 63 // Misc operations
63 case IrOpcode::kJSStackCheck: 64 case IrOpcode::kJSStackCheck:
64 65
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 113 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
113 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 114 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
114 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || 115 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess ||
115 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || 116 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue ||
116 opcode == IrOpcode::kIfDefault; 117 opcode == IrOpcode::kIfDefault;
117 } 118 }
118 119
119 } // namespace compiler 120 } // namespace compiler
120 } // namespace internal 121 } // namespace internal
121 } // namespace v8 122 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/factory.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698