From 2fd6e380cac41ed2821ebefdecd4a08b4b3df4cc Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 17 Sep 2014 13:18:50 +0000 Subject: [PATCH] Fix compile error introduced in 24002. TBR=mvstanton@chromium.org Review URL: https://codereview.chromium.org/547293003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24003 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/serialize.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialize.cc b/src/serialize.cc index 9447fc82d9..dce62fe6db 100644 --- a/src/serialize.cc +++ b/src/serialize.cc @@ -1920,7 +1920,7 @@ void CodeSerializer::SerializeCodeStub(Code* code, HowToCode how_to_code, (how_to_code == kFromCode && where_to_point == kInnerPointer)); uint32_t stub_key = code->stub_key(); - if (CodeStub::MajorKeyFromKey(stub_key) == CodeStub::NoCacheKey()) { + if (stub_key == CodeStub::NoCacheKey()) { if (FLAG_trace_code_serializer) { PrintF("Encoding uncacheable code stub as heap object\n"); }