| 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 "parser.h" | 33 #include "parser.h" |
| 34 #include "register-allocator-inl.h" | 34 #include "register-allocator-inl.h" |
| 35 #include "runtime.h" | 35 #include "runtime.h" |
| 36 #include "scopes.h" | 36 #include "scopes.h" |
| 37 | 37 |
| 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 // ------------------------------------------------------------------------- | 45 // ------------------------------------------------------------------------- |
| 45 // CodeGenState implementation. | 46 // CodeGenState implementation. |
| 46 | 47 |
| 47 CodeGenState::CodeGenState(CodeGenerator* owner) | 48 CodeGenState::CodeGenState(CodeGenerator* owner) |
| 48 : owner_(owner), | 49 : owner_(owner), |
| 49 typeof_state_(NOT_INSIDE_TYPEOF), | 50 typeof_state_(NOT_INSIDE_TYPEOF), |
| (...skipping 5130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5180 __ mov(r2, Operand(0)); | 5181 __ mov(r2, Operand(0)); |
| 5181 __ GetBuiltinEntry(r3, Builtins::CALL_NON_FUNCTION); | 5182 __ GetBuiltinEntry(r3, Builtins::CALL_NON_FUNCTION); |
| 5182 __ Jump(Handle<Code>(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline)), | 5183 __ Jump(Handle<Code>(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline)), |
| 5183 RelocInfo::CODE_TARGET); | 5184 RelocInfo::CODE_TARGET); |
| 5184 } | 5185 } |
| 5185 | 5186 |
| 5186 | 5187 |
| 5187 #undef __ | 5188 #undef __ |
| 5188 | 5189 |
| 5189 } } // namespace v8::internal | 5190 } } // namespace v8::internal |
| OLD | NEW |