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

Side by Side Diff: src/compiler/linkage.cc

Issue 1114563003: Optimize the typeof operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 7 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/js-generic-lowering.cc ('k') | src/ia32/code-stubs-ia32.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/code-stubs.h" 5 #include "src/code-stubs.h"
6 #include "src/compiler.h" 6 #include "src/compiler.h"
7 #include "src/compiler/linkage.h" 7 #include "src/compiler/linkage.h"
8 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
9 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
10 #include "src/scopes.h" 10 #include "src/scopes.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 case Runtime::kNewRestParamSlow: 123 case Runtime::kNewRestParamSlow:
124 case Runtime::kPushBlockContext: 124 case Runtime::kPushBlockContext:
125 case Runtime::kPushCatchContext: 125 case Runtime::kPushCatchContext:
126 case Runtime::kReThrow: 126 case Runtime::kReThrow:
127 case Runtime::kSetProperty: // TODO(jarin): Is it safe? 127 case Runtime::kSetProperty: // TODO(jarin): Is it safe?
128 case Runtime::kStringCompareRT: 128 case Runtime::kStringCompareRT:
129 case Runtime::kStringEquals: 129 case Runtime::kStringEquals:
130 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 130 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
131 case Runtime::kTraceEnter: 131 case Runtime::kTraceEnter:
132 case Runtime::kTraceExit: 132 case Runtime::kTraceExit:
133 case Runtime::kTypeof:
134 return false; 133 return false;
135 case Runtime::kInlineArguments: 134 case Runtime::kInlineArguments:
136 case Runtime::kInlineCallFunction: 135 case Runtime::kInlineCallFunction:
137 case Runtime::kInlineDateField: 136 case Runtime::kInlineDateField:
138 case Runtime::kInlineDeoptimizeNow: 137 case Runtime::kInlineDeoptimizeNow:
139 case Runtime::kInlineGetPrototype: 138 case Runtime::kInlineGetPrototype:
140 case Runtime::kInlineRegExpExec: 139 case Runtime::kInlineRegExpExec:
141 return true; 140 return true;
142 default: 141 default:
143 break; 142 break;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 199
201 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 200 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
202 const MachineSignature* sig) { 201 const MachineSignature* sig) {
203 UNIMPLEMENTED(); 202 UNIMPLEMENTED();
204 return NULL; 203 return NULL;
205 } 204 }
206 #endif // !V8_TURBOFAN_BACKEND 205 #endif // !V8_TURBOFAN_BACKEND
207 } 206 }
208 } 207 }
209 } // namespace v8::internal::compiler 208 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698