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

Side by Side Diff: src/mips/frames-mips.h

Issue 7888003: MIPS: pre-crankshaft updates to assembler and related files. (1/3) (Closed)
Patch Set: Created 9 years, 3 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/disasm-mips.cc ('k') | src/mips/simulator-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 1 << 20 | // f20 80 1 << 20 | // f20
81 1 << 22 | // f22 81 1 << 22 | // f22
82 1 << 24 | // f24 82 1 << 24 | // f24
83 1 << 26 | // f26 83 1 << 26 | // f26
84 1 << 28 | // f28 84 1 << 28 | // f28
85 1 << 30; // f30 85 1 << 30; // f30
86 86
87 static const int kNumCalleeSavedFPU = 6; 87 static const int kNumCalleeSavedFPU = 6;
88 // Number of registers for which space is reserved in safepoints. Must be a 88 // Number of registers for which space is reserved in safepoints. Must be a
89 // multiple of 8. 89 // multiple of 8.
90 // TODO(mips): Only 8 registers may actually be sufficient. Revisit.
91 static const int kNumSafepointRegisters = 24; 90 static const int kNumSafepointRegisters = 24;
92 91
93 // Define the list of registers actually saved at safepoints. 92 // Define the list of registers actually saved at safepoints.
94 // Note that the number of saved registers may be smaller than the reserved 93 // Note that the number of saved registers may be smaller than the reserved
95 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters. 94 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters.
96 static const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved; 95 static const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved;
97 static const int kNumSafepointSavedRegisters = 96 static const int kNumSafepointSavedRegisters =
98 kNumJSCallerSaved + kNumCalleeSaved; 97 kNumJSCallerSaved + kNumCalleeSaved;
99 98
100 typedef Object* JSCallerSavedBuffer[kNumJSCallerSaved]; 99 typedef Object* JSCallerSavedBuffer[kNumJSCallerSaved];
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 227
229 inline Object* JavaScriptFrame::function_slot_object() const { 228 inline Object* JavaScriptFrame::function_slot_object() const {
230 const int offset = JavaScriptFrameConstants::kFunctionOffset; 229 const int offset = JavaScriptFrameConstants::kFunctionOffset;
231 return Memory::Object_at(fp() + offset); 230 return Memory::Object_at(fp() + offset);
232 } 231 }
233 232
234 233
235 } } // namespace v8::internal 234 } } // namespace v8::internal
236 235
237 #endif 236 #endif
OLDNEW
« no previous file with comments | « src/mips/disasm-mips.cc ('k') | src/mips/simulator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698