- Fix build with Clang.

This commit is contained in:
Alberto Villa 2011-06-29 22:42:40 +00:00
parent 5783a95ad7
commit 3bb3b98b9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276695

View file

@ -0,0 +1,13 @@
--- ./src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp.orig 2011-06-30 00:17:41.495446920 +0200
+++ ./src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp 2011-06-30 00:19:46.885439368 +0200
@@ -2493,8 +2493,10 @@
vPC += OPCODE_LENGTH(op_get_by_pname);
NEXT_INSTRUCTION();
}
+ {
Identifier propertyName(callFrame, subscript.toString(callFrame));
result = baseValue.get(callFrame, propertyName);
+ }
CHECK_FOR_EXCEPTION();
callFrame->r(dst) = result;
vPC += OPCODE_LENGTH(op_get_by_pname);