| 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 | 5 |
| 6 // Defined when linking against shared lib on Windows. | 6 // Defined when linking against shared lib on Windows. |
| 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) | 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) |
| 8 #define V8_SHARED | 8 #define V8_SHARED |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 UNREACHABLE(); | 130 UNREACHABLE(); |
| 131 } | 131 } |
| 132 | 132 |
| 133 bool IdleTasksEnabled(v8::Isolate* isolate) override { return false; } | 133 bool IdleTasksEnabled(v8::Isolate* isolate) override { return false; } |
| 134 | 134 |
| 135 double MonotonicallyIncreasingTime() override { | 135 double MonotonicallyIncreasingTime() override { |
| 136 return synthetic_time_in_sec_ += 0.00001; | 136 return synthetic_time_in_sec_ += 0.00001; |
| 137 } | 137 } |
| 138 | 138 |
| 139 uint64_t AddTraceEvent(char phase, const uint8_t* categoryEnabledFlag, | 139 uint64_t AddTraceEvent(char phase, const uint8_t* categoryEnabledFlag, |
| 140 const char* name, uint64_t id, uint64_t bind_id, | 140 const char* name, const char* scope, uint64_t id, |
| 141 int numArgs, const char** argNames, | 141 uint64_t bind_id, int numArgs, const char** argNames, |
| 142 const uint8_t* argTypes, const uint64_t* argValues, | 142 const uint8_t* argTypes, const uint64_t* argValues, |
| 143 unsigned int flags) override { | 143 unsigned int flags) override { |
| 144 return 0; | 144 return 0; |
| 145 } | 145 } |
| 146 | 146 |
| 147 void UpdateTraceEventDuration(const uint8_t* categoryEnabledFlag, | 147 void UpdateTraceEventDuration(const uint8_t* categoryEnabledFlag, |
| 148 const char* name, uint64_t handle) override {} | 148 const char* name, uint64_t handle) override {} |
| 149 | 149 |
| 150 const uint8_t* GetCategoryGroupEnabled(const char* name) override { | 150 const uint8_t* GetCategoryGroupEnabled(const char* name) override { |
| 151 static uint8_t no = 0; | 151 static uint8_t no = 0; |
| (...skipping 2411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2563 } | 2563 } |
| 2564 | 2564 |
| 2565 } // namespace v8 | 2565 } // namespace v8 |
| 2566 | 2566 |
| 2567 | 2567 |
| 2568 #ifndef GOOGLE3 | 2568 #ifndef GOOGLE3 |
| 2569 int main(int argc, char* argv[]) { | 2569 int main(int argc, char* argv[]) { |
| 2570 return v8::Shell::Main(argc, argv); | 2570 return v8::Shell::Main(argc, argv); |
| 2571 } | 2571 } |
| 2572 #endif | 2572 #endif |
| OLD | NEW |