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

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

Issue 1041743002: Serializer: move to a subfolder and clean up includes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removed OWNERS Created 5 years, 8 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
« no previous file with comments | « src/x87/macro-assembler-x87.cc ('k') | test/cctest/test-api-interceptors.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 27 matching lines...) Expand all
38 38
39 #include "include/v8-util.h" 39 #include "include/v8-util.h"
40 #include "src/api.h" 40 #include "src/api.h"
41 #include "src/arguments.h" 41 #include "src/arguments.h"
42 #include "src/base/platform/platform.h" 42 #include "src/base/platform/platform.h"
43 #include "src/compilation-cache.h" 43 #include "src/compilation-cache.h"
44 #include "src/execution.h" 44 #include "src/execution.h"
45 #include "src/objects.h" 45 #include "src/objects.h"
46 #include "src/parser.h" 46 #include "src/parser.h"
47 #include "src/smart-pointers.h" 47 #include "src/smart-pointers.h"
48 #include "src/snapshot.h"
49 #include "src/unicode-inl.h" 48 #include "src/unicode-inl.h"
50 #include "src/utils.h" 49 #include "src/utils.h"
51 #include "src/vm-state.h" 50 #include "src/vm-state.h"
52 51
53 static const bool kLogThreading = false; 52 static const bool kLogThreading = false;
54 53
55 using ::v8::Boolean; 54 using ::v8::Boolean;
56 using ::v8::BooleanObject; 55 using ::v8::BooleanObject;
57 using ::v8::Context; 56 using ::v8::Context;
58 using ::v8::Extension; 57 using ::v8::Extension;
(...skipping 21811 matching lines...) Expand 10 before | Expand all | Expand 10 after
21870 } 21869 }
21871 { 21870 {
21872 v8::TryCatch try_catch; 21871 v8::TryCatch try_catch;
21873 uint16_t* data = reinterpret_cast<uint16_t*>(buffer); 21872 uint16_t* data = reinterpret_cast<uint16_t*>(buffer);
21874 CHECK(v8::String::NewFromTwoByte(isolate, data, v8::String::kNormalString, 21873 CHECK(v8::String::NewFromTwoByte(isolate, data, v8::String::kNormalString,
21875 length).IsEmpty()); 21874 length).IsEmpty());
21876 CHECK(!try_catch.HasCaught()); 21875 CHECK(!try_catch.HasCaught());
21877 } 21876 }
21878 free(buffer); 21877 free(buffer);
21879 } 21878 }
OLDNEW
« no previous file with comments | « src/x87/macro-assembler-x87.cc ('k') | test/cctest/test-api-interceptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698