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

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

Issue 195983002: Reland "Pass a Code object to Assembler::(set_)target_address_at for use by ool constant pool." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix ia32 and x64 bug/ Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/a64/assembler-a64-inl.h ('k') | src/arm/assembler-arm.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class ExitFrameConstants : public AllStatic { 62 class ExitFrameConstants : public AllStatic {
63 public: 63 public:
64 static const int kFrameSize = 2 * kPointerSize; 64 static const int kFrameSize = 2 * kPointerSize;
65 65
66 static const int kCallerSPDisplacement = 2 * kPointerSize; 66 static const int kCallerSPDisplacement = 2 * kPointerSize;
67 static const int kCallerPCOffset = 1 * kPointerSize; 67 static const int kCallerPCOffset = 1 * kPointerSize;
68 static const int kCallerFPOffset = 0 * kPointerSize; // <- fp 68 static const int kCallerFPOffset = 0 * kPointerSize; // <- fp
69 static const int kSPOffset = -1 * kPointerSize; 69 static const int kSPOffset = -1 * kPointerSize;
70 static const int kCodeOffset = -2 * kPointerSize; 70 static const int kCodeOffset = -2 * kPointerSize;
71 static const int kLastExitFrameField = kCodeOffset; 71 static const int kLastExitFrameField = kCodeOffset;
72
73 static const int kConstantPoolOffset = 0; // Not used
72 }; 74 };
73 75
74 76
75 class JavaScriptFrameConstants : public AllStatic { 77 class JavaScriptFrameConstants : public AllStatic {
76 public: 78 public:
77 // FP-relative. 79 // FP-relative.
78 static const int kLocal0Offset = StandardFrameConstants::kExpressionsOffset; 80 static const int kLocal0Offset = StandardFrameConstants::kExpressionsOffset;
79 81
80 // There are two words on the stack (saved fp and saved lr) between fp and 82 // There are two words on the stack (saved fp and saved lr) between fp and
81 // the arguments. 83 // the arguments.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 124
123 125
124 inline void StackHandler::SetFp(Address slot, Address fp) { 126 inline void StackHandler::SetFp(Address slot, Address fp) {
125 Memory::Address_at(slot) = fp; 127 Memory::Address_at(slot) = fp;
126 } 128 }
127 129
128 130
129 } } // namespace v8::internal 131 } } // namespace v8::internal
130 132
131 #endif // V8_A64_FRAMES_A64_H_ 133 #endif // V8_A64_FRAMES_A64_H_
OLDNEW
« no previous file with comments | « src/a64/assembler-a64-inl.h ('k') | src/arm/assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698