summaryrefslogtreecommitdiff
path: root/src/3rdparty/v8/include/v8.h
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2013-03-01 14:42:31 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-12 11:20:52 +0100
commit60f27761e2a0a32d148643a8884071970c911b3e (patch)
treeb7795975c5e0511e650c57463ee5efdf821515af /src/3rdparty/v8/include/v8.h
parent74789955e363144418947d7711174083dbd14504 (diff)
downloadqtjsbackend-60f27761e2a0a32d148643a8884071970c911b3e.tar.gz
[V8] Remove unnecessary string manipulation methods
These methods were used in QtDeclarative but more "V8-friendly" implementations are used now. This change should be squashed into the "[V8] Add hashing and comparison methods to v8::String" commit (566a226893aaba42d7e1f5522b9d80c1cc9dc2a3) in the next V8 rebase. Change-Id: I996480619b6622060c725d88015223f28336ae64 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/v8/include/v8.h')
-rw-r--r--src/3rdparty/v8/include/v8.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/3rdparty/v8/include/v8.h b/src/3rdparty/v8/include/v8.h
index 6e3cc7a..27c5855 100644
--- a/src/3rdparty/v8/include/v8.h
+++ b/src/3rdparty/v8/include/v8.h
@@ -1113,16 +1113,6 @@ class String : public Primitive {
V8EXPORT static uint32_t ComputeHash(char *string, int length);
/**
- * Returns true if this string is equal to the external
- * string data provided.
- */
- V8EXPORT bool Equals(uint16_t *string, int length);
- V8EXPORT bool Equals(char *string, int length);
- inline bool Equals(Handle<Value> that) const {
- return v8::Value::Equals(that);
- }
-
- /**
* Write the contents of the string to an external buffer.
* If no arguments are given, expects the buffer to be large
* enough to hold the entire string and NULL terminator. Copies
@@ -1154,8 +1144,6 @@ class String : public Primitive {
PRESERVE_ASCII_NULL = 4
};
- V8EXPORT uint16_t GetCharacter(int index);
-
// 16-bit character codes.
V8EXPORT int Write(uint16_t* buffer,
int start = 0,