Revision: 22998
Author: [email protected]
Date: Fri Aug 8 13:33:28 2014 UTC
Log: Make Clang 3.0 happy about static cast in DoGenerateCode.
[email protected]
Review URL: https://codereview.chromium.org/453973002
http://code.google.com/p/v8/source/detail?r=22998
Modified:
/branches/bleeding_edge/src/code-stubs-hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/code-stubs-hydrogen.cc Fri Aug 8 12:41:57
2014 UTC
+++ /branches/bleeding_edge/src/code-stubs-hydrogen.cc Fri Aug 8 13:33:28
2014 UTC
@@ -251,8 +251,7 @@
template <class Stub>
static Handle<Code> DoGenerateCode(Stub* stub) {
Isolate* isolate = stub->isolate();
- CodeStub::Major major_key =
- static_cast<HydrogenCodeStub*>(stub)->MajorKey();
+ CodeStub::Major major_key = static_cast<CodeStub*>(stub)->MajorKey();
CodeStubInterfaceDescriptor* descriptor =
isolate->code_stub_interface_descriptor(major_key);
if (!descriptor->IsInitialized()) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.