Fix for an obscure ARM GCC bug
Removing 2 "static" modifiers which didn't really serve a purpose did the trick... Review URL: https://chromiumcodereview.appspot.com/9264033 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10553 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d466fbd312
commit
96b590d95e
@ -612,7 +612,7 @@ TEST(ObjectProperties) {
|
||||
CHECK(!obj->HasLocalProperty(*second));
|
||||
|
||||
// check string and symbol match
|
||||
static const char* string1 = "fisk";
|
||||
const char* string1 = "fisk";
|
||||
Handle<String> s1 = FACTORY->NewStringFromAscii(CStrVector(string1));
|
||||
obj->SetProperty(
|
||||
*s1, Smi::FromInt(1), NONE, kNonStrictMode)->ToObjectChecked();
|
||||
@ -620,7 +620,7 @@ TEST(ObjectProperties) {
|
||||
CHECK(obj->HasLocalProperty(*s1_symbol));
|
||||
|
||||
// check symbol and string match
|
||||
static const char* string2 = "fugl";
|
||||
const char* string2 = "fugl";
|
||||
Handle<String> s2_symbol = FACTORY->LookupAsciiSymbol(string2);
|
||||
obj->SetProperty(
|
||||
*s2_symbol, Smi::FromInt(1), NONE, kNonStrictMode)->ToObjectChecked();
|
||||
|
Loading…
Reference in New Issue
Block a user