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

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

Issue 1359583002: [builtins] Add support for NewTarget to Execution::New. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Merge mips and mips64 ports. Created 5 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/ia32/code-stubs-ia32.cc ('k') | src/mips/builtins-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 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_IA32_FRAMES_IA32_H_ 5 #ifndef V8_IA32_FRAMES_IA32_H_
6 #define V8_IA32_FRAMES_IA32_H_ 6 #define V8_IA32_FRAMES_IA32_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 21 matching lines...) Expand all
32 const int kAlignmentPaddingPushed = 2; 32 const int kAlignmentPaddingPushed = 2;
33 const int kAlignmentZapValue = 0x12345678; // Not heap object tagged. 33 const int kAlignmentZapValue = 0x12345678; // Not heap object tagged.
34 34
35 // ---------------------------------------------------- 35 // ----------------------------------------------------
36 36
37 37
38 class EntryFrameConstants : public AllStatic { 38 class EntryFrameConstants : public AllStatic {
39 public: 39 public:
40 static const int kCallerFPOffset = -6 * kPointerSize; 40 static const int kCallerFPOffset = -6 * kPointerSize;
41 41
42 static const int kNewTargetArgOffset = +2 * kPointerSize;
42 static const int kFunctionArgOffset = +3 * kPointerSize; 43 static const int kFunctionArgOffset = +3 * kPointerSize;
43 static const int kReceiverArgOffset = +4 * kPointerSize; 44 static const int kReceiverArgOffset = +4 * kPointerSize;
44 static const int kArgcOffset = +5 * kPointerSize; 45 static const int kArgcOffset = +5 * kPointerSize;
45 static const int kArgvOffset = +6 * kPointerSize; 46 static const int kArgvOffset = +6 * kPointerSize;
46 }; 47 };
47 48
48 49
49 class ExitFrameConstants : public AllStatic { 50 class ExitFrameConstants : public AllStatic {
50 public: 51 public:
51 static const int kFrameSize = 2 * kPointerSize; 52 static const int kFrameSize = 2 * kPointerSize;
(...skipping 23 matching lines...) Expand all
75 static const int kParam0Offset = -2 * kPointerSize; 76 static const int kParam0Offset = -2 * kPointerSize;
76 static const int kReceiverOffset = -1 * kPointerSize; 77 static const int kReceiverOffset = -1 * kPointerSize;
77 78
78 static const int kDynamicAlignmentStateOffset = kLocal0Offset; 79 static const int kDynamicAlignmentStateOffset = kLocal0Offset;
79 }; 80 };
80 81
81 82
82 } } // namespace v8::internal 83 } } // namespace v8::internal
83 84
84 #endif // V8_IA32_FRAMES_IA32_H_ 85 #endif // V8_IA32_FRAMES_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698