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

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

Powered by Google App Engine
This is Rietveld 408576698