| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "bootstrapper.h" | 30 #include "bootstrapper.h" |
| 31 #include "codegen-inl.h" | 31 #include "codegen-inl.h" |
| 32 #include "debug.h" | 32 #include "debug.h" |
| 33 #include "ic-inl.h" | 33 #include "ic-inl.h" |
| 34 #include "parser.h" | 34 #include "parser.h" |
| 35 #include "register-allocator-inl.h" | 35 #include "register-allocator-inl.h" |
| 36 #include "runtime.h" | 36 #include "runtime.h" |
| 37 #include "scopes.h" | 37 #include "scopes.h" |
| 38 | 38 |
| 39 namespace v8 { namespace internal { | 39 namespace v8 { |
| 40 namespace internal { |
| 40 | 41 |
| 41 #define __ ACCESS_MASM(masm_) | 42 #define __ ACCESS_MASM(masm_) |
| 42 | 43 |
| 43 // ------------------------------------------------------------------------- | 44 // ------------------------------------------------------------------------- |
| 44 // CodeGenState implementation. | 45 // CodeGenState implementation. |
| 45 | 46 |
| 46 CodeGenState::CodeGenState(CodeGenerator* owner) | 47 CodeGenState::CodeGenState(CodeGenerator* owner) |
| 47 : owner_(owner), | 48 : owner_(owner), |
| 48 typeof_state_(NOT_INSIDE_TYPEOF), | 49 typeof_state_(NOT_INSIDE_TYPEOF), |
| 49 destination_(NULL), | 50 destination_(NULL), |
| (...skipping 7218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7268 | 7269 |
| 7269 // Slow-case: Go through the JavaScript implementation. | 7270 // Slow-case: Go through the JavaScript implementation. |
| 7270 __ bind(&slow); | 7271 __ bind(&slow); |
| 7271 __ InvokeBuiltin(Builtins::INSTANCE_OF, JUMP_FUNCTION); | 7272 __ InvokeBuiltin(Builtins::INSTANCE_OF, JUMP_FUNCTION); |
| 7272 } | 7273 } |
| 7273 | 7274 |
| 7274 | 7275 |
| 7275 #undef __ | 7276 #undef __ |
| 7276 | 7277 |
| 7277 } } // namespace v8::internal | 7278 } } // namespace v8::internal |
| OLD | NEW |