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

Unified Diff: src/interpreter/bytecode-array-builder.h

Issue 1995303002: [interpreter] Fix source position of yield-exceptions in generators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebaseline bytecode expectations Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-array-builder.h
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
index 3930a06e1b6f64e60bd6718916a5ccb152195f93..68a2f3bc62488f0b8b5c6da628781763e5065dcc 100644
--- a/src/interpreter/bytecode-array-builder.h
+++ b/src/interpreter/bytecode-array-builder.h
@@ -262,6 +262,9 @@ class BytecodeArrayBuilder final : public ZoneObject {
void SetExpressionPosition(Expression* expr);
void SetExpressionAsStatementPosition(Expression* expr);
+ // Set position for return.
+ void SetReturnPosition();
+
// Accessors
TemporaryRegisterAllocator* temporary_register_allocator() {
return &temporary_allocator_;
@@ -326,9 +329,6 @@ class BytecodeArrayBuilder final : public ZoneObject {
// Attach latest source position to |node|.
void AttachSourceInfo(BytecodeNode* node);
- // Set position for return.
- void SetReturnPosition();
-
// Gets a constant pool entry for the |object|.
size_t GetConstantPoolEntry(Handle<Object> object);
« no previous file with comments | « no previous file | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698