From: ager@chromium.org Date: Wed, 16 Feb 2011 13:56:23 +0000 (+0000) Subject: Attempt to disambiguate RUNTIME_FUNCTION for win64 build in serialization tests. X-Git-Tag: upstream/4.7.83~20184 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec841bb97d079e5d7e9b312479cbe6cdfaa9dac8;p=platform%2Fupstream%2Fv8.git Attempt to disambiguate RUNTIME_FUNCTION for win64 build in serialization tests. BUG= TEST= Review URL: http://codereview.chromium.org/6526049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6821 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc index 1cbaf2b..80910c2 100644 --- a/test/cctest/test-serialize.cc +++ b/test/cctest/test-serialize.cc @@ -104,7 +104,7 @@ TEST(ExternalReferenceEncoder) { ExternalReferenceEncoder encoder; CHECK_EQ(make_code(BUILTIN, Builtins::ArrayCode), Encode(encoder, Builtins::ArrayCode)); - CHECK_EQ(make_code(RUNTIME_FUNCTION, Runtime::kAbort), + CHECK_EQ(make_code(v8::internal::RUNTIME_FUNCTION, Runtime::kAbort), Encode(encoder, Runtime::kAbort)); CHECK_EQ(make_code(IC_UTILITY, IC::kLoadCallbackProperty), Encode(encoder, IC_Utility(IC::kLoadCallbackProperty))); @@ -142,7 +142,8 @@ TEST(ExternalReferenceDecoder) { CHECK_EQ(AddressOf(Builtins::ArrayCode), decoder.Decode(make_code(BUILTIN, Builtins::ArrayCode))); CHECK_EQ(AddressOf(Runtime::kAbort), - decoder.Decode(make_code(RUNTIME_FUNCTION, Runtime::kAbort))); + decoder.Decode(make_code(v8::internal::RUNTIME_FUNCTION, + Runtime::kAbort))); CHECK_EQ(AddressOf(IC_Utility(IC::kLoadCallbackProperty)), decoder.Decode(make_code(IC_UTILITY, IC::kLoadCallbackProperty))); ExternalReference keyed_load_function =