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

Side by Side Diff: src/mips64/full-codegen-mips64.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/mips/full-codegen-mips.cc ('k') | src/ppc/full-codegen-ppc.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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 // Note on Mips implementation: 9 // Note on Mips implementation:
10 // 10 //
(...skipping 4290 matching lines...) Expand 10 before | Expand all | Expand 10 after
4301 // a3 now points to key of indexed element of cache. 4301 // a3 now points to key of indexed element of cache.
4302 __ ld(a2, MemOperand(a3)); 4302 __ ld(a2, MemOperand(a3));
4303 __ Branch(&not_found, ne, key, Operand(a2)); 4303 __ Branch(&not_found, ne, key, Operand(a2));
4304 4304
4305 __ ld(v0, MemOperand(a3, kPointerSize)); 4305 __ ld(v0, MemOperand(a3, kPointerSize));
4306 __ Branch(&done); 4306 __ Branch(&done);
4307 4307
4308 __ bind(&not_found); 4308 __ bind(&not_found);
4309 // Call runtime to perform the lookup. 4309 // Call runtime to perform the lookup.
4310 __ Push(cache, key); 4310 __ Push(cache, key);
4311 __ CallRuntime(Runtime::kGetFromCache, 2); 4311 __ CallRuntime(Runtime::kGetFromCacheRT, 2);
4312 4312
4313 __ bind(&done); 4313 __ bind(&done);
4314 context()->Plug(v0); 4314 context()->Plug(v0);
4315 } 4315 }
4316 4316
4317 4317
4318 void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { 4318 void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) {
4319 ZoneList<Expression*>* args = expr->arguments(); 4319 ZoneList<Expression*>* args = expr->arguments();
4320 VisitForAccumulatorValue(args->at(0)); 4320 VisitForAccumulatorValue(args->at(0));
4321 4321
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
5451 Assembler::target_address_at(pc_immediate_load_address)) == 5451 Assembler::target_address_at(pc_immediate_load_address)) ==
5452 reinterpret_cast<uint64_t>( 5452 reinterpret_cast<uint64_t>(
5453 isolate->builtins()->OsrAfterStackCheck()->entry())); 5453 isolate->builtins()->OsrAfterStackCheck()->entry()));
5454 return OSR_AFTER_STACK_CHECK; 5454 return OSR_AFTER_STACK_CHECK;
5455 } 5455 }
5456 5456
5457 5457
5458 } } // namespace v8::internal 5458 } } // namespace v8::internal
5459 5459
5460 #endif // V8_TARGET_ARCH_MIPS64 5460 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | src/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698