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

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

Issue 8106002: MIPS: port Merge experimental/gc branch to the bleeding_edge. (Closed)
Patch Set: Rebased on r9598, greatly simplified. Created 9 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
« no previous file with comments | « src/mips/deoptimizer-mips.cc ('k') | src/mips/full-codegen-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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 static const RegList kCalleeSavedFPU = 79 static const RegList kCalleeSavedFPU =
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
89 static const RegList kCallerSavedFPU =
90 1 << 0 | // f0
91 1 << 2 | // f2
92 1 << 4 | // f4
93 1 << 6 | // f6
94 1 << 8 | // f8
95 1 << 10 | // f10
96 1 << 12 | // f12
97 1 << 14 | // f14
98 1 << 16 | // f16
99 1 << 18; // f18
100
101
88 // Number of registers for which space is reserved in safepoints. Must be a 102 // Number of registers for which space is reserved in safepoints. Must be a
89 // multiple of 8. 103 // multiple of 8.
90 static const int kNumSafepointRegisters = 24; 104 static const int kNumSafepointRegisters = 24;
91 105
92 // Define the list of registers actually saved at safepoints. 106 // Define the list of registers actually saved at safepoints.
93 // Note that the number of saved registers may be smaller than the reserved 107 // Note that the number of saved registers may be smaller than the reserved
94 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters. 108 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters.
95 static const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved; 109 static const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved;
96 static const int kNumSafepointSavedRegisters = 110 static const int kNumSafepointSavedRegisters =
97 kNumJSCallerSaved + kNumCalleeSaved; 111 kNumJSCallerSaved + kNumCalleeSaved;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 241
228 inline Object* JavaScriptFrame::function_slot_object() const { 242 inline Object* JavaScriptFrame::function_slot_object() const {
229 const int offset = JavaScriptFrameConstants::kFunctionOffset; 243 const int offset = JavaScriptFrameConstants::kFunctionOffset;
230 return Memory::Object_at(fp() + offset); 244 return Memory::Object_at(fp() + offset);
231 } 245 }
232 246
233 247
234 } } // namespace v8::internal 248 } } // namespace v8::internal
235 249
236 #endif 250 #endif
OLDNEW
« no previous file with comments | « src/mips/deoptimizer-mips.cc ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698