Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index a9602e00ec3f6a354e362dd93b79e2ac71bdab9f..1bf8a9ed29e22882a29ddfc68b0395b70d684bfc 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -96,6 +96,8 @@ class FullCodeGenerator: public AstVisitor { |
#error Unsupported target architecture. |
#endif |
+ static Register result_register(); |
+ |
private: |
class Breakable; |
class Iteration; |
@@ -741,7 +743,6 @@ class FullCodeGenerator: public AstVisitor { |
FunctionLiteral* literal() const { return info_->literal(); } |
Scope* scope() { return scope_; } |
- static Register result_register(); |
static Register context_register(); |
// Set fields in the stack frame. Offsets are the frame pointer relative |