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

Side by Side Diff: src/frames.h

Issue 1309843007: [Interpreter] Add support for property load operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove templated FitsInOperand since std::is_integral is not supported on Mac Created 5 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/compiler/interpreter-assembler.cc ('k') | src/interpreter/bytecode-array-builder.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_FRAMES_H_ 5 #ifndef V8_FRAMES_H_
6 #define V8_FRAMES_H_ 6 #define V8_FRAMES_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 #include "src/safepoint-table.h" 10 #include "src/safepoint-table.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 static const int kFrameSize = 173 static const int kFrameSize =
174 StandardFrameConstants::kFixedFrameSize + 5 * kPointerSize; 174 StandardFrameConstants::kFixedFrameSize + 5 * kPointerSize;
175 }; 175 };
176 176
177 177
178 class InterpreterFrameConstants : public AllStatic { 178 class InterpreterFrameConstants : public AllStatic {
179 public: 179 public:
180 // Register file pointer relative. 180 // Register file pointer relative.
181 static const int kLastParamFromRegisterPointer = 181 static const int kLastParamFromRegisterPointer =
182 StandardFrameConstants::kFixedFrameSize + kPointerSize; 182 StandardFrameConstants::kFixedFrameSize + kPointerSize;
183 static const int kFunctionFromRegisterPointer = kPointerSize;
183 }; 184 };
184 185
185 186
186 // Abstract base class for all stack frames. 187 // Abstract base class for all stack frames.
187 class StackFrame BASE_EMBEDDED { 188 class StackFrame BASE_EMBEDDED {
188 public: 189 public:
189 #define DECLARE_TYPE(type, ignore) type, 190 #define DECLARE_TYPE(type, ignore) type,
190 enum Type { 191 enum Type {
191 NONE = 0, 192 NONE = 0,
192 STACK_FRAME_TYPE_LIST(DECLARE_TYPE) 193 STACK_FRAME_TYPE_LIST(DECLARE_TYPE)
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 }; 941 };
941 942
942 943
943 // Reads all frames on the current stack and copies them into the current 944 // Reads all frames on the current stack and copies them into the current
944 // zone memory. 945 // zone memory.
945 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 946 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
946 947
947 } } // namespace v8::internal 948 } } // namespace v8::internal
948 949
949 #endif // V8_FRAMES_H_ 950 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/compiler/interpreter-assembler.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698