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

Side by Side Diff: src/objects.h

Issue 264973014: Relocate suspended generator activations when enabling debug mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 7443 matching lines...) Expand 10 before | Expand all | Expand 10 after
7454 // [receiver]: The receiver of the suspended computation. 7454 // [receiver]: The receiver of the suspended computation.
7455 DECL_ACCESSORS(receiver, Object) 7455 DECL_ACCESSORS(receiver, Object)
7456 7456
7457 // [continuation]: Offset into code of continuation. 7457 // [continuation]: Offset into code of continuation.
7458 // 7458 //
7459 // A positive offset indicates a suspended generator. The special 7459 // A positive offset indicates a suspended generator. The special
7460 // kGeneratorExecuting and kGeneratorClosed values indicate that a generator 7460 // kGeneratorExecuting and kGeneratorClosed values indicate that a generator
7461 // cannot be resumed. 7461 // cannot be resumed.
7462 inline int continuation(); 7462 inline int continuation();
7463 inline void set_continuation(int continuation); 7463 inline void set_continuation(int continuation);
7464 inline bool is_suspended();
7464 7465
7465 // [operand_stack]: Saved operand stack. 7466 // [operand_stack]: Saved operand stack.
7466 DECL_ACCESSORS(operand_stack, FixedArray) 7467 DECL_ACCESSORS(operand_stack, FixedArray)
7467 7468
7468 // [stack_handler_index]: Index of first stack handler in operand_stack, or -1 7469 // [stack_handler_index]: Index of first stack handler in operand_stack, or -1
7469 // if the captured activation had no stack handler. 7470 // if the captured activation had no stack handler.
7470 inline int stack_handler_index(); 7471 inline int stack_handler_index();
7471 inline void set_stack_handler_index(int stack_handler_index); 7472 inline void set_stack_handler_index(int stack_handler_index);
7472 7473
7473 // Casting. 7474 // Casting.
(...skipping 3641 matching lines...) Expand 10 before | Expand all | Expand 10 after
11115 } else { 11116 } else {
11116 value &= ~(1 << bit_position); 11117 value &= ~(1 << bit_position);
11117 } 11118 }
11118 return value; 11119 return value;
11119 } 11120 }
11120 }; 11121 };
11121 11122
11122 } } // namespace v8::internal 11123 } } // namespace v8::internal
11123 11124
11124 #endif // V8_OBJECTS_H_ 11125 #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