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

Side by Side Diff: test/cctest/test-platform.cc

Issue 670673002: Remove v8stdint.h, it doesn't serve a purpose anymore. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed Windows builds Created 6 years, 2 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
« no previous file with comments | « src/token.cc ('k') | test/unittests/base/division-by-constant-unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #include "include/v8stdint.h" 5 #include <stdint.h>
6 #include "src/base/build_config.h" 6 #include "src/base/build_config.h"
7 #include "src/base/platform/platform.h" 7 #include "src/base/platform/platform.h"
8 #include "test/cctest/cctest.h" 8 #include "test/cctest/cctest.h"
9 9
10 #ifdef V8_CC_GNU 10 #ifdef V8_CC_GNU
11 11
12 static uintptr_t sp_addr = 0; 12 static uintptr_t sp_addr = 0;
13 13
14 void GetStackPointer(const v8::FunctionCallbackInfo<v8::Value>& args) { 14 void GetStackPointer(const v8::FunctionCallbackInfo<v8::Value>& args) {
15 #if V8_HOST_ARCH_X64 15 #if V8_HOST_ARCH_X64
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 v8::Local<v8::Object> global_object = env->Global(); 50 v8::Local<v8::Object> global_object = env->Global();
51 v8::Local<v8::Function> foo = 51 v8::Local<v8::Function> foo =
52 v8::Local<v8::Function>::Cast(global_object->Get(v8_str("foo"))); 52 v8::Local<v8::Function>::Cast(global_object->Get(v8_str("foo")));
53 53
54 v8::Local<v8::Value> result = foo->Call(global_object, 0, NULL); 54 v8::Local<v8::Value> result = foo->Call(global_object, 0, NULL);
55 CHECK_EQ(0, result->Uint32Value() % v8::base::OS::ActivationFrameAlignment()); 55 CHECK_EQ(0, result->Uint32Value() % v8::base::OS::ActivationFrameAlignment());
56 } 56 }
57 57
58 #endif // V8_CC_GNU 58 #endif // V8_CC_GNU
OLDNEW
« no previous file with comments | « src/token.cc ('k') | test/unittests/base/division-by-constant-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698