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

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

Issue 942513002: Put the type feedback vector in the unoptimized JavaScript frame. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reduced constant in deep recursion test for windows. Created 5 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
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/full-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/arm64/assembler-arm64.h" 5 #include "src/arm64/assembler-arm64.h"
6 #include "src/arm64/constants-arm64.h" 6 #include "src/arm64/constants-arm64.h"
7 7
8 #ifndef V8_ARM64_FRAMES_ARM64_H_ 8 #ifndef V8_ARM64_FRAMES_ARM64_H_
9 #define V8_ARM64_FRAMES_ARM64_H_ 9 #define V8_ARM64_FRAMES_ARM64_H_
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 static const int kCodeOffset = -2 * kPointerSize; 46 static const int kCodeOffset = -2 * kPointerSize;
47 static const int kLastExitFrameField = kCodeOffset; 47 static const int kLastExitFrameField = kCodeOffset;
48 48
49 static const int kConstantPoolOffset = 0; // Not used 49 static const int kConstantPoolOffset = 0; // Not used
50 }; 50 };
51 51
52 52
53 class JavaScriptFrameConstants : public AllStatic { 53 class JavaScriptFrameConstants : public AllStatic {
54 public: 54 public:
55 // FP-relative. 55 // FP-relative.
56 static const int kLocal0Offset = StandardFrameConstants::kExpressionsOffset; 56 static const int kFunctionOffset = StandardFrameConstants::kMarkerOffset;
57 static const int kFeedbackVectorOffset =
58 StandardFrameConstants::kExpressionsOffset;
59 static const int kLocal0Offset = -1 * kPointerSize + kFeedbackVectorOffset;
60 static const int kLocal0OffsetOptimized = kFeedbackVectorOffset;
61
62 static const int kUnoptimizedFixedFrameSizeFromFp =
63 StandardFrameConstants::kFixedFrameSizeFromFp + kPointerSize;
57 64
58 // There are two words on the stack (saved fp and saved lr) between fp and 65 // There are two words on the stack (saved fp and saved lr) between fp and
59 // the arguments. 66 // the arguments.
60 static const int kLastParameterOffset = 2 * kPointerSize; 67 static const int kLastParameterOffset = 2 * kPointerSize;
61 68
62 static const int kFunctionOffset = StandardFrameConstants::kMarkerOffset; 69 static const int kUnoptimizedFixedFrameSize =
70 StandardFrameConstants::kFixedFrameSize + kPointerSize;
63 }; 71 };
64 72
65 73
66 class ArgumentsAdaptorFrameConstants : public AllStatic { 74 class ArgumentsAdaptorFrameConstants : public AllStatic {
67 public: 75 public:
68 // FP-relative. 76 // FP-relative.
69 static const int kLengthOffset = StandardFrameConstants::kExpressionsOffset; 77 static const int kLengthOffset = StandardFrameConstants::kExpressionsOffset;
70 78
71 static const int kFrameSize = 79 static const int kFrameSize =
72 StandardFrameConstants::kFixedFrameSize + kPointerSize; 80 StandardFrameConstants::kFixedFrameSize + kPointerSize;
(...skipping 22 matching lines...) Expand all
95 103
96 inline Object* JavaScriptFrame::function_slot_object() const { 104 inline Object* JavaScriptFrame::function_slot_object() const {
97 const int offset = JavaScriptFrameConstants::kFunctionOffset; 105 const int offset = JavaScriptFrameConstants::kFunctionOffset;
98 return Memory::Object_at(fp() + offset); 106 return Memory::Object_at(fp() + offset);
99 } 107 }
100 108
101 109
102 } } // namespace v8::internal 110 } } // namespace v8::internal
103 111
104 #endif // V8_ARM64_FRAMES_ARM64_H_ 112 #endif // V8_ARM64_FRAMES_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698