From: ager@chromium.org Date: Wed, 23 Mar 2011 12:07:23 +0000 (+0000) Subject: Fix COUNTERS use in test-serialize. X-Git-Tag: upstream/4.7.83~19834 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=feac1ff9dd1102c05591da383879e92ab80788c8;p=platform%2Fupstream%2Fv8.git Fix COUNTERS use in test-serialize. Review URL: http://codereview.chromium.org/6705023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7326 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc index ff01985..31a1b9b 100644 --- a/test/cctest/test-serialize.cc +++ b/test/cctest/test-serialize.cc @@ -111,7 +111,7 @@ TEST(ExternalReferenceEncoder) { CHECK_EQ(make_code(IC_UTILITY, IC::kLoadCallbackProperty), Encode(encoder, IC_Utility(IC::kLoadCallbackProperty))); ExternalReference keyed_load_function_prototype = - ExternalReference(COUNTERS->keyed_load_function_prototype()); + ExternalReference(isolate->counters()->keyed_load_function_prototype()); CHECK_EQ(make_code(STATS_COUNTER, Counters::k_keyed_load_function_prototype), encoder.Encode(keyed_load_function_prototype.address())); ExternalReference the_hole_value_location = @@ -152,7 +152,7 @@ TEST(ExternalReferenceDecoder) { CHECK_EQ(AddressOf(IC_Utility(IC::kLoadCallbackProperty)), decoder.Decode(make_code(IC_UTILITY, IC::kLoadCallbackProperty))); ExternalReference keyed_load_function = - ExternalReference(COUNTERS->keyed_load_function_prototype()); + ExternalReference(isolate->counters()->keyed_load_function_prototype()); CHECK_EQ(keyed_load_function.address(), decoder.Decode( make_code(STATS_COUNTER,