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

Side by Side Diff: src/objects.h

Issue 260423002: Relocate suspended generator activations when enabling debug mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Require only one heap iteration Created 6 years, 7 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/debug.cc ('k') | src/objects-inl.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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "assert-scope.h" 9 #include "assert-scope.h"
10 #include "builtins.h" 10 #include "builtins.h"
(...skipping 7504 matching lines...) Expand 10 before | Expand all | Expand 10 after
7515 // [receiver]: The receiver of the suspended computation. 7515 // [receiver]: The receiver of the suspended computation.
7516 DECL_ACCESSORS(receiver, Object) 7516 DECL_ACCESSORS(receiver, Object)
7517 7517
7518 // [continuation]: Offset into code of continuation. 7518 // [continuation]: Offset into code of continuation.
7519 // 7519 //
7520 // A positive offset indicates a suspended generator. The special 7520 // A positive offset indicates a suspended generator. The special
7521 // kGeneratorExecuting and kGeneratorClosed values indicate that a generator 7521 // kGeneratorExecuting and kGeneratorClosed values indicate that a generator
7522 // cannot be resumed. 7522 // cannot be resumed.
7523 inline int continuation(); 7523 inline int continuation();
7524 inline void set_continuation(int continuation); 7524 inline void set_continuation(int continuation);
7525 inline bool is_suspended();
7525 7526
7526 // [operand_stack]: Saved operand stack. 7527 // [operand_stack]: Saved operand stack.
7527 DECL_ACCESSORS(operand_stack, FixedArray) 7528 DECL_ACCESSORS(operand_stack, FixedArray)
7528 7529
7529 // [stack_handler_index]: Index of first stack handler in operand_stack, or -1 7530 // [stack_handler_index]: Index of first stack handler in operand_stack, or -1
7530 // if the captured activation had no stack handler. 7531 // if the captured activation had no stack handler.
7531 inline int stack_handler_index(); 7532 inline int stack_handler_index();
7532 inline void set_stack_handler_index(int stack_handler_index); 7533 inline void set_stack_handler_index(int stack_handler_index);
7533 7534
7534 // Casting. 7535 // Casting.
(...skipping 3659 matching lines...) Expand 10 before | Expand all | Expand 10 after
11194 } else { 11195 } else {
11195 value &= ~(1 << bit_position); 11196 value &= ~(1 << bit_position);
11196 } 11197 }
11197 return value; 11198 return value;
11198 } 11199 }
11199 }; 11200 };
11200 11201
11201 } } // namespace v8::internal 11202 } } // namespace v8::internal
11202 11203
11203 #endif // V8_OBJECTS_H_ 11204 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698