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

Side by Side Diff: src/globals.h

Issue 2316443002: Include only stuff you need, part 8: Fix debug.h -> liveedit.h. (Closed)
Patch Set: code review (mstarzinger@) Created 4 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/full-codegen/full-codegen.h ('k') | src/ic/ic-state.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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 public: 1144 public:
1145 enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 }; 1145 enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 };
1146 }; 1146 };
1147 1147
1148 // TODO(epertoso): consider unifying this with BinaryOperationFeedback. 1148 // TODO(epertoso): consider unifying this with BinaryOperationFeedback.
1149 class CompareOperationFeedback { 1149 class CompareOperationFeedback {
1150 public: 1150 public:
1151 enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 }; 1151 enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 };
1152 }; 1152 };
1153 1153
1154 // Describes how exactly a frame has been dropped from stack.
1155 enum LiveEditFrameDropMode {
1156 // No frame has been dropped.
1157 LIVE_EDIT_FRAMES_UNTOUCHED,
1158 // The top JS frame had been calling debug break slot stub. Patch the
1159 // address this stub jumps to in the end.
1160 LIVE_EDIT_FRAME_DROPPED_IN_DEBUG_SLOT_CALL,
1161 // The top JS frame had been calling some C++ function. The return address
1162 // gets patched automatically.
1163 LIVE_EDIT_FRAME_DROPPED_IN_DIRECT_CALL,
1164 LIVE_EDIT_FRAME_DROPPED_IN_RETURN_CALL,
1165 LIVE_EDIT_CURRENTLY_SET_MODE
1166 };
1167
1154 } // namespace internal 1168 } // namespace internal
1155 } // namespace v8 1169 } // namespace v8
1156 1170
1157 namespace i = v8::internal; 1171 namespace i = v8::internal;
1158 1172
1159 #endif // V8_GLOBALS_H_ 1173 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.h ('k') | src/ic/ic-state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698