diff options
Diffstat (limited to 'src/3rdparty/v8/src/stub-cache.cc')
-rw-r--r-- | src/3rdparty/v8/src/stub-cache.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/3rdparty/v8/src/stub-cache.cc b/src/3rdparty/v8/src/stub-cache.cc index 3885462..3796d2d 100644 --- a/src/3rdparty/v8/src/stub-cache.cc +++ b/src/3rdparty/v8/src/stub-cache.cc @@ -1477,6 +1477,7 @@ Handle<Code> CallStubCompiler::CompileCustomCall( #undef CALL_GENERATOR_CASE } CallOptimization optimization(function); +#ifndef _WIN32_WCE ASSERT(optimization.is_simple_api_call()); return CompileFastApiCall(optimization, object, @@ -1484,6 +1485,10 @@ Handle<Code> CallStubCompiler::CompileCustomCall( cell, function, fname); +#else + // Disable optimization for wince as the calling convention looks different. + return Handle<Code>::null(); +#endif // _WIN32_WCE } |