Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index dc52083a195d83f085a36de45385e13dee04feea..cc52b26e06210ae17052087958e68fc2b75c2019 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2006-2008 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -723,6 +723,10 @@ class CallFunctionStub: public CodeStub { |
void Generate(MacroAssembler* masm); |
+ static int ExtractArgcFromMinorKey(int minor_key) { |
+ return ArgcBits::decode(minor_key); |
+ } |
+ |
private: |
int argc_; |
InLoopFlag in_loop_; |
@@ -754,11 +758,6 @@ class CallFunctionStub: public CodeStub { |
bool ReceiverMightBeValue() { |
return (flags_ & RECEIVER_MIGHT_BE_VALUE) != 0; |
} |
- |
- public: |
- static int ExtractArgcFromMinorKey(int minor_key) { |
- return ArgcBits::decode(minor_key); |
- } |
}; |