Index: src/code-factory.h |
diff --git a/src/code-factory.h b/src/code-factory.h |
index e26fc092fa6e647ce59faf70cd2c86a534b70e23..2414ff966c850b10d911c7cb7cb3fb9bb8692b3e 100644 |
--- a/src/code-factory.h |
+++ b/src/code-factory.h |
@@ -32,12 +32,16 @@ class Callable final BASE_EMBEDDED { |
class CodeFactory final { |
public: |
// Initial states for ICs. |
- static Callable LoadIC(Isolate* isolate, ContextualMode mode); |
+ static Callable LoadIC(Isolate* isolate, ContextualMode mode, |
+ LanguageMode language_mode); |
static Callable LoadICInOptimizedCode(Isolate* isolate, ContextualMode mode, |
- InlineCacheState initialization_state); |
- static Callable KeyedLoadIC(Isolate* isolate); |
+ InlineCacheState initialization_state, |
+ LanguageMode language_mode = SLOPPY); |
+ static Callable KeyedLoadIC(Isolate* isolate, |
+ LanguageMode language_mode = SLOPPY); |
static Callable KeyedLoadICInOptimizedCode( |
- Isolate* isolate, InlineCacheState initialization_state); |
+ Isolate* isolate, InlineCacheState initialization_state, |
+ LanguageMode language_mode); |
Michael Starzinger
2015/06/09 10:56:11
nit: I think the language mode should be the secon
conradw
2015/06/09 11:20:30
Done.
|
static Callable CallIC(Isolate* isolate, int argc, |
CallICState::CallType call_type); |
static Callable CallICInOptimizedCode(Isolate* isolate, int argc, |