Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: src/factory.cc

Issue 2607993003: FFI Compiler based on code stub assembler (Closed)
Patch Set: Introduce FFIAssembler class Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/contexts.h ('k') | src/ffi/OWNERS » ('j') | src/ffi/ffi-compiler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index b7ed46f7ff19c32d911776b7d4a53e167cf43573..18c2976ea9ab81e9030246e54d59152d8012b52d 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1384,6 +1384,7 @@ Handle<JSFunction> Factory::NewFunction(Handle<Map> map,
map.is_identical_to(isolate()->strict_function_without_prototype_map()) ||
// TODO(titzer): wasm_function_map() could be undefined here. ugly.
(*map == context->get(Context::WASM_FUNCTION_MAP_INDEX)) ||
+ (*map == context->get(Context::NATIVE_FUNCTION_MAP_INDEX)) ||
map.is_identical_to(isolate()->proxy_function_map()));
return NewFunction(map, info, context);
}
« no previous file with comments | « src/contexts.h ('k') | src/ffi/OWNERS » ('j') | src/ffi/ffi-compiler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698