From feac1ff9dd1102c05591da383879e92ab80788c8 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Wed, 23 Mar 2011 12:07:23 +0000 Subject: [PATCH] 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 --- test/cctest/test-serialize.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.7.4