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

Side by Side Diff: src/ia32/full-codegen-ia32.cc

Issue 983623002: Made the entries of the various *_FUNCTION_LISTs disjoint. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/arm64/full-codegen-arm64.cc ('k') | src/mips/full-codegen-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4171 matching lines...) Expand 10 before | Expand all | Expand 10 after
4182 __ cmp(key, FixedArrayElementOperand(cache, tmp)); 4182 __ cmp(key, FixedArrayElementOperand(cache, tmp));
4183 __ j(not_equal, &not_found); 4183 __ j(not_equal, &not_found);
4184 4184
4185 __ mov(eax, FixedArrayElementOperand(cache, tmp, 1)); 4185 __ mov(eax, FixedArrayElementOperand(cache, tmp, 1));
4186 __ jmp(&done); 4186 __ jmp(&done);
4187 4187
4188 __ bind(&not_found); 4188 __ bind(&not_found);
4189 // Call runtime to perform the lookup. 4189 // Call runtime to perform the lookup.
4190 __ push(cache); 4190 __ push(cache);
4191 __ push(key); 4191 __ push(key);
4192 __ CallRuntime(Runtime::kGetFromCache, 2); 4192 __ CallRuntime(Runtime::kGetFromCacheRT, 2);
4193 4193
4194 __ bind(&done); 4194 __ bind(&done);
4195 context()->Plug(eax); 4195 context()->Plug(eax);
4196 } 4196 }
4197 4197
4198 4198
4199 void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { 4199 void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) {
4200 ZoneList<Expression*>* args = expr->arguments(); 4200 ZoneList<Expression*>* args = expr->arguments();
4201 DCHECK(args->length() == 1); 4201 DCHECK(args->length() == 1);
4202 4202
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after
5364 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 5364 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
5365 Assembler::target_address_at(call_target_address, 5365 Assembler::target_address_at(call_target_address,
5366 unoptimized_code)); 5366 unoptimized_code));
5367 return OSR_AFTER_STACK_CHECK; 5367 return OSR_AFTER_STACK_CHECK;
5368 } 5368 }
5369 5369
5370 5370
5371 } } // namespace v8::internal 5371 } } // namespace v8::internal
5372 5372
5373 #endif // V8_TARGET_ARCH_IA32 5373 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698