Reviewers: titzer,
Description:
Make Clang 3.0 happy about static cast in DoGenerateCode.
[email protected]
Please review this at https://codereview.chromium.org/453973002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -2 lines):
M src/code-stubs-hydrogen.cc
Index: src/code-stubs-hydrogen.cc
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
index
775916adc52b7c28250c2c2eae085b134d6dc3a3..027517a835ce9b40b71a2b84362b19bcfa2669c9
100644
--- a/src/code-stubs-hydrogen.cc
+++ b/src/code-stubs-hydrogen.cc
@@ -251,8 +251,7 @@ Handle<Code>
HydrogenCodeStub::GenerateLightweightMissCode() {
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.