OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 __ popfq(); | 133 __ popfq(); |
134 __ pop(rbp); | 134 __ pop(rbp); |
135 __ ret(0); | 135 __ ret(0); |
136 #undef __ | 136 #undef __ |
137 | 137 |
138 CodeDesc desc; | 138 CodeDesc desc; |
139 assm.GetCode(&desc); | 139 assm.GetCode(&desc); |
140 Object* code = | 140 Object* code = |
141 Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB), NULL); | 141 Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB), NULL); |
142 if (!code->IsCode()) return; | 142 if (!code->IsCode()) return; |
143 LOG(CodeCreateEvent("Builtin", Code::cast(code), "CpuFeatures::Probe")); | 143 LOG(CodeCreateEvent(Logger::BUILTIN_TAG, |
| 144 Code::cast(code), "CpuFeatures::Probe")); |
144 typedef uint64_t (*F0)(); | 145 typedef uint64_t (*F0)(); |
145 F0 probe = FUNCTION_CAST<F0>(Code::cast(code)->entry()); | 146 F0 probe = FUNCTION_CAST<F0>(Code::cast(code)->entry()); |
146 supported_ = probe(); | 147 supported_ = probe(); |
147 } | 148 } |
148 | 149 |
149 // ----------------------------------------------------------------------------- | 150 // ----------------------------------------------------------------------------- |
150 // Implementation of Assembler | 151 // Implementation of Assembler |
151 | 152 |
152 #ifdef GENERATED_CODE_COVERAGE | 153 #ifdef GENERATED_CODE_COVERAGE |
153 static void InitCoverageLog(); | 154 static void InitCoverageLog(); |
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 UNIMPLEMENTED(); | 1539 UNIMPLEMENTED(); |
1539 return NULL; | 1540 return NULL; |
1540 } | 1541 } |
1541 | 1542 |
1542 byte* JavaScriptFrame::GetCallerStackPointer() const { | 1543 byte* JavaScriptFrame::GetCallerStackPointer() const { |
1543 UNIMPLEMENTED(); | 1544 UNIMPLEMENTED(); |
1544 return NULL; | 1545 return NULL; |
1545 } | 1546 } |
1546 | 1547 |
1547 } } // namespace v8::internal | 1548 } } // namespace v8::internal |
OLD | NEW |