| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/code-factory.h" | 5 #include "src/code-factory.h" |
| 6 | 6 |
| 7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "src/ic/ic.h" | 8 #include "src/ic/ic.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 TFS_BUILTIN(Equal) | 247 TFS_BUILTIN(Equal) |
| 248 TFS_BUILTIN(NotEqual) | 248 TFS_BUILTIN(NotEqual) |
| 249 TFS_BUILTIN(StrictEqual) | 249 TFS_BUILTIN(StrictEqual) |
| 250 TFS_BUILTIN(StrictNotEqual) | 250 TFS_BUILTIN(StrictNotEqual) |
| 251 TFS_BUILTIN(HasProperty) | 251 TFS_BUILTIN(HasProperty) |
| 252 TFS_BUILTIN(ToInteger) | 252 TFS_BUILTIN(ToInteger) |
| 253 TFS_BUILTIN(ToLength) | 253 TFS_BUILTIN(ToLength) |
| 254 TFS_BUILTIN(ToObject) | 254 TFS_BUILTIN(ToObject) |
| 255 TFS_BUILTIN(Typeof) | 255 TFS_BUILTIN(Typeof) |
| 256 TFS_BUILTIN(InstanceOf) | 256 TFS_BUILTIN(InstanceOf) |
| 257 TFS_BUILTIN(OrdinaryHasInstance) |
| 257 TFS_BUILTIN(ForInFilter) | 258 TFS_BUILTIN(ForInFilter) |
| 258 | 259 |
| 260 #undef TFS_BUILTIN |
| 261 |
| 259 // static | 262 // static |
| 260 Callable CodeFactory::Inc(Isolate* isolate) { | 263 Callable CodeFactory::Inc(Isolate* isolate) { |
| 261 IncStub stub(isolate); | 264 IncStub stub(isolate); |
| 262 return make_callable(stub); | 265 return make_callable(stub); |
| 263 } | 266 } |
| 264 | 267 |
| 265 // static | 268 // static |
| 266 Callable CodeFactory::Dec(Isolate* isolate) { | 269 Callable CodeFactory::Dec(Isolate* isolate) { |
| 267 DecStub stub(isolate); | 270 DecStub stub(isolate); |
| 268 return make_callable(stub); | 271 return make_callable(stub); |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 } | 504 } |
| 502 | 505 |
| 503 // static | 506 // static |
| 504 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { | 507 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { |
| 505 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), | 508 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), |
| 506 ContextOnlyDescriptor(isolate)); | 509 ContextOnlyDescriptor(isolate)); |
| 507 } | 510 } |
| 508 | 511 |
| 509 } // namespace internal | 512 } // namespace internal |
| 510 } // namespace v8 | 513 } // namespace v8 |
| OLD | NEW |