Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Side by Side Diff: src/v8.cc

Issue 549079: Support for MIPS in architecture independent files.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 17 matching lines...) Expand all
28 #include "v8.h" 28 #include "v8.h"
29 29
30 #include "bootstrapper.h" 30 #include "bootstrapper.h"
31 #include "debug.h" 31 #include "debug.h"
32 #include "serialize.h" 32 #include "serialize.h"
33 #include "stub-cache.h" 33 #include "stub-cache.h"
34 #include "oprofile-agent.h" 34 #include "oprofile-agent.h"
35 35
36 #if V8_TARGET_ARCH_ARM 36 #if V8_TARGET_ARCH_ARM
37 #include "arm/simulator-arm.h" 37 #include "arm/simulator-arm.h"
38 #elif V8_TARGET_ARCH_MIPS
39 #include "mips/simulator-mips.h"
38 #endif 40 #endif
39 41
40 namespace v8 { 42 namespace v8 {
41 namespace internal { 43 namespace internal {
42 44
43 bool V8::is_running_ = false; 45 bool V8::is_running_ = false;
44 bool V8::has_been_setup_ = false; 46 bool V8::has_been_setup_ = false;
45 bool V8::has_been_disposed_ = false; 47 bool V8::has_been_disposed_ = false;
46 bool V8::has_fatal_error_ = false; 48 bool V8::has_fatal_error_ = false;
47 49
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 184
183 Smi* V8::RandomPositiveSmi() { 185 Smi* V8::RandomPositiveSmi() {
184 uint32_t random = Random(); 186 uint32_t random = Random();
185 ASSERT(static_cast<uint32_t>(Smi::kMaxValue) >= kRandomPositiveSmiMax); 187 ASSERT(static_cast<uint32_t>(Smi::kMaxValue) >= kRandomPositiveSmiMax);
186 // kRandomPositiveSmiMax must match the value being divided 188 // kRandomPositiveSmiMax must match the value being divided
187 // by in math.js. 189 // by in math.js.
188 return Smi::FromInt(random & kRandomPositiveSmiMax); 190 return Smi::FromInt(random & kRandomPositiveSmiMax);
189 } 191 }
190 192
191 } } // namespace v8::internal 193 } } // namespace v8::internal
OLDNEW
« src/platform-linux.cc ('K') | « src/spaces-inl.h ('k') | src/virtual-frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698