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

Side by Side Diff: src/mips/assembler-mips-inl.h

Issue 12212080: MIPS: Generate the TransitionElementsStub using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed unused flag Created 7 years, 10 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 | « src/mips/assembler-mips.h ('k') | src/mips/code-stubs-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 1
2 // Copyright (c) 1994-2006 Sun Microsystems Inc. 2 // Copyright (c) 1994-2006 Sun Microsystems Inc.
3 // All Rights Reserved. 3 // All Rights Reserved.
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // - Redistributions of source code must retain the above copyright notice, 9 // - Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer. 10 // this list of conditions and the following disclaimer.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 if (CpuFeatures::IsSupported(FPU)) { 84 if (CpuFeatures::IsSupported(FPU)) {
85 return kMaxNumAllocatableRegisters; 85 return kMaxNumAllocatableRegisters;
86 } else { 86 } else {
87 return kMaxNumAllocatableRegisters - kGPRsPerNonFPUDouble; 87 return kMaxNumAllocatableRegisters - kGPRsPerNonFPUDouble;
88 } 88 }
89 } 89 }
90 90
91 91
92 int DoubleRegister::NumRegisters() { 92 int DoubleRegister::NumRegisters() {
93 if (CpuFeatures::IsSupported(FPU)) { 93 if (CpuFeatures::IsSupported(FPU)) {
94 return FPURegister::kNumRegisters; 94 return FPURegister::kMaxNumRegisters;
95 } else { 95 } else {
96 return 1; 96 return 1;
97 } 97 }
98 } 98 }
99 99
100 100
101 int DoubleRegister::NumAllocatableRegisters() { 101 int DoubleRegister::NumAllocatableRegisters() {
102 if (CpuFeatures::IsSupported(FPU)) { 102 if (CpuFeatures::IsSupported(FPU)) {
103 return FPURegister::kMaxNumAllocatableRegisters; 103 return FPURegister::kMaxNumAllocatableRegisters;
104 } else { 104 } else {
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 } 416 }
417 *reinterpret_cast<Instr*>(pc_) = x; 417 *reinterpret_cast<Instr*>(pc_) = x;
418 pc_ += kInstrSize; 418 pc_ += kInstrSize;
419 CheckTrampolinePoolQuick(); 419 CheckTrampolinePoolQuick();
420 } 420 }
421 421
422 422
423 } } // namespace v8::internal 423 } } // namespace v8::internal
424 424
425 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ 425 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698