Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 515f2e578e613470e9a228826df201f7bba6d116..0cad29a4cf06accbbdf70c09dc651c728650ea27 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -431,8 +431,8 @@ class CodeStubDescriptor { |
return call_descriptor().GetEnvironmentParameterCount(); |
} |
- Representation GetEnvironmentParameterRepresentation(int index) const { |
- return call_descriptor().GetEnvironmentParameterRepresentation(index); |
+ Type* GetEnvironmentParameterType(int index) const { |
+ return call_descriptor().GetEnvironmentParameterType(index); |
} |
ExternalReference miss_handler() const { |
@@ -2973,6 +2973,8 @@ class StringCompareStub : public PlatformCodeStub { |
#undef DEFINE_HYDROGEN_CODE_STUB |
#undef DEFINE_CODE_STUB |
#undef DEFINE_CODE_STUB_BASE |
+ |
+extern Representation RepresentationFromType(Type* type); |
} } // namespace v8::internal |
#endif // V8_CODE_STUBS_H_ |