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

Side by Side Diff: src/mips64/code-stubs-mips64.cc

Issue 645823003: MIPS64: ReceiverCheckMode needs to be utilized further. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 3339 matching lines...) Expand 10 before | Expand all | Expand 10 after
3350 3350
3351 // Just jump to runtime to create the sub string. 3351 // Just jump to runtime to create the sub string.
3352 __ bind(&runtime); 3352 __ bind(&runtime);
3353 __ TailCallRuntime(Runtime::kSubString, 3, 1); 3353 __ TailCallRuntime(Runtime::kSubString, 3, 1);
3354 3354
3355 __ bind(&single_char); 3355 __ bind(&single_char);
3356 // v0: original string 3356 // v0: original string
3357 // a1: instance type 3357 // a1: instance type
3358 // a2: length 3358 // a2: length
3359 // a3: from index (untagged) 3359 // a3: from index (untagged)
3360 StringCharAtGenerator generator( 3360 StringCharAtGenerator generator(v0, a3, a2, v0, &runtime, &runtime, &runtime,
3361 v0, a3, a2, v0, &runtime, &runtime, &runtime, STRING_INDEX_IS_NUMBER); 3361 STRING_INDEX_IS_NUMBER, RECEIVER_IS_STRING);
3362 generator.GenerateFast(masm); 3362 generator.GenerateFast(masm);
3363 __ DropAndRet(3); 3363 __ DropAndRet(3);
3364 generator.SkipSlow(masm, &runtime); 3364 generator.SkipSlow(masm, &runtime);
3365 } 3365 }
3366 3366
3367 3367
3368 void StringHelper::GenerateFlatOneByteStringEquals( 3368 void StringHelper::GenerateFlatOneByteStringEquals(
3369 MacroAssembler* masm, Register left, Register right, Register scratch1, 3369 MacroAssembler* masm, Register left, Register right, Register scratch1,
3370 Register scratch2, Register scratch3) { 3370 Register scratch2, Register scratch3) {
3371 Register length = scratch1; 3371 Register length = scratch1;
(...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after
4951 MemOperand(fp, 6 * kPointerSize), 4951 MemOperand(fp, 6 * kPointerSize),
4952 NULL); 4952 NULL);
4953 } 4953 }
4954 4954
4955 4955
4956 #undef __ 4956 #undef __
4957 4957
4958 } } // namespace v8::internal 4958 } } // namespace v8::internal
4959 4959
4960 #endif // V8_TARGET_ARCH_MIPS64 4960 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698