| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/api.h" | 7 #include "src/api.h" |
| 8 #include "src/arguments.h" | 8 #include "src/arguments.h" |
| 9 #include "src/ast.h" | 9 #include "src/ast.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 | 1000 |
| 1001 GenerateRestoreName(&miss, name); | 1001 GenerateRestoreName(&miss, name); |
| 1002 TailCallBuiltin(masm(), MissBuiltin(kind())); | 1002 TailCallBuiltin(masm(), MissBuiltin(kind())); |
| 1003 | 1003 |
| 1004 GenerateRestoreName(&slow, name); | 1004 GenerateRestoreName(&slow, name); |
| 1005 TailCallBuiltin(masm(), SlowBuiltin(kind())); | 1005 TailCallBuiltin(masm(), SlowBuiltin(kind())); |
| 1006 return GetCode(kind(), Code::FAST, name); | 1006 return GetCode(kind(), Code::FAST, name); |
| 1007 } | 1007 } |
| 1008 | 1008 |
| 1009 | 1009 |
| 1010 Handle<Code> NamedStoreHandlerCompiler::CompileStoreField(LookupResult* lookup, | 1010 Handle<Code> NamedStoreHandlerCompiler::CompileStoreField( |
| 1011 Handle<Name> name) { | 1011 LookupIterator* lookup, Handle<Name> name) { |
| 1012 Label miss; | 1012 Label miss; |
| 1013 GenerateStoreField(lookup, value(), &miss); | 1013 GenerateStoreField(lookup, value(), &miss); |
| 1014 __ bind(&miss); | 1014 __ bind(&miss); |
| 1015 TailCallBuiltin(masm(), MissBuiltin(kind())); | 1015 TailCallBuiltin(masm(), MissBuiltin(kind())); |
| 1016 return GetCode(kind(), Code::FAST, name); | 1016 return GetCode(kind(), Code::FAST, name); |
| 1017 } | 1017 } |
| 1018 | 1018 |
| 1019 | 1019 |
| 1020 Handle<Code> NamedStoreHandlerCompiler::CompileStoreViaSetter( | 1020 Handle<Code> NamedStoreHandlerCompiler::CompileStoreViaSetter( |
| 1021 Handle<JSObject> object, Handle<Name> name, Handle<JSFunction> setter) { | 1021 Handle<JSObject> object, Handle<Name> name, Handle<JSFunction> setter) { |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1287 Handle<FunctionTemplateInfo>( | 1287 Handle<FunctionTemplateInfo>( |
| 1288 FunctionTemplateInfo::cast(signature->receiver())); | 1288 FunctionTemplateInfo::cast(signature->receiver())); |
| 1289 } | 1289 } |
| 1290 } | 1290 } |
| 1291 | 1291 |
| 1292 is_simple_api_call_ = true; | 1292 is_simple_api_call_ = true; |
| 1293 } | 1293 } |
| 1294 | 1294 |
| 1295 | 1295 |
| 1296 } } // namespace v8::internal | 1296 } } // namespace v8::internal |
| OLD | NEW |